diff --git a/docs/API_docs/constructors/accountDaysTTL.md b/docs/API_docs/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/docs/API_docs/constructors/accountDaysTTL.md +++ b/docs/API_docs/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md index 1193f79f..879a2675 100644 --- a/docs/API_docs/constructors/account_authorizations.md +++ b/docs/API_docs/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/docs/API_docs/constructors/account_noPassword.md +++ b/docs/API_docs/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md index 82c70291..3643863a 100644 --- a/docs/API_docs/constructors/account_password.md +++ b/docs/API_docs/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md index c6069bb7..390bbddf 100644 --- a/docs/API_docs/constructors/account_passwordInputSettings.md +++ b/docs/API_docs/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/docs/API_docs/constructors/account_passwordSettings.md +++ b/docs/API_docs/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +account_passwordSettings={_='account.passwordSettings', email='string'} ``` diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md index 204d1644..3e53cc01 100644 --- a/docs/API_docs/constructors/account_privacyRules.md +++ b/docs/API_docs/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} ``` diff --git a/docs/API_docs/constructors/account_tmpPassword.md b/docs/API_docs/constructors/account_tmpPassword.md index 51739691..8e164842 100644 --- a/docs/API_docs/constructors/account_tmpPassword.md +++ b/docs/API_docs/constructors/account_tmpPassword.md @@ -22,13 +22,13 @@ description: account_tmpPassword attributes, type and example ### Example: ``` -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; +$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +{"_": "account.tmpPassword", "tmp_password": "bytes", "valid_until": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_tmpPassword={_='account.tmpPassword', tmp_password=bytes, valid_until=int, } +account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} ``` diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md index b59d5d96..dacdc97c 100644 --- a/docs/API_docs/constructors/auth_authorization.md +++ b/docs/API_docs/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/docs/API_docs/constructors/auth_checkedPhone.md +++ b/docs/API_docs/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/docs/API_docs/constructors/auth_codeTypeCall.md +++ b/docs/API_docs/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md index c535eccf..918580f1 100644 --- a/docs/API_docs/constructors/auth_codeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md index cbeb31cb..62f00c11 100644 --- a/docs/API_docs/constructors/auth_codeTypeSms.md +++ b/docs/API_docs/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md index 4c5aede6..8a9c7ef0 100644 --- a/docs/API_docs/constructors/auth_exportedAuthorization.md +++ b/docs/API_docs/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/docs/API_docs/constructors/auth_passwordRecovery.md +++ b/docs/API_docs/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/docs/API_docs/constructors/auth_sentCode.md +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeApp.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeSms.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} ``` diff --git a/docs/API_docs/constructors/authorization.md b/docs/API_docs/constructors/authorization.md index 27c3bcd9..dd7c0096 100644 --- a/docs/API_docs/constructors/authorization.md +++ b/docs/API_docs/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/docs/API_docs/constructors/bad_msg_notification.md b/docs/API_docs/constructors/bad_msg_notification.md index 1273c1b5..84b199cf 100644 --- a/docs/API_docs/constructors/bad_msg_notification.md +++ b/docs/API_docs/constructors/bad_msg_notification.md @@ -23,13 +23,13 @@ description: bad_msg_notification attributes, type and example ### Example: ``` -$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ]; +$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +{"_": "bad_msg_notification", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int, } +bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/docs/API_docs/constructors/bad_server_salt.md b/docs/API_docs/constructors/bad_server_salt.md index 8eca3a7d..dcf8d611 100644 --- a/docs/API_docs/constructors/bad_server_salt.md +++ b/docs/API_docs/constructors/bad_server_salt.md @@ -24,13 +24,13 @@ description: bad_server_salt attributes, type and example ### Example: ``` -$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ]; +$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long, } +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/API_docs/constructors/botCommand.md b/docs/API_docs/constructors/botCommand.md index cfcd9550..d272dfea 100644 --- a/docs/API_docs/constructors/botCommand.md +++ b/docs/API_docs/constructors/botCommand.md @@ -24,13 +24,13 @@ Represents command supported by bot ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +botCommand={_='botCommand', command='string', description='string'} ``` diff --git a/docs/API_docs/constructors/botInfo.md b/docs/API_docs/constructors/botInfo.md index baaf28fd..b0671944 100644 --- a/docs/API_docs/constructors/botInfo.md +++ b/docs/API_docs/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/docs/API_docs/constructors/botInlineMediaResult.md +++ b/docs/API_docs/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaAuto.md b/docs/API_docs/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaContact.md b/docs/API_docs/constructors/botInlineMessageMediaContact.md index 5e57bf4f..4ad5d55f 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaGeo.md b/docs/API_docs/constructors/botInlineMessageMediaGeo.md index 04a4abed..3757bc72 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaVenue.md b/docs/API_docs/constructors/botInlineMessageMediaVenue.md index 6c08ee05..74096c62 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/docs/API_docs/constructors/botInlineMessageText.md +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/botInlineResult.md b/docs/API_docs/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/docs/API_docs/constructors/botInlineResult.md +++ b/docs/API_docs/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/docs/API_docs/constructors/cdnConfig.md b/docs/API_docs/constructors/cdnConfig.md index e1cf767d..b53375af 100644 --- a/docs/API_docs/constructors/cdnConfig.md +++ b/docs/API_docs/constructors/cdnConfig.md @@ -21,13 +21,13 @@ description: cdnConfig attributes, type and example ### Example: ``` -$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ]; +$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"cdnConfig","public_keys":["CdnPublicKey"]} +{"_": "cdnConfig", "public_keys": [CdnPublicKey]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}, } +cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/docs/API_docs/constructors/cdnPublicKey.md b/docs/API_docs/constructors/cdnPublicKey.md index 4cbc1de9..dfd91b7a 100644 --- a/docs/API_docs/constructors/cdnPublicKey.md +++ b/docs/API_docs/constructors/cdnPublicKey.md @@ -22,13 +22,13 @@ description: cdnPublicKey attributes, type and example ### Example: ``` -$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => string, ]; +$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"cdnPublicKey","dc_id":"int","public_key":"string"} +{"_": "cdnPublicKey", "dc_id": int, "public_key": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key=string, } +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 d1de6024..d47fad5c 100644 --- a/docs/API_docs/constructors/channel.md +++ b/docs/API_docs/constructors/channel.md @@ -39,13 +39,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -53,7 +53,7 @@ Or, if you're into 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, } +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/docs/API_docs/constructors/channelAdminLogEvent.md b/docs/API_docs/constructors/channelAdminLogEvent.md index df23435a..a639b199 100644 --- a/docs/API_docs/constructors/channelAdminLogEvent.md +++ b/docs/API_docs/constructors/channelAdminLogEvent.md @@ -24,13 +24,13 @@ description: channelAdminLogEvent attributes, type and example ### Example: ``` -$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction, ]; +$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEvent","id":"long","date":"int","user_id":"int","action":"ChannelAdminLogEventAction"} +{"_": "channelAdminLogEvent", "id": long, "date": int, "user_id": int, "action": ChannelAdminLogEventAction} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction, } +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 ff3b809a..66037355 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionChangeAbout attributes, type and example ### Example: ``` -$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => string, 'new_value' => string, ]; +$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionChangeAbout","prev_value":"string","new_value":"string"} +{"_": "channelAdminLogEventActionChangeAbout", "prev_value": "string", "new_value": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value=string, new_value=string, } +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 7b8db13e..9297f22a 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionChangePhoto attributes, type and example ### Example: ``` -$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto, ]; +$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionChangePhoto","prev_photo":"ChatPhoto","new_photo":"ChatPhoto"} +{"_": "channelAdminLogEventActionChangePhoto", "prev_photo": ChatPhoto, "new_photo": ChatPhoto} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto, } +channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md index 57cb4e1f..e66b9286 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionChangeTitle attributes, type and example ### Example: ``` -$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => string, 'new_value' => string, ]; +$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionChangeTitle","prev_value":"string","new_value":"string"} +{"_": "channelAdminLogEventActionChangeTitle", "prev_value": "string", "new_value": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value=string, new_value=string, } +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 2084faa9..1b4fbd7b 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionChangeUsername attributes, type and examp ### Example: ``` -$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => string, 'new_value' => string, ]; +$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionChangeUsername","prev_value":"string","new_value":"string"} +{"_": "channelAdminLogEventActionChangeUsername", "prev_value": "string", "new_value": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value=string, new_value=string, } +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 1078d9f1..a784b765 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,13 +21,13 @@ description: channelAdminLogEventActionDeleteMessage attributes, type and exampl ### Example: ``` -$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message, ]; +$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionDeleteMessage","message":"Message"} +{"_": "channelAdminLogEventActionDeleteMessage", "message": Message} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message, } +channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md index f40b1b53..c4941eeb 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionEditMessage attributes, type and example ### Example: ``` -$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message, ]; +$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionEditMessage","prev_message":"Message","new_message":"Message"} +{"_": "channelAdminLogEventActionEditMessage", "prev_message": Message, "new_message": Message} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message, } +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 c2219d82..47c6909c 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,13 +21,13 @@ description: channelAdminLogEventActionParticipantInvite attributes, type and ex ### Example: ``` -$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant, ]; +$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionParticipantInvite","participant":"ChannelParticipant"} +{"_": "channelAdminLogEventActionParticipantInvite", "participant": ChannelParticipant} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant, } +channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md index 3e258157..05f07288 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,13 +16,13 @@ description: channelAdminLogEventActionParticipantJoin attributes, type and exam ### Example: ``` -$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin', ]; +$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionParticipantJoin"} +{"_": "channelAdminLogEventActionParticipantJoin"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin', } +channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md index 38132cf1..947c58e8 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,13 +16,13 @@ description: channelAdminLogEventActionParticipantLeave attributes, type and exa ### Example: ``` -$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave', ]; +$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionParticipantLeave"} +{"_": "channelAdminLogEventActionParticipantLeave"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave', } +channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index 62c462d7..d3a1d374 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionParticipantToggleAdmin attributes, type a ### Example: ``` -$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ]; +$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionParticipantToggleAdmin","prev_participant":"ChannelParticipant","new_participant":"ChannelParticipant"} +{"_": "channelAdminLogEventActionParticipantToggleAdmin", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant, } +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 bb5c37c9..bd9ac7bc 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,13 +22,13 @@ description: channelAdminLogEventActionParticipantToggleBan attributes, type and ### Example: ``` -$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ]; +$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionParticipantToggleBan","prev_participant":"ChannelParticipant","new_participant":"ChannelParticipant"} +{"_": "channelAdminLogEventActionParticipantToggleBan", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant, } +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 45fcedd8..0a647ac2 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,13 +21,13 @@ description: channelAdminLogEventActionToggleInvites attributes, type and exampl ### Example: ``` -$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool, ]; +$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionToggleInvites","new_value":"Bool"} +{"_": "channelAdminLogEventActionToggleInvites", "new_value": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool, } +channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md index 4fa24103..75cdd353 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,13 +21,13 @@ description: channelAdminLogEventActionToggleSignatures attributes, type and exa ### Example: ``` -$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool, ]; +$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionToggleSignatures","new_value":"Bool"} +{"_": "channelAdminLogEventActionToggleSignatures", "new_value": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool, } +channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md index 3dd6ea87..88a29bd2 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,13 +21,13 @@ description: channelAdminLogEventActionUpdatePinned attributes, type and example ### Example: ``` -$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message, ]; +$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventActionUpdatePinned","message":"Message"} +{"_": "channelAdminLogEventActionUpdatePinned", "message": Message} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message, } +channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventsFilter.md b/docs/API_docs/constructors/channelAdminLogEventsFilter.md index 2ffbc39a..2a0dc3de 100644 --- a/docs/API_docs/constructors/channelAdminLogEventsFilter.md +++ b/docs/API_docs/constructors/channelAdminLogEventsFilter.md @@ -34,13 +34,13 @@ description: channelAdminLogEventsFilter attributes, type and example ### Example: ``` -$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool, ]; +$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminLogEventsFilter","join":"Bool","leave":"Bool","invite":"Bool","ban":"Bool","unban":"Bool","kick":"Bool","unkick":"Bool","promote":"Bool","demote":"Bool","info":"Bool","settings":"Bool","pinned":"Bool","edit":"Bool","delete":"Bool"} +{"_": "channelAdminLogEventsFilter", "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} ``` @@ -48,7 +48,7 @@ Or, if you're into Lua: ``` -channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool, } +channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminRights.md b/docs/API_docs/constructors/channelAdminRights.md index 6cd0f98c..c0b91943 100644 --- a/docs/API_docs/constructors/channelAdminRights.md +++ b/docs/API_docs/constructors/channelAdminRights.md @@ -29,13 +29,13 @@ description: channelAdminRights attributes, type and example ### Example: ``` -$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool, ]; +$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelAdminRights","change_info":"Bool","post_messages":"Bool","edit_messages":"Bool","delete_messages":"Bool","ban_users":"Bool","invite_users":"Bool","invite_link":"Bool","pin_messages":"Bool","add_admins":"Bool"} +{"_": "channelAdminRights", "change_info": Bool, "post_messages": Bool, "edit_messages": Bool, "delete_messages": Bool, "ban_users": Bool, "invite_users": Bool, "invite_link": Bool, "pin_messages": Bool, "add_admins": Bool} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool, } +channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool} ``` diff --git a/docs/API_docs/constructors/channelBannedRights.md b/docs/API_docs/constructors/channelBannedRights.md index 21c908be..4e0eac8d 100644 --- a/docs/API_docs/constructors/channelBannedRights.md +++ b/docs/API_docs/constructors/channelBannedRights.md @@ -29,13 +29,13 @@ description: channelBannedRights attributes, type and example ### Example: ``` -$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int, ]; +$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelBannedRights","view_messages":"Bool","send_messages":"Bool","send_media":"Bool","send_stickers":"Bool","send_gifs":"Bool","send_games":"Bool","send_inline":"Bool","embed_links":"Bool","until_date":"int"} +{"_": "channelBannedRights", "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} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int, } +channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int} ``` diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md index f25fb574..3023e655 100644 --- a/docs/API_docs/constructors/channelForbidden.md +++ b/docs/API_docs/constructors/channelForbidden.md @@ -26,13 +26,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'until_date' => int, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string","until_date":"int"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string", "until_date": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, until_date=int, } +channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int} ``` diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md index a50e064a..cbee8f2f 100644 --- a/docs/API_docs/constructors/channelFull.md +++ b/docs/API_docs/constructors/channelFull.md @@ -38,13 +38,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md index 677f7356..5dc7ee39 100644 --- a/docs/API_docs/constructors/channelMessagesFilter.md +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/docs/API_docs/constructors/channelMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/docs/API_docs/constructors/channelParticipant.md b/docs/API_docs/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/docs/API_docs/constructors/channelParticipant.md +++ b/docs/API_docs/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +channelParticipant={_='channelParticipant', user_id=int, date=int} ``` diff --git a/docs/API_docs/constructors/channelParticipantAdmin.md b/docs/API_docs/constructors/channelParticipantAdmin.md index d468e8bf..7293d143 100644 --- a/docs/API_docs/constructors/channelParticipantAdmin.md +++ b/docs/API_docs/constructors/channelParticipantAdmin.md @@ -26,13 +26,13 @@ description: channelParticipantAdmin attributes, type and example ### Example: ``` -$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights, ]; +$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantAdmin","can_edit":"Bool","user_id":"int","inviter_id":"int","promoted_by":"int","date":"int","admin_rights":"ChannelAdminRights"} +{"_": "channelParticipantAdmin", "can_edit": Bool, "user_id": int, "inviter_id": int, "promoted_by": int, "date": int, "admin_rights": ChannelAdminRights} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights, } +channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights} ``` diff --git a/docs/API_docs/constructors/channelParticipantBanned.md b/docs/API_docs/constructors/channelParticipantBanned.md index af239055..915ecd8e 100644 --- a/docs/API_docs/constructors/channelParticipantBanned.md +++ b/docs/API_docs/constructors/channelParticipantBanned.md @@ -25,13 +25,13 @@ description: channelParticipantBanned attributes, type and example ### Example: ``` -$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights, ]; +$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantBanned","left":"Bool","user_id":"int","kicked_by":"int","date":"int","banned_rights":"ChannelBannedRights"} +{"_": "channelParticipantBanned", "left": Bool, "user_id": int, "kicked_by": int, "date": int, "banned_rights": ChannelBannedRights} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights, } +channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights} ``` diff --git a/docs/API_docs/constructors/channelParticipantCreator.md b/docs/API_docs/constructors/channelParticipantCreator.md index 04cb2e8e..a45312db 100644 --- a/docs/API_docs/constructors/channelParticipantCreator.md +++ b/docs/API_docs/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/docs/API_docs/constructors/channelParticipantSelf.md b/docs/API_docs/constructors/channelParticipantSelf.md index a81283d0..559df464 100644 --- a/docs/API_docs/constructors/channelParticipantSelf.md +++ b/docs/API_docs/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/docs/API_docs/constructors/channelParticipantsAdmins.md +++ b/docs/API_docs/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsBanned.md b/docs/API_docs/constructors/channelParticipantsBanned.md index 12229f9b..b9d251b4 100644 --- a/docs/API_docs/constructors/channelParticipantsBanned.md +++ b/docs/API_docs/constructors/channelParticipantsBanned.md @@ -21,13 +21,13 @@ description: channelParticipantsBanned attributes, type and example ### Example: ``` -$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => string, ]; +$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBanned","q":"string"} +{"_": "channelParticipantsBanned", "q": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantsBanned={_='channelParticipantsBanned', q=string, } +channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsBots.md b/docs/API_docs/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/docs/API_docs/constructors/channelParticipantsBots.md +++ b/docs/API_docs/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsKicked.md b/docs/API_docs/constructors/channelParticipantsKicked.md index 276fa3ee..242990eb 100644 --- a/docs/API_docs/constructors/channelParticipantsKicked.md +++ b/docs/API_docs/constructors/channelParticipantsKicked.md @@ -21,13 +21,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => string, ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked","q":"string"} +{"_": "channelParticipantsKicked", "q": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', q=string, } +channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsRecent.md b/docs/API_docs/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/docs/API_docs/constructors/channelParticipantsRecent.md +++ b/docs/API_docs/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsSearch.md b/docs/API_docs/constructors/channelParticipantsSearch.md index ca63b7cf..9b846477 100644 --- a/docs/API_docs/constructors/channelParticipantsSearch.md +++ b/docs/API_docs/constructors/channelParticipantsSearch.md @@ -21,13 +21,13 @@ description: channelParticipantsSearch attributes, type and example ### Example: ``` -$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => string, ]; +$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsSearch","q":"string"} +{"_": "channelParticipantsSearch", "q": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantsSearch={_='channelParticipantsSearch', q=string, } +channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/docs/API_docs/constructors/channels_adminLogResults.md b/docs/API_docs/constructors/channels_adminLogResults.md index c4848621..2ed940b1 100644 --- a/docs/API_docs/constructors/channels_adminLogResults.md +++ b/docs/API_docs/constructors/channels_adminLogResults.md @@ -23,13 +23,13 @@ description: channels_adminLogResults attributes, type and example ### Example: ``` -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent], 'chats' => [Chat], 'users' => [User], ]; +$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.adminLogResults","events":["ChannelAdminLogEvent"],"chats":["Chat"],"users":["User"]} +{"_": "channels.adminLogResults", "events": [ChannelAdminLogEvent], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}, } +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 25c0b1e1..63808d3d 100644 --- a/docs/API_docs/constructors/channels_channelParticipant.md +++ b/docs/API_docs/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/docs/API_docs/constructors/channels_channelParticipants.md +++ b/docs/API_docs/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} ``` diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md index 70955e06..0c6c037c 100644 --- a/docs/API_docs/constructors/chat.md +++ b/docs/API_docs/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/docs/API_docs/constructors/chatEmpty.md b/docs/API_docs/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/docs/API_docs/constructors/chatEmpty.md +++ b/docs/API_docs/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +chatEmpty={_='chatEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/chatForbidden.md b/docs/API_docs/constructors/chatForbidden.md index 73dd02cd..4999057b 100644 --- a/docs/API_docs/constructors/chatForbidden.md +++ b/docs/API_docs/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +chatForbidden={_='chatForbidden', id=int, title='string'} ``` diff --git a/docs/API_docs/constructors/chatFull.md b/docs/API_docs/constructors/chatFull.md index 98316087..4ad41e47 100644 --- a/docs/API_docs/constructors/chatFull.md +++ b/docs/API_docs/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/docs/API_docs/constructors/chatInvite.md +++ b/docs/API_docs/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/docs/API_docs/constructors/chatInviteAlready.md b/docs/API_docs/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/docs/API_docs/constructors/chatInviteAlready.md +++ b/docs/API_docs/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/docs/API_docs/constructors/chatInviteEmpty.md b/docs/API_docs/constructors/chatInviteEmpty.md index 91fdcae4..350c949e 100644 --- a/docs/API_docs/constructors/chatInviteEmpty.md +++ b/docs/API_docs/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/docs/API_docs/constructors/chatInviteExported.md b/docs/API_docs/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/docs/API_docs/constructors/chatInviteExported.md +++ b/docs/API_docs/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/docs/API_docs/constructors/chatParticipant.md b/docs/API_docs/constructors/chatParticipant.md index d2968dc8..8b4093ef 100644 --- a/docs/API_docs/constructors/chatParticipant.md +++ b/docs/API_docs/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/docs/API_docs/constructors/chatParticipantAdmin.md +++ b/docs/API_docs/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/docs/API_docs/constructors/chatParticipantCreator.md +++ b/docs/API_docs/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/docs/API_docs/constructors/chatParticipants.md b/docs/API_docs/constructors/chatParticipants.md index c1602888..13220a2c 100644 --- a/docs/API_docs/constructors/chatParticipants.md +++ b/docs/API_docs/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/docs/API_docs/constructors/chatParticipantsForbidden.md +++ b/docs/API_docs/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/docs/API_docs/constructors/chatPhoto.md +++ b/docs/API_docs/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/docs/API_docs/constructors/chatPhotoEmpty.md +++ b/docs/API_docs/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/client_DH_inner_data.md b/docs/API_docs/constructors/client_DH_inner_data.md index 1505e457..21cc76dc 100644 --- a/docs/API_docs/constructors/client_DH_inner_data.md +++ b/docs/API_docs/constructors/client_DH_inner_data.md @@ -24,13 +24,13 @@ description: client_DH_inner_data attributes, type and example ### Example: ``` -$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => string, ]; +$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b=string, } +client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md index a12af4b2..7b2ecdb3 100644 --- a/docs/API_docs/constructors/config.md +++ b/docs/API_docs/constructors/config.md @@ -52,13 +52,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -66,7 +66,7 @@ Or, if you're into 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}, } +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/docs/API_docs/constructors/contact.md b/docs/API_docs/constructors/contact.md index bb3124e4..e7f562ee 100644 --- a/docs/API_docs/constructors/contact.md +++ b/docs/API_docs/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +contact={_='contact', user_id=int, mutual=Bool} ``` diff --git a/docs/API_docs/constructors/contactBlocked.md b/docs/API_docs/constructors/contactBlocked.md index 97cdc29f..3136e7bf 100644 --- a/docs/API_docs/constructors/contactBlocked.md +++ b/docs/API_docs/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +contactBlocked={_='contactBlocked', user_id=int, date=int} ``` diff --git a/docs/API_docs/constructors/contactLinkContact.md b/docs/API_docs/constructors/contactLinkContact.md index f3d96629..3dfd9b17 100644 --- a/docs/API_docs/constructors/contactLinkContact.md +++ b/docs/API_docs/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/docs/API_docs/constructors/contactLinkHasPhone.md b/docs/API_docs/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/docs/API_docs/constructors/contactLinkHasPhone.md +++ b/docs/API_docs/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/docs/API_docs/constructors/contactLinkNone.md b/docs/API_docs/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/docs/API_docs/constructors/contactLinkNone.md +++ b/docs/API_docs/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/docs/API_docs/constructors/contactLinkUnknown.md b/docs/API_docs/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/docs/API_docs/constructors/contactLinkUnknown.md +++ b/docs/API_docs/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/docs/API_docs/constructors/contactStatus.md b/docs/API_docs/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/docs/API_docs/constructors/contactStatus.md +++ b/docs/API_docs/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/docs/API_docs/constructors/contacts_blocked.md +++ b/docs/API_docs/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/docs/API_docs/constructors/contacts_blockedSlice.md +++ b/docs/API_docs/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/docs/API_docs/constructors/contacts_contacts.md +++ b/docs/API_docs/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md index 51d8111e..e62073c2 100644 --- a/docs/API_docs/constructors/contacts_contactsNotModified.md +++ b/docs/API_docs/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md index b6e6de1d..9b1116ce 100644 --- a/docs/API_docs/constructors/contacts_found.md +++ b/docs/API_docs/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +contacts_found={_='contacts.found', 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 8a60bc35..0c02999d 100644 --- a/docs/API_docs/constructors/contacts_importedContacts.md +++ b/docs/API_docs/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_link.md b/docs/API_docs/constructors/contacts_link.md index 54dee7da..8fb07e52 100644 --- a/docs/API_docs/constructors/contacts_link.md +++ b/docs/API_docs/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/docs/API_docs/constructors/contacts_resolvedPeer.md +++ b/docs/API_docs/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/docs/API_docs/constructors/contacts_topPeers.md +++ b/docs/API_docs/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md index ce380f72..80fde57c 100644 --- a/docs/API_docs/constructors/contacts_topPeersNotModified.md +++ b/docs/API_docs/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/docs/API_docs/constructors/dataJSON.md b/docs/API_docs/constructors/dataJSON.md index 5ad2bebc..5236b22d 100644 --- a/docs/API_docs/constructors/dataJSON.md +++ b/docs/API_docs/constructors/dataJSON.md @@ -21,13 +21,13 @@ description: dataJSON attributes, type and example ### Example: ``` -$dataJSON = ['_' => 'dataJSON', 'data' => string, ]; +$dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dataJSON","data":"string"} +{"_": "dataJSON", "data": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -dataJSON={_='dataJSON', data=string, } +dataJSON={_='dataJSON', data='string'} ``` diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md index 85c59c95..ca13e6b8 100644 --- a/docs/API_docs/constructors/dcOption.md +++ b/docs/API_docs/constructors/dcOption.md @@ -28,13 +28,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","cdn":"Bool","static":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "cdn": Bool, "static": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/docs/API_docs/constructors/decryptedDataBlock.md b/docs/API_docs/constructors/decryptedDataBlock.md index 7028d775..8419ae85 100644 --- a/docs/API_docs/constructors/decryptedDataBlock.md +++ b/docs/API_docs/constructors/decryptedDataBlock.md @@ -27,13 +27,13 @@ description: decryptedDataBlock attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedDataBlock","voice_call_id":"int128","in_seq_no":"int","out_seq_no":"int","recent_received_mask":"int","proto":"int","extra":"string","raw_data":"string"} +{"_": "decryptedDataBlock", "voice_call_id": int128, "in_seq_no": int, "out_seq_no": int, "recent_received_mask": int, "proto": int, "extra": "string", "raw_data": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into 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, } +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 7d5c3376..7e05e225 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md @@ -21,13 +21,13 @@ description: decryptedMessageActionAbortKey attributes, type and example ### Example: ``` -$decryptedMessageActionAbortKey_20 = ['_' => 'decryptedMessageActionAbortKey', 'exchange_id' => long, ]; +$decryptedMessageActionAbortKey_20 = ['_' => 'decryptedMessageActionAbortKey', 'exchange_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionAbortKey","exchange_id":"long"} +{"_": "decryptedMessageActionAbortKey", "exchange_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionAbortKey_20={_='decryptedMessageActionAbortKey', exchange_id=long, } +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 f4160f6b..81e6d448 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md @@ -23,13 +23,13 @@ description: decryptedMessageActionAcceptKey attributes, type and example ### Example: ``` -$decryptedMessageActionAcceptKey_20 = ['_' => 'decryptedMessageActionAcceptKey', 'exchange_id' => long, 'g_b' => bytes, 'key_fingerprint' => long, ]; +$decryptedMessageActionAcceptKey_20 = ['_' => 'decryptedMessageActionAcceptKey', 'exchange_id' => long, 'g_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionAcceptKey","exchange_id":"long","g_b":"bytes","key_fingerprint":"long"} +{"_": "decryptedMessageActionAcceptKey", "exchange_id": long, "g_b": "bytes", "key_fingerprint": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionAcceptKey_20={_='decryptedMessageActionAcceptKey', exchange_id=long, g_b=bytes, key_fingerprint=long, } +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 85816c18..31acb61e 100644 --- a/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md @@ -22,13 +22,13 @@ description: decryptedMessageActionCommitKey attributes, type and example ### Example: ``` -$decryptedMessageActionCommitKey_20 = ['_' => 'decryptedMessageActionCommitKey', 'exchange_id' => long, 'key_fingerprint' => long, ]; +$decryptedMessageActionCommitKey_20 = ['_' => 'decryptedMessageActionCommitKey', 'exchange_id' => long, 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionCommitKey","exchange_id":"long","key_fingerprint":"long"} +{"_": "decryptedMessageActionCommitKey", "exchange_id": long, "key_fingerprint": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionCommitKey_20={_='decryptedMessageActionCommitKey', exchange_id=long, key_fingerprint=long, } +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 8dab3367..00578f6a 100644 --- a/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md @@ -21,13 +21,13 @@ description: decryptedMessageActionDeleteMessages attributes, type and example ### Example: ``` -$decryptedMessageActionDeleteMessages_8 = ['_' => 'decryptedMessageActionDeleteMessages', 'random_ids' => [long], ]; +$decryptedMessageActionDeleteMessages_8 = ['_' => 'decryptedMessageActionDeleteMessages', 'random_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionDeleteMessages","random_ids":["long"]} +{"_": "decryptedMessageActionDeleteMessages", "random_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionDeleteMessages_8={_='decryptedMessageActionDeleteMessages', random_ids={long}, } +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 91efe37e..7d590dee 100644 --- a/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md @@ -16,13 +16,13 @@ description: decryptedMessageActionFlushHistory attributes, type and example ### Example: ``` -$decryptedMessageActionFlushHistory_8 = ['_' => 'decryptedMessageActionFlushHistory', ]; +$decryptedMessageActionFlushHistory_8 = ['_' => 'decryptedMessageActionFlushHistory']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionFlushHistory"} +{"_": "decryptedMessageActionFlushHistory"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionFlushHistory_8={_='decryptedMessageActionFlushHistory', } +decryptedMessageActionFlushHistory_8={_='decryptedMessageActionFlushHistory'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md index b1d4e33b..5d2fecfc 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md @@ -16,13 +16,13 @@ description: decryptedMessageActionNoop attributes, type and example ### Example: ``` -$decryptedMessageActionNoop_20 = ['_' => 'decryptedMessageActionNoop', ]; +$decryptedMessageActionNoop_20 = ['_' => 'decryptedMessageActionNoop']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionNoop"} +{"_": "decryptedMessageActionNoop"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionNoop_20={_='decryptedMessageActionNoop', } +decryptedMessageActionNoop_20={_='decryptedMessageActionNoop'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md index 64922d63..1403844a 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md @@ -21,13 +21,13 @@ description: decryptedMessageActionNotifyLayer attributes, type and example ### Example: ``` -$decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLayer', 'layer' => int, ]; +$decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLayer', 'layer' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionNotifyLayer","layer":"int"} +{"_": "decryptedMessageActionNotifyLayer", "layer": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionNotifyLayer_17={_='decryptedMessageActionNotifyLayer', layer=int, } +decryptedMessageActionNotifyLayer_17={_='decryptedMessageActionNotifyLayer', layer=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md index 93dc480a..2ca47eb4 100644 --- a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md @@ -21,13 +21,13 @@ description: decryptedMessageActionReadMessages attributes, type and example ### Example: ``` -$decryptedMessageActionReadMessages_8 = ['_' => 'decryptedMessageActionReadMessages', 'random_ids' => [long], ]; +$decryptedMessageActionReadMessages_8 = ['_' => 'decryptedMessageActionReadMessages', 'random_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionReadMessages","random_ids":["long"]} +{"_": "decryptedMessageActionReadMessages", "random_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionReadMessages_8={_='decryptedMessageActionReadMessages', random_ids={long}, } +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 b1f895cf..308be4a1 100644 --- a/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md @@ -22,13 +22,13 @@ description: decryptedMessageActionRequestKey attributes, type and example ### Example: ``` -$decryptedMessageActionRequestKey_20 = ['_' => 'decryptedMessageActionRequestKey', 'exchange_id' => long, 'g_a' => bytes, ]; +$decryptedMessageActionRequestKey_20 = ['_' => 'decryptedMessageActionRequestKey', 'exchange_id' => long, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionRequestKey","exchange_id":"long","g_a":"bytes"} +{"_": "decryptedMessageActionRequestKey", "exchange_id": long, "g_a": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionRequestKey_20={_='decryptedMessageActionRequestKey', exchange_id=long, g_a=bytes, } +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 6df23047..2553db74 100644 --- a/docs/API_docs/constructors/decryptedMessageActionResend_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionResend_17.md @@ -22,13 +22,13 @@ description: decryptedMessageActionResend attributes, type and example ### Example: ``` -$decryptedMessageActionResend_17 = ['_' => 'decryptedMessageActionResend', 'start_seq_no' => int, 'end_seq_no' => int, ]; +$decryptedMessageActionResend_17 = ['_' => 'decryptedMessageActionResend', 'start_seq_no' => int, 'end_seq_no' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionResend","start_seq_no":"int","end_seq_no":"int"} +{"_": "decryptedMessageActionResend", "start_seq_no": int, "end_seq_no": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionResend_17={_='decryptedMessageActionResend', start_seq_no=int, end_seq_no=int, } +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 881b4115..ccf33f2a 100644 --- a/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md @@ -21,13 +21,13 @@ description: decryptedMessageActionScreenshotMessages attributes, type and examp ### Example: ``` -$decryptedMessageActionScreenshotMessages_8 = ['_' => 'decryptedMessageActionScreenshotMessages', 'random_ids' => [long], ]; +$decryptedMessageActionScreenshotMessages_8 = ['_' => 'decryptedMessageActionScreenshotMessages', 'random_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionScreenshotMessages","random_ids":["long"]} +{"_": "decryptedMessageActionScreenshotMessages", "random_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionScreenshotMessages_8={_='decryptedMessageActionScreenshotMessages', random_ids={long}, } +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 335bbb31..da5ba549 100644 --- a/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md @@ -21,13 +21,13 @@ description: decryptedMessageActionSetMessageTTL attributes, type and example ### Example: ``` -$decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int, ]; +$decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionSetMessageTTL","ttl_seconds":"int"} +{"_": "decryptedMessageActionSetMessageTTL", "ttl_seconds": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionSetMessageTTL_8={_='decryptedMessageActionSetMessageTTL', ttl_seconds=int, } +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 244e53de..c6612301 100644 --- a/docs/API_docs/constructors/decryptedMessageActionTyping_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionTyping_17.md @@ -21,13 +21,13 @@ description: decryptedMessageActionTyping attributes, type and example ### Example: ``` -$decryptedMessageActionTyping_17 = ['_' => 'decryptedMessageActionTyping', 'action' => SendMessageAction, ]; +$decryptedMessageActionTyping_17 = ['_' => 'decryptedMessageActionTyping', 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageActionTyping","action":"SendMessageAction"} +{"_": "decryptedMessageActionTyping", "action": SendMessageAction} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageActionTyping_17={_='decryptedMessageActionTyping', action=SendMessageAction, } +decryptedMessageActionTyping_17={_='decryptedMessageActionTyping', action=SendMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessageLayer_17.md b/docs/API_docs/constructors/decryptedMessageLayer_17.md index 8de4868e..32353f05 100644 --- a/docs/API_docs/constructors/decryptedMessageLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageLayer_17.md @@ -24,13 +24,13 @@ description: decryptedMessageLayer attributes, type and example ### Example: ``` -$decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in_seq_no' => int, 'out_seq_no' => int, 'message' => DecryptedMessage, ]; +$decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in_seq_no' => int, 'out_seq_no' => int, 'message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageLayer","layer":"int","in_seq_no":"int","out_seq_no":"int","message":"DecryptedMessage"} +{"_": "decryptedMessageLayer", "layer": int, "in_seq_no": int, "out_seq_no": int, "message": DecryptedMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -decryptedMessageLayer_17={_='decryptedMessageLayer', layer=int, in_seq_no=int, out_seq_no=int, message=DecryptedMessage, } +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 4073a74d..29e1896a 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md @@ -25,13 +25,13 @@ description: decryptedMessageMediaAudio attributes, type and example ### Example: ``` -$decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => 'string', 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaAudio","duration":"int","mime_type":"string","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaAudio", "duration": int, "mime_type": "string", "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaAudio_17={_='decryptedMessageMediaAudio', duration=int, mime_type=string, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaAudio_17={_='decryptedMessageMediaAudio', duration=int, mime_type='string', size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md index f35bcd86..34d9084b 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md @@ -24,13 +24,13 @@ description: decryptedMessageMediaAudio attributes, type and example ### Example: ``` -$decryptedMessageMediaAudio_8 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaAudio_8 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaAudio","duration":"int","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaAudio", "duration": int, "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaAudio_8={_='decryptedMessageMediaAudio', duration=int, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaAudio_8={_='decryptedMessageMediaAudio', duration=int, size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md index 77c4db73..79497d04 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md @@ -24,13 +24,13 @@ description: decryptedMessageMediaContact attributes, type and example ### Example: ``` -$decryptedMessageMediaContact_8 = ['_' => 'decryptedMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$decryptedMessageMediaContact_8 = ['_' => 'decryptedMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "decryptedMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaContact_8={_='decryptedMessageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 1cffd1bf..9af6ebe5 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md @@ -29,13 +29,13 @@ description: decryptedMessageMediaDocument attributes, type and example ### Example: ``` -$decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => 'string', 'size' => int, 'key' => 'bytes', 'iv' => 'bytes', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaDocument","thumb":"bytes","thumb_w":"int","thumb_h":"int","mime_type":"string","size":"int","key":"bytes","iv":"bytes","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "decryptedMessageMediaDocument", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "mime_type": "string", "size": int, "key": "bytes", "iv": "bytes", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaDocument_45={_='decryptedMessageMediaDocument', thumb=bytes, thumb_w=int, thumb_h=int, mime_type=string, size=int, key=bytes, iv=bytes, attributes={DocumentAttribute}, caption=string, } +decryptedMessageMediaDocument_45={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, mime_type='string', size=int, key='bytes', iv='bytes', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md index 4f41be70..03b09800 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md @@ -28,13 +28,13 @@ description: decryptedMessageMediaDocument attributes, type and example ### Example: ``` -$decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'file_name' => string, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'file_name' => 'string', 'mime_type' => 'string', 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaDocument","thumb":"bytes","thumb_w":"int","thumb_h":"int","file_name":"string","mime_type":"string","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaDocument", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "file_name": "string", "mime_type": "string", "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaDocument_8={_='decryptedMessageMediaDocument', thumb=bytes, thumb_w=int, thumb_h=int, file_name=string, mime_type=string, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaDocument_8={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, file_name='string', mime_type='string', size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md index 08d7801f..6b8c4c65 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md @@ -16,13 +16,13 @@ description: decryptedMessageMediaEmpty attributes, type and example ### Example: ``` -$decryptedMessageMediaEmpty_8 = ['_' => 'decryptedMessageMediaEmpty', ]; +$decryptedMessageMediaEmpty_8 = ['_' => 'decryptedMessageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaEmpty"} +{"_": "decryptedMessageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaEmpty_8={_='decryptedMessageMediaEmpty', } +decryptedMessageMediaEmpty_8={_='decryptedMessageMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md index f1af280f..cc5de5b9 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md +++ b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md @@ -28,13 +28,13 @@ description: decryptedMessageMediaExternalDocument attributes, type and example ### Example: ``` -$decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExternalDocument', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExternalDocument', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaExternalDocument","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "decryptedMessageMediaExternalDocument", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaExternalDocument_23={_='decryptedMessageMediaExternalDocument', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fb7bcdee..72697b69 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md @@ -22,13 +22,13 @@ description: decryptedMessageMediaGeoPoint attributes, type and example ### Example: ``` -$decryptedMessageMediaGeoPoint_8 = ['_' => 'decryptedMessageMediaGeoPoint', 'lat' => double, 'long' => double, ]; +$decryptedMessageMediaGeoPoint_8 = ['_' => 'decryptedMessageMediaGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaGeoPoint","lat":"double","long":"double"} +{"_": "decryptedMessageMediaGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaGeoPoint_8={_='decryptedMessageMediaGeoPoint', lat=double, long=double, } +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 ada70640..b5bb840a 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md @@ -29,13 +29,13 @@ description: decryptedMessageMediaPhoto attributes, type and example ### Example: ``` -$decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, 'caption' => string, ]; +$decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaPhoto","thumb":"bytes","thumb_w":"int","thumb_h":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes","caption":"string"} +{"_": "decryptedMessageMediaPhoto", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes", "caption": "string"} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaPhoto_45={_='decryptedMessageMediaPhoto', thumb=bytes, thumb_w=int, thumb_h=int, w=int, h=int, size=int, key=bytes, iv=bytes, caption=string, } +decryptedMessageMediaPhoto_45={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int, key='bytes', iv='bytes', caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md index 4ad3aeb4..e5935f89 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md @@ -28,13 +28,13 @@ description: decryptedMessageMediaPhoto attributes, type and example ### Example: ``` -$decryptedMessageMediaPhoto_8 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaPhoto_8 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaPhoto","thumb":"bytes","thumb_w":"int","thumb_h":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaPhoto", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaPhoto_8={_='decryptedMessageMediaPhoto', thumb=bytes, thumb_w=int, thumb_h=int, w=int, h=int, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaPhoto_8={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md index 3384e5e8..31482520 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md @@ -26,13 +26,13 @@ description: decryptedMessageMediaVenue attributes, type and example ### Example: ``` -$decryptedMessageMediaVenue_46 = ['_' => 'decryptedMessageMediaVenue', 'lat' => double, 'long' => double, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$decryptedMessageMediaVenue_46 = ['_' => 'decryptedMessageMediaVenue', 'lat' => double, 'long' => double, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaVenue","lat":"double","long":"double","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "decryptedMessageMediaVenue", "lat": double, "long": double, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaVenue_46={_='decryptedMessageMediaVenue', lat=double, long=double, title=string, address=string, provider=string, venue_id=string, } +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 0360a7ad..364ea403 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md @@ -30,13 +30,13 @@ description: decryptedMessageMediaVideo attributes, type and example ### Example: ``` -$decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => string, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","mime_type":"string","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaVideo", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "duration": int, "mime_type": "string", "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaVideo_17={_='decryptedMessageMediaVideo', thumb=bytes, thumb_w=int, thumb_h=int, duration=int, mime_type=string, w=int, h=int, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaVideo_17={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md index a3df8210..889b309a 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md @@ -31,13 +31,13 @@ description: decryptedMessageMediaVideo attributes, type and example ### Example: ``` -$decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => string, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, 'caption' => string, ]; +$decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","mime_type":"string","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes","caption":"string"} +{"_": "decryptedMessageMediaVideo", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "duration": int, "mime_type": "string", "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes", "caption": "string"} ``` @@ -45,7 +45,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaVideo_45={_='decryptedMessageMediaVideo', thumb=bytes, thumb_w=int, thumb_h=int, duration=int, mime_type=string, w=int, h=int, size=int, key=bytes, iv=bytes, caption=string, } +decryptedMessageMediaVideo_45={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int, key='bytes', iv='bytes', caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md index 8752bfaa..4de71ad3 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md @@ -29,13 +29,13 @@ description: decryptedMessageMediaVideo attributes, type and example ### Example: ``` -$decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; +$decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +{"_": "decryptedMessageMediaVideo", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "duration": int, "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes"} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaVideo_8={_='decryptedMessageMediaVideo', thumb=bytes, thumb_w=int, thumb_h=int, duration=int, w=int, h=int, size=int, key=bytes, iv=bytes, } +decryptedMessageMediaVideo_8={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, w=int, h=int, size=int, key='bytes', iv='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md index 17784f07..56767835 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md @@ -21,13 +21,13 @@ description: decryptedMessageMediaWebPage attributes, type and example ### Example: ``` -$decryptedMessageMediaWebPage_46 = ['_' => 'decryptedMessageMediaWebPage', 'url' => string, ]; +$decryptedMessageMediaWebPage_46 = ['_' => 'decryptedMessageMediaWebPage', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageMediaWebPage","url":"string"} +{"_": "decryptedMessageMediaWebPage", "url": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageMediaWebPage_46={_='decryptedMessageMediaWebPage', url=string, } +decryptedMessageMediaWebPage_46={_='decryptedMessageMediaWebPage', url='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageService_17.md b/docs/API_docs/constructors/decryptedMessageService_17.md index ac4fae92..a717025f 100644 --- a/docs/API_docs/constructors/decryptedMessageService_17.md +++ b/docs/API_docs/constructors/decryptedMessageService_17.md @@ -21,13 +21,13 @@ description: decryptedMessageService attributes, type and example ### Example: ``` -$decryptedMessageService_17 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction, ]; +$decryptedMessageService_17 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageService","action":"DecryptedMessageAction"} +{"_": "decryptedMessageService", "action": DecryptedMessageAction} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageService_17={_='decryptedMessageService', action=DecryptedMessageAction, } +decryptedMessageService_17={_='decryptedMessageService', action=DecryptedMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessageService_8.md b/docs/API_docs/constructors/decryptedMessageService_8.md index 890fbc7b..04b5ca63 100644 --- a/docs/API_docs/constructors/decryptedMessageService_8.md +++ b/docs/API_docs/constructors/decryptedMessageService_8.md @@ -21,13 +21,13 @@ description: decryptedMessageService attributes, type and example ### Example: ``` -$decryptedMessageService_8 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction, ]; +$decryptedMessageService_8 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessageService","action":"DecryptedMessageAction"} +{"_": "decryptedMessageService", "action": DecryptedMessageAction} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -decryptedMessageService_8={_='decryptedMessageService', action=DecryptedMessageAction, } +decryptedMessageService_8={_='decryptedMessageService', action=DecryptedMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessage_17.md b/docs/API_docs/constructors/decryptedMessage_17.md index a07af507..62ec38df 100644 --- a/docs/API_docs/constructors/decryptedMessage_17.md +++ b/docs/API_docs/constructors/decryptedMessage_17.md @@ -23,13 +23,13 @@ description: decryptedMessage attributes, type and example ### Example: ``` -$decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => string, 'media' => DecryptedMessageMedia, ]; +$decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessage","ttl":"int","message":"string","media":"DecryptedMessageMedia"} +{"_": "decryptedMessage", "ttl": int, "message": "string", "media": DecryptedMessageMedia} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -decryptedMessage_17={_='decryptedMessage', ttl=int, message=string, media=DecryptedMessageMedia, } +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 f7ea6121..4d7513af 100644 --- a/docs/API_docs/constructors/decryptedMessage_45.md +++ b/docs/API_docs/constructors/decryptedMessage_45.md @@ -26,13 +26,13 @@ description: decryptedMessage attributes, type and example ### Example: ``` -$decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => string, 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity], 'via_bot_name' => string, 'reply_to_random_id' => long, ]; +$decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity], 'via_bot_name' => 'string', 'reply_to_random_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessage","ttl":"int","message":"string","media":"DecryptedMessageMedia","entities":["MessageEntity"],"via_bot_name":"string","reply_to_random_id":"long"} +{"_": "decryptedMessage", "ttl": int, "message": "string", "media": DecryptedMessageMedia, "entities": [MessageEntity], "via_bot_name": "string", "reply_to_random_id": long} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -decryptedMessage_45={_='decryptedMessage', ttl=int, message=string, media=DecryptedMessageMedia, entities={MessageEntity}, via_bot_name=string, reply_to_random_id=long, } +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_8.md b/docs/API_docs/constructors/decryptedMessage_8.md index 12eb01c9..9a782117 100644 --- a/docs/API_docs/constructors/decryptedMessage_8.md +++ b/docs/API_docs/constructors/decryptedMessage_8.md @@ -22,13 +22,13 @@ description: decryptedMessage attributes, type and example ### Example: ``` -$decryptedMessage_8 = ['_' => 'decryptedMessage', 'message' => string, 'media' => DecryptedMessageMedia, ]; +$decryptedMessage_8 = ['_' => 'decryptedMessage', 'message' => 'string', 'media' => DecryptedMessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"decryptedMessage","message":"string","media":"DecryptedMessageMedia"} +{"_": "decryptedMessage", "message": "string", "media": DecryptedMessageMedia} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -decryptedMessage_8={_='decryptedMessage', message=string, media=DecryptedMessageMedia, } +decryptedMessage_8={_='decryptedMessage', message='string', media=DecryptedMessageMedia} ``` diff --git a/docs/API_docs/constructors/destroy_auth_key_fail.md b/docs/API_docs/constructors/destroy_auth_key_fail.md index 00dececb..10a36c8b 100644 --- a/docs/API_docs/constructors/destroy_auth_key_fail.md +++ b/docs/API_docs/constructors/destroy_auth_key_fail.md @@ -16,13 +16,13 @@ description: destroy_auth_key_fail attributes, type and example ### Example: ``` -$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; +$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_fail"} +{"_": "destroy_auth_key_fail"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_fail={_='destroy_auth_key_fail', } +destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/docs/API_docs/constructors/destroy_auth_key_none.md b/docs/API_docs/constructors/destroy_auth_key_none.md index 2d5ed5f3..7993b634 100644 --- a/docs/API_docs/constructors/destroy_auth_key_none.md +++ b/docs/API_docs/constructors/destroy_auth_key_none.md @@ -16,13 +16,13 @@ description: destroy_auth_key_none attributes, type and example ### Example: ``` -$destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; +$destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_none"} +{"_": "destroy_auth_key_none"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_none={_='destroy_auth_key_none', } +destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/docs/API_docs/constructors/destroy_auth_key_ok.md b/docs/API_docs/constructors/destroy_auth_key_ok.md index 642a29c3..d12edc22 100644 --- a/docs/API_docs/constructors/destroy_auth_key_ok.md +++ b/docs/API_docs/constructors/destroy_auth_key_ok.md @@ -16,13 +16,13 @@ description: destroy_auth_key_ok attributes, type and example ### Example: ``` -$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; +$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_ok"} +{"_": "destroy_auth_key_ok"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_ok={_='destroy_auth_key_ok', } +destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/docs/API_docs/constructors/destroy_session_none.md b/docs/API_docs/constructors/destroy_session_none.md index 9e5278b4..e4955d4b 100644 --- a/docs/API_docs/constructors/destroy_session_none.md +++ b/docs/API_docs/constructors/destroy_session_none.md @@ -21,13 +21,13 @@ description: destroy_session_none attributes, type and example ### Example: ``` -$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; +$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_none","session_id":"long"} +{"_": "destroy_session_none", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_none={_='destroy_session_none', session_id=long, } +destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/docs/API_docs/constructors/destroy_session_ok.md b/docs/API_docs/constructors/destroy_session_ok.md index 17b39b93..dc69ae67 100644 --- a/docs/API_docs/constructors/destroy_session_ok.md +++ b/docs/API_docs/constructors/destroy_session_ok.md @@ -21,13 +21,13 @@ description: destroy_session_ok attributes, type and example ### Example: ``` -$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; +$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_ok","session_id":"long"} +{"_": "destroy_session_ok", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_ok={_='destroy_session_ok', session_id=long, } +destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/docs/API_docs/constructors/dh_gen_fail.md b/docs/API_docs/constructors/dh_gen_fail.md index 320b9306..3e67eac0 100644 --- a/docs/API_docs/constructors/dh_gen_fail.md +++ b/docs/API_docs/constructors/dh_gen_fail.md @@ -23,13 +23,13 @@ description: dh_gen_fail attributes, type and example ### Example: ``` -$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; +$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +{"_": "dh_gen_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash3": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128, } +dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/docs/API_docs/constructors/dh_gen_ok.md b/docs/API_docs/constructors/dh_gen_ok.md index 2b43d907..eedb309f 100644 --- a/docs/API_docs/constructors/dh_gen_ok.md +++ b/docs/API_docs/constructors/dh_gen_ok.md @@ -23,13 +23,13 @@ description: dh_gen_ok attributes, type and example ### Example: ``` -$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; +$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +{"_": "dh_gen_ok", "nonce": int128, "server_nonce": int128, "new_nonce_hash1": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128, } +dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/docs/API_docs/constructors/dh_gen_retry.md b/docs/API_docs/constructors/dh_gen_retry.md index db5c1928..e631eca6 100644 --- a/docs/API_docs/constructors/dh_gen_retry.md +++ b/docs/API_docs/constructors/dh_gen_retry.md @@ -23,13 +23,13 @@ description: dh_gen_retry attributes, type and example ### Example: ``` -$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; +$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +{"_": "dh_gen_retry", "nonce": int128, "server_nonce": int128, "new_nonce_hash2": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128, } +dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md index 5c5c2008..4fc1d4be 100644 --- a/docs/API_docs/constructors/dialog.md +++ b/docs/API_docs/constructors/dialog.md @@ -29,13 +29,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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/docs/API_docs/constructors/disabledFeature.md b/docs/API_docs/constructors/disabledFeature.md index 26697c44..0cee5b7d 100644 --- a/docs/API_docs/constructors/disabledFeature.md +++ b/docs/API_docs/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/docs/API_docs/constructors/document.md b/docs/API_docs/constructors/document.md index fdadf27d..2a1319da 100644 --- a/docs/API_docs/constructors/document.md +++ b/docs/API_docs/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated.md +++ b/docs/API_docs/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/docs/API_docs/constructors/documentAttributeAnimated_23.md b/docs/API_docs/constructors/documentAttributeAnimated_23.md index b1982049..ae0ca6ce 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated_23.md +++ b/docs/API_docs/constructors/documentAttributeAnimated_23.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated_23 = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated_23 = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated_23={_='documentAttributeAnimated', } +documentAttributeAnimated_23={_='documentAttributeAnimated'} ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/docs/API_docs/constructors/documentAttributeAudio.md +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 08a879a6..a5585d07 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_23.md +++ b/docs/API_docs/constructors/documentAttributeAudio_23.md @@ -21,13 +21,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +$documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int"} +{"_": "documentAttributeAudio", "duration": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio_23={_='documentAttributeAudio', duration=int, } +documentAttributeAudio_23={_='documentAttributeAudio', duration=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio_46.md b/docs/API_docs/constructors/documentAttributeAudio_46.md index c5010c03..6b167c1b 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_46.md +++ b/docs/API_docs/constructors/documentAttributeAudio_46.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio_46={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/docs/API_docs/constructors/documentAttributeFilename.md +++ b/docs/API_docs/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/docs/API_docs/constructors/documentAttributeFilename_23.md b/docs/API_docs/constructors/documentAttributeFilename_23.md index 5c7315d1..99536b75 100644 --- a/docs/API_docs/constructors/documentAttributeFilename_23.md +++ b/docs/API_docs/constructors/documentAttributeFilename_23.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename_23 = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename_23 = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename_23={_='documentAttributeFilename', file_name=string, } +documentAttributeFilename_23={_='documentAttributeFilename', file_name='string'} ``` diff --git a/docs/API_docs/constructors/documentAttributeHasStickers.md b/docs/API_docs/constructors/documentAttributeHasStickers.md index b09f783d..f1e3342e 100644 --- a/docs/API_docs/constructors/documentAttributeHasStickers.md +++ b/docs/API_docs/constructors/documentAttributeHasStickers.md @@ -16,13 +16,13 @@ description: documentAttributeHasStickers attributes, type and example ### Example: ``` -$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; +$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeHasStickers"} +{"_": "documentAttributeHasStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeHasStickers={_='documentAttributeHasStickers', } +documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/docs/API_docs/constructors/documentAttributeImageSize.md b/docs/API_docs/constructors/documentAttributeImageSize.md index f89e7bc3..eef0f537 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize.md +++ b/docs/API_docs/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeImageSize_23.md b/docs/API_docs/constructors/documentAttributeImageSize_23.md index 366ff3a7..442b0983 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize_23.md +++ b/docs/API_docs/constructors/documentAttributeImageSize_23.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize_23 = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize_23 = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize_23={_='documentAttributeImageSize', w=int, h=int, } +documentAttributeImageSize_23={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md index 77b8f437..a7923f10 100644 --- a/docs/API_docs/constructors/documentAttributeSticker.md +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -24,13 +24,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +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 7875e1ce..ede8a20a 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_23.md +++ b/docs/API_docs/constructors/documentAttributeSticker_23.md @@ -16,13 +16,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker_23 = ['_' => 'documentAttributeSticker', ]; +$documentAttributeSticker_23 = ['_' => 'documentAttributeSticker']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker"} +{"_": "documentAttributeSticker"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker_23={_='documentAttributeSticker', } +documentAttributeSticker_23={_='documentAttributeSticker'} ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker_55.md b/docs/API_docs/constructors/documentAttributeSticker_55.md index e33b9d1b..95750e8d 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_55.md +++ b/docs/API_docs/constructors/documentAttributeSticker_55.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker_55 = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker_55 = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker_55={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +documentAttributeSticker_55={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/docs/API_docs/constructors/documentAttributeVideo.md b/docs/API_docs/constructors/documentAttributeVideo.md index 26a3dd47..9e05b394 100644 --- a/docs/API_docs/constructors/documentAttributeVideo.md +++ b/docs/API_docs/constructors/documentAttributeVideo.md @@ -24,13 +24,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "round_message": Bool, "duration": int, "w": int, "h": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int, } +documentAttributeVideo={_='documentAttributeVideo', round_message=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 3668e416..fbba3c21 100644 --- a/docs/API_docs/constructors/documentAttributeVideo_23.md +++ b/docs/API_docs/constructors/documentAttributeVideo_23.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo_23 = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo_23 = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo_23={_='documentAttributeVideo', duration=int, w=int, h=int, } +documentAttributeVideo_23={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeVideo_66.md b/docs/API_docs/constructors/documentAttributeVideo_66.md index c6324013..6b35ee4c 100644 --- a/docs/API_docs/constructors/documentAttributeVideo_66.md +++ b/docs/API_docs/constructors/documentAttributeVideo_66.md @@ -24,13 +24,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo_66 = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo_66 = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "round_message": Bool, "duration": int, "w": int, "h": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo_66={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int, } +documentAttributeVideo_66={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentEmpty.md b/docs/API_docs/constructors/documentEmpty.md index e9aa30bf..453426f2 100644 --- a/docs/API_docs/constructors/documentEmpty.md +++ b/docs/API_docs/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +documentEmpty={_='documentEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md index 57d7d5c9..a26adb2f 100644 --- a/docs/API_docs/constructors/draftMessage.md +++ b/docs/API_docs/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/docs/API_docs/constructors/draftMessageEmpty.md +++ b/docs/API_docs/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/docs/API_docs/constructors/encryptedChat.md b/docs/API_docs/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/docs/API_docs/constructors/encryptedChat.md +++ b/docs/API_docs/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/docs/API_docs/constructors/encryptedChatDiscarded.md +++ b/docs/API_docs/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/docs/API_docs/constructors/encryptedChatEmpty.md b/docs/API_docs/constructors/encryptedChatEmpty.md index 9a117956..7c55a79d 100644 --- a/docs/API_docs/constructors/encryptedChatEmpty.md +++ b/docs/API_docs/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/encryptedChatRequested.md b/docs/API_docs/constructors/encryptedChatRequested.md index 6dca288c..772d69de 100644 --- a/docs/API_docs/constructors/encryptedChatRequested.md +++ b/docs/API_docs/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/docs/API_docs/constructors/encryptedChatWaiting.md +++ b/docs/API_docs/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/docs/API_docs/constructors/encryptedFile.md +++ b/docs/API_docs/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/docs/API_docs/constructors/encryptedFileEmpty.md +++ b/docs/API_docs/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/docs/API_docs/constructors/encryptedMessage.md b/docs/API_docs/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/docs/API_docs/constructors/encryptedMessage.md +++ b/docs/API_docs/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/docs/API_docs/constructors/encryptedMessageService.md +++ b/docs/API_docs/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/docs/API_docs/constructors/error.md +++ b/docs/API_docs/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +error={_='error', code=int, text='string'} ``` diff --git a/docs/API_docs/constructors/exportedMessageLink.md b/docs/API_docs/constructors/exportedMessageLink.md index b6f0c21f..77869205 100644 --- a/docs/API_docs/constructors/exportedMessageLink.md +++ b/docs/API_docs/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/docs/API_docs/constructors/fileLocation.md b/docs/API_docs/constructors/fileLocation.md index 698cedf4..1ffaa4e4 100644 --- a/docs/API_docs/constructors/fileLocation.md +++ b/docs/API_docs/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable.md +++ b/docs/API_docs/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/docs/API_docs/constructors/fileLocationUnavailable_23.md b/docs/API_docs/constructors/fileLocationUnavailable_23.md index 2d9704f1..ee572195 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable_23.md +++ b/docs/API_docs/constructors/fileLocationUnavailable_23.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable_23 = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable_23 = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable_23={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +fileLocationUnavailable_23={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/docs/API_docs/constructors/fileLocation_23.md b/docs/API_docs/constructors/fileLocation_23.md index cd4ae0ce..60402ce7 100644 --- a/docs/API_docs/constructors/fileLocation_23.md +++ b/docs/API_docs/constructors/fileLocation_23.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation_23 = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation_23 = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation_23={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +fileLocation_23={_='fileLocation', dc_id=int, 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 99a0faa0..03769154 100644 --- a/docs/API_docs/constructors/foundGif.md +++ b/docs/API_docs/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/docs/API_docs/constructors/foundGifCached.md +++ b/docs/API_docs/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/docs/API_docs/constructors/future_salt.md b/docs/API_docs/constructors/future_salt.md index c70f48ec..cca52255 100644 --- a/docs/API_docs/constructors/future_salt.md +++ b/docs/API_docs/constructors/future_salt.md @@ -23,13 +23,13 @@ description: future_salt attributes, type and example ### Example: ``` -$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; +$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +{"_": "future_salt", "valid_since": int, "valid_until": int, "salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long, } +future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/docs/API_docs/constructors/future_salts.md b/docs/API_docs/constructors/future_salts.md index a6bba188..9f4326e1 100644 --- a/docs/API_docs/constructors/future_salts.md +++ b/docs/API_docs/constructors/future_salts.md @@ -23,13 +23,13 @@ description: future_salts attributes, type and example ### Example: ``` -$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; +$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +{"_": "future_salts", "req_msg_id": long, "now": int, "salts": [future_salt]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}, } +future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/docs/API_docs/constructors/game.md b/docs/API_docs/constructors/game.md index 3bb1dfe1..46792b77 100644 --- a/docs/API_docs/constructors/game.md +++ b/docs/API_docs/constructors/game.md @@ -27,13 +27,13 @@ description: game attributes, type and example ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +{"_": "game", "id": long, "access_hash": long, "short_name": "string", "title": "string", "description": "string", "photo": Photo, "document": Document} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, access_hash=long, short_name=string, title=string, description=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/docs/API_docs/constructors/geoPoint.md +++ b/docs/API_docs/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/docs/API_docs/constructors/geoPointEmpty.md b/docs/API_docs/constructors/geoPointEmpty.md index 48452906..dcb0f02e 100644 --- a/docs/API_docs/constructors/geoPointEmpty.md +++ b/docs/API_docs/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md index 5a14873c..f12ed1de 100644 --- a/docs/API_docs/constructors/help_appUpdate.md +++ b/docs/API_docs/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 9635d896..4bb195c6 100644 --- a/docs/API_docs/constructors/help_configSimple.md +++ b/docs/API_docs/constructors/help_configSimple.md @@ -24,13 +24,13 @@ description: help_configSimple attributes, type and example ### Example: ``` -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort], ]; +$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.configSimple","date":"int","expires":"int","dc_id":"int","ip_port_list":["ipPort"]} +{"_": "help.configSimple", "date": int, "expires": int, "dc_id": int, "ip_port_list": [ipPort]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}, } +help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} ``` diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md index 6477ee63..777513a7 100644 --- a/docs/API_docs/constructors/help_inviteText.md +++ b/docs/API_docs/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/docs/API_docs/constructors/help_noAppUpdate.md +++ b/docs/API_docs/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md index 9d7bee39..49a575f3 100644 --- a/docs/API_docs/constructors/help_support.md +++ b/docs/API_docs/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/docs/API_docs/constructors/help_termsOfService.md +++ b/docs/API_docs/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/docs/API_docs/constructors/highScore.md b/docs/API_docs/constructors/highScore.md index 8fe62af9..e5b5fdeb 100644 --- a/docs/API_docs/constructors/highScore.md +++ b/docs/API_docs/constructors/highScore.md @@ -23,13 +23,13 @@ description: highScore attributes, type and example ### Example: ``` -$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; +$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"highScore","pos":"int","user_id":"int","score":"int"} +{"_": "highScore", "pos": int, "user_id": int, "score": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -highScore={_='highScore', pos=int, user_id=int, score=int, } +highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/docs/API_docs/constructors/http_wait.md b/docs/API_docs/constructors/http_wait.md index be4aa968..829f09b3 100644 --- a/docs/API_docs/constructors/http_wait.md +++ b/docs/API_docs/constructors/http_wait.md @@ -23,13 +23,13 @@ description: http_wait attributes, type and example ### Example: ``` -$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; +$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +{"_": "http_wait", "max_delay": int, "wait_after": int, "max_wait": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int, } +http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/docs/API_docs/constructors/importedContact.md b/docs/API_docs/constructors/importedContact.md index 7b3a4eb9..4ee6e9f5 100644 --- a/docs/API_docs/constructors/importedContact.md +++ b/docs/API_docs/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/docs/API_docs/constructors/inlineBotSwitchPM.md +++ b/docs/API_docs/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/docs/API_docs/constructors/inputAppEvent.md b/docs/API_docs/constructors/inputAppEvent.md index 501bdbba..b5992bd3 100644 --- a/docs/API_docs/constructors/inputAppEvent.md +++ b/docs/API_docs/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 1a8bc54d..cf5e9a44 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageGame.md +++ b/docs/API_docs/constructors/inputBotInlineMessageGame.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageGame attributes, type and example ### Example: ``` -$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageGame", "reply_markup": ReplyMarkup} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup, } +inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageID.md b/docs/API_docs/constructors/inputBotInlineMessageID.md index 757f7146..7c94c59d 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageID.md +++ b/docs/API_docs/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md index 1bd6518f..f0c994be 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md index 8c4f7ecc..515dc42d 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md index 01e38309..81688b7d 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageText.md +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/docs/API_docs/constructors/inputBotInlineResult.md +++ b/docs/API_docs/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/docs/API_docs/constructors/inputBotInlineResultDocument.md b/docs/API_docs/constructors/inputBotInlineResultDocument.md index 15080274..f9859f87 100644 --- a/docs/API_docs/constructors/inputBotInlineResultDocument.md +++ b/docs/API_docs/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 be8f6f21..57779977 100644 --- a/docs/API_docs/constructors/inputBotInlineResultGame.md +++ b/docs/API_docs/constructors/inputBotInlineResultGame.md @@ -23,13 +23,13 @@ description: inputBotInlineResultGame attributes, type and example ### Example: ``` -$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultGame", "id": "string", "short_name": "string", "send_message": InputBotInlineMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultGame={_='inputBotInlineResultGame', id=string, short_name=string, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/docs/API_docs/constructors/inputBotInlineResultPhoto.md +++ b/docs/API_docs/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/docs/API_docs/constructors/inputChannel.md +++ b/docs/API_docs/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/docs/API_docs/constructors/inputChannelEmpty.md +++ b/docs/API_docs/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/docs/API_docs/constructors/inputChatPhoto.md b/docs/API_docs/constructors/inputChatPhoto.md index aa98b610..8114d1d3 100644 --- a/docs/API_docs/constructors/inputChatPhoto.md +++ b/docs/API_docs/constructors/inputChatPhoto.md @@ -21,13 +21,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto"} +{"_": "inputChatPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, } +inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/docs/API_docs/constructors/inputChatPhotoEmpty.md b/docs/API_docs/constructors/inputChatPhotoEmpty.md index dd8c3a9e..b63a9792 100644 --- a/docs/API_docs/constructors/inputChatPhotoEmpty.md +++ b/docs/API_docs/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/inputChatUploadedPhoto.md b/docs/API_docs/constructors/inputChatUploadedPhoto.md index ce3b4224..0615c324 100644 --- a/docs/API_docs/constructors/inputChatUploadedPhoto.md +++ b/docs/API_docs/constructors/inputChatUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile"} +{"_": "inputChatUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, } +inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/docs/API_docs/constructors/inputDocument.md b/docs/API_docs/constructors/inputDocument.md index b1949ca6..59b5e5df 100644 --- a/docs/API_docs/constructors/inputDocument.md +++ b/docs/API_docs/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputDocumentEmpty.md b/docs/API_docs/constructors/inputDocumentEmpty.md index 4ac3ea8b..ee183427 100644 --- a/docs/API_docs/constructors/inputDocumentEmpty.md +++ b/docs/API_docs/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/docs/API_docs/constructors/inputDocumentFileLocation.md b/docs/API_docs/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/docs/API_docs/constructors/inputDocumentFileLocation.md +++ b/docs/API_docs/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/docs/API_docs/constructors/inputEncryptedChat.md +++ b/docs/API_docs/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/docs/API_docs/constructors/inputEncryptedFile.md +++ b/docs/API_docs/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md index 65e9dfe6..c4d9bcfe 100644 --- a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/docs/API_docs/constructors/inputEncryptedFileEmpty.md +++ b/docs/API_docs/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileLocation.md b/docs/API_docs/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/docs/API_docs/constructors/inputEncryptedFileLocation.md +++ b/docs/API_docs/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileUploaded.md b/docs/API_docs/constructors/inputEncryptedFileUploaded.md index 3c744bbc..cd64a0bf 100644 --- a/docs/API_docs/constructors/inputEncryptedFileUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/docs/API_docs/constructors/inputFile.md +++ b/docs/API_docs/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/docs/API_docs/constructors/inputFileBig.md +++ b/docs/API_docs/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/docs/API_docs/constructors/inputFileLocation.md +++ b/docs/API_docs/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 c8ce7efc..15aa00bd 100644 --- a/docs/API_docs/constructors/inputGameID.md +++ b/docs/API_docs/constructors/inputGameID.md @@ -22,13 +22,13 @@ description: inputGameID attributes, type and example ### Example: ``` -$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; +$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameID","id":"long","access_hash":"long"} +{"_": "inputGameID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameID={_='inputGameID', id=long, access_hash=long, } +inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputGameShortName.md b/docs/API_docs/constructors/inputGameShortName.md index 82671253..00895eed 100644 --- a/docs/API_docs/constructors/inputGameShortName.md +++ b/docs/API_docs/constructors/inputGameShortName.md @@ -22,13 +22,13 @@ description: inputGameShortName attributes, type and example ### Example: ``` -$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; +$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name=string, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/docs/API_docs/constructors/inputGeoPoint.md +++ b/docs/API_docs/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/docs/API_docs/constructors/inputGeoPointEmpty.md b/docs/API_docs/constructors/inputGeoPointEmpty.md index dabd759c..36ec199b 100644 --- a/docs/API_docs/constructors/inputGeoPointEmpty.md +++ b/docs/API_docs/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMediaContact.md b/docs/API_docs/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/docs/API_docs/constructors/inputMediaContact.md +++ b/docs/API_docs/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaDocument.md b/docs/API_docs/constructors/inputMediaDocument.md index 89ef5bdc..3e82dc32 100644 --- a/docs/API_docs/constructors/inputMediaDocument.md +++ b/docs/API_docs/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaDocumentExternal.md b/docs/API_docs/constructors/inputMediaDocumentExternal.md index df91c315..8bd11508 100644 --- a/docs/API_docs/constructors/inputMediaDocumentExternal.md +++ b/docs/API_docs/constructors/inputMediaDocumentExternal.md @@ -22,13 +22,13 @@ description: inputMediaDocumentExternal attributes, type and example ### Example: ``` -$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; +$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +{"_": "inputMediaDocumentExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocumentExternal={_='inputMediaDocumentExternal', url=string, caption=string, } +inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaEmpty.md b/docs/API_docs/constructors/inputMediaEmpty.md index 64682a7f..e2df5ddc 100644 --- a/docs/API_docs/constructors/inputMediaEmpty.md +++ b/docs/API_docs/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMediaGame.md b/docs/API_docs/constructors/inputMediaGame.md index 399f03c0..a97c0c70 100644 --- a/docs/API_docs/constructors/inputMediaGame.md +++ b/docs/API_docs/constructors/inputMediaGame.md @@ -21,13 +21,13 @@ description: inputMediaGame attributes, type and example ### Example: ``` -$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; +$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGame","id":"InputGame"} +{"_": "inputMediaGame", "id": InputGame} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGame={_='inputMediaGame', id=InputGame, } +inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/docs/API_docs/constructors/inputMediaGeoPoint.md b/docs/API_docs/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/docs/API_docs/constructors/inputMediaGeoPoint.md +++ b/docs/API_docs/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/docs/API_docs/constructors/inputMediaGifExternal.md b/docs/API_docs/constructors/inputMediaGifExternal.md index 284e3cdd..239504b0 100644 --- a/docs/API_docs/constructors/inputMediaGifExternal.md +++ b/docs/API_docs/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaInvoice.md b/docs/API_docs/constructors/inputMediaInvoice.md index 6c5c6baf..fdc3d6eb 100644 --- a/docs/API_docs/constructors/inputMediaInvoice.md +++ b/docs/API_docs/constructors/inputMediaInvoice.md @@ -27,13 +27,13 @@ description: inputMediaInvoice attributes, type and example ### Example: ``` -$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; +$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +{"_": "inputMediaInvoice", "title": "string", "description": "string", "photo": InputWebDocument, "invoice": Invoice, "payload": "bytes", "provider": "string", "start_param": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaInvoice={_='inputMediaInvoice', title=string, description=string, photo=InputWebDocument, invoice=Invoice, payload=bytes, provider=string, start_param=string, } +inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaPhoto.md b/docs/API_docs/constructors/inputMediaPhoto.md index 20258c1a..5035e349 100644 --- a/docs/API_docs/constructors/inputMediaPhoto.md +++ b/docs/API_docs/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaPhotoExternal.md b/docs/API_docs/constructors/inputMediaPhotoExternal.md index b50c9771..c2860028 100644 --- a/docs/API_docs/constructors/inputMediaPhotoExternal.md +++ b/docs/API_docs/constructors/inputMediaPhotoExternal.md @@ -22,13 +22,13 @@ description: inputMediaPhotoExternal attributes, type and example ### Example: ``` -$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; +$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhotoExternal={_='inputMediaPhotoExternal', url=string, caption=string, } +inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaUploadedDocument.md b/docs/API_docs/constructors/inputMediaUploadedDocument.md index f88ff5f0..5614925e 100644 --- a/docs/API_docs/constructors/inputMediaUploadedDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/docs/API_docs/constructors/inputMediaUploadedPhoto.md b/docs/API_docs/constructors/inputMediaUploadedPhoto.md index ee07669d..e69293fa 100644 --- a/docs/API_docs/constructors/inputMediaUploadedPhoto.md +++ b/docs/API_docs/constructors/inputMediaUploadedPhoto.md @@ -23,13 +23,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string", "stickers": [InputDocument]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, stickers={InputDocument}, } +inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md index fcbbab79..51d344d2 100644 --- a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/docs/API_docs/constructors/inputMediaVenue.md b/docs/API_docs/constructors/inputMediaVenue.md index 34205a69..ffc3330a 100644 --- a/docs/API_docs/constructors/inputMediaVenue.md +++ b/docs/API_docs/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/docs/API_docs/constructors/inputMessageEntityMentionName.md b/docs/API_docs/constructors/inputMessageEntityMentionName.md index 9465bf2b..2f763645 100644 --- a/docs/API_docs/constructors/inputMessageEntityMentionName.md +++ b/docs/API_docs/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md index 7a78f5c4..986dbd3b 100644 --- a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterDocument.md b/docs/API_docs/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/docs/API_docs/constructors/inputMessagesFilterDocument.md +++ b/docs/API_docs/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterEmpty.md b/docs/API_docs/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/docs/API_docs/constructors/inputMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterGif.md b/docs/API_docs/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/docs/API_docs/constructors/inputMessagesFilterGif.md +++ b/docs/API_docs/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterMusic.md b/docs/API_docs/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/docs/API_docs/constructors/inputMessagesFilterMusic.md +++ b/docs/API_docs/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md index 70531f22..3fec6cd0 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md @@ -21,13 +21,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example ### Example: ``` -$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; +$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +{"_": "inputMessagesFilterPhoneCalls", "missed": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool, } +inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotos.md b/docs/API_docs/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md index ff055dc6..97854ce4 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterRoundVideo attributes, type and example ### Example: ``` -$inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo', ]; +$inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterRoundVideo"} +{"_": "inputMessagesFilterRoundVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo', } +inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md index c848bedf..e32f285d 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterRoundVoice attributes, type and example ### Example: ``` -$inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice', ]; +$inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterRoundVoice"} +{"_": "inputMessagesFilterRoundVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice', } +inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterUrl.md b/docs/API_docs/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/docs/API_docs/constructors/inputMessagesFilterUrl.md +++ b/docs/API_docs/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterVideo.md b/docs/API_docs/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterVoice.md b/docs/API_docs/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/docs/API_docs/constructors/inputNotifyAll.md b/docs/API_docs/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/docs/API_docs/constructors/inputNotifyAll.md +++ b/docs/API_docs/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/docs/API_docs/constructors/inputNotifyChats.md b/docs/API_docs/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/docs/API_docs/constructors/inputNotifyChats.md +++ b/docs/API_docs/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/docs/API_docs/constructors/inputNotifyPeer.md b/docs/API_docs/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/docs/API_docs/constructors/inputNotifyPeer.md +++ b/docs/API_docs/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/docs/API_docs/constructors/inputNotifyUsers.md b/docs/API_docs/constructors/inputNotifyUsers.md index fdfd2081..aea07f03 100644 --- a/docs/API_docs/constructors/inputNotifyUsers.md +++ b/docs/API_docs/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentials.md b/docs/API_docs/constructors/inputPaymentCredentials.md index 03d99d63..6aab94f0 100644 --- a/docs/API_docs/constructors/inputPaymentCredentials.md +++ b/docs/API_docs/constructors/inputPaymentCredentials.md @@ -22,13 +22,13 @@ description: inputPaymentCredentials attributes, type and example ### Example: ``` -$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; +$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +{"_": "inputPaymentCredentials", "save": Bool, "data": DataJSON} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON, } +inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md index d3117a9d..ab953e59 100644 --- a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md +++ b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md @@ -22,13 +22,13 @@ description: inputPaymentCredentialsSaved attributes, type and example ### Example: ``` -$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; +$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +{"_": "inputPaymentCredentialsSaved", "id": "string", "tmp_password": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id=string, tmp_password=bytes, } +inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/docs/API_docs/constructors/inputPeerChannel.md b/docs/API_docs/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/docs/API_docs/constructors/inputPeerChannel.md +++ b/docs/API_docs/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/docs/API_docs/constructors/inputPeerChat.md +++ b/docs/API_docs/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/docs/API_docs/constructors/inputPeerEmpty.md b/docs/API_docs/constructors/inputPeerEmpty.md index 7102f0dd..eb5b28c0 100644 --- a/docs/API_docs/constructors/inputPeerEmpty.md +++ b/docs/API_docs/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/docs/API_docs/constructors/inputPeerNotifySettings.md +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/docs/API_docs/constructors/inputPeerSelf.md +++ b/docs/API_docs/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/docs/API_docs/constructors/inputPeerUser.md b/docs/API_docs/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/docs/API_docs/constructors/inputPeerUser.md +++ b/docs/API_docs/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 f9099021..681ce8c1 100644 --- a/docs/API_docs/constructors/inputPhoneCall.md +++ b/docs/API_docs/constructors/inputPhoneCall.md @@ -22,13 +22,13 @@ description: inputPhoneCall attributes, type and example ### Example: ``` -$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; +$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneCall","id":"long","access_hash":"long"} +{"_": "inputPhoneCall", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long, } +inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPhoneContact.md b/docs/API_docs/constructors/inputPhoneContact.md index 7efc68e0..496c439e 100644 --- a/docs/API_docs/constructors/inputPhoneContact.md +++ b/docs/API_docs/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/docs/API_docs/constructors/inputPhoto.md +++ b/docs/API_docs/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPhotoEmpty.md b/docs/API_docs/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/docs/API_docs/constructors/inputPhotoEmpty.md +++ b/docs/API_docs/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md +++ b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md index ba97f5df..fdb814ce 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example ### Example: ``` -$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; +$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyPhoneCall"} +{"_": "inputPrivacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall', } +inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md index 1b372052..85e5ac01 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/docs/API_docs/constructors/inputReportReasonOther.md b/docs/API_docs/constructors/inputReportReasonOther.md index ffd351a0..12013d75 100644 --- a/docs/API_docs/constructors/inputReportReasonOther.md +++ b/docs/API_docs/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonPornography.md b/docs/API_docs/constructors/inputReportReasonPornography.md index 866d691c..68eab479 100644 --- a/docs/API_docs/constructors/inputReportReasonPornography.md +++ b/docs/API_docs/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonSpam.md b/docs/API_docs/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/docs/API_docs/constructors/inputReportReasonSpam.md +++ b/docs/API_docs/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonViolence.md b/docs/API_docs/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/docs/API_docs/constructors/inputReportReasonViolence.md +++ b/docs/API_docs/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/docs/API_docs/constructors/inputStickerSetEmpty.md b/docs/API_docs/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/docs/API_docs/constructors/inputStickerSetEmpty.md +++ b/docs/API_docs/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/docs/API_docs/constructors/inputStickerSetID.md b/docs/API_docs/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/docs/API_docs/constructors/inputStickerSetID.md +++ b/docs/API_docs/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputStickerSetItem.md b/docs/API_docs/constructors/inputStickerSetItem.md index d3885e1f..b237a0b3 100644 --- a/docs/API_docs/constructors/inputStickerSetItem.md +++ b/docs/API_docs/constructors/inputStickerSetItem.md @@ -23,13 +23,13 @@ description: inputStickerSetItem attributes, type and example ### Example: ``` -$inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => string, 'mask_coords' => MaskCoords, ]; +$inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetItem","document":"InputDocument","emoji":"string","mask_coords":"MaskCoords"} +{"_": "inputStickerSetItem", "document": InputDocument, "emoji": "string", "mask_coords": MaskCoords} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji=string, mask_coords=MaskCoords, } +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 b34bcbb7..344c6a7a 100644 --- a/docs/API_docs/constructors/inputStickerSetShortName.md +++ b/docs/API_docs/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/docs/API_docs/constructors/inputStickeredMediaDocument.md b/docs/API_docs/constructors/inputStickeredMediaDocument.md index e7a64e8c..5f19e725 100644 --- a/docs/API_docs/constructors/inputStickeredMediaDocument.md +++ b/docs/API_docs/constructors/inputStickeredMediaDocument.md @@ -21,13 +21,13 @@ description: inputStickeredMediaDocument attributes, type and example ### Example: ``` -$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; +$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaDocument","id":"InputDocument"} +{"_": "inputStickeredMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument, } +inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/docs/API_docs/constructors/inputStickeredMediaPhoto.md b/docs/API_docs/constructors/inputStickeredMediaPhoto.md index d909033a..575918d7 100644 --- a/docs/API_docs/constructors/inputStickeredMediaPhoto.md +++ b/docs/API_docs/constructors/inputStickeredMediaPhoto.md @@ -21,13 +21,13 @@ description: inputStickeredMediaPhoto attributes, type and example ### Example: ``` -$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; +$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +{"_": "inputStickeredMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto, } +inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/docs/API_docs/constructors/inputUser.md b/docs/API_docs/constructors/inputUser.md index b1fc7046..a7b89ce5 100644 --- a/docs/API_docs/constructors/inputUser.md +++ b/docs/API_docs/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/docs/API_docs/constructors/inputUserEmpty.md +++ b/docs/API_docs/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/docs/API_docs/constructors/inputUserSelf.md b/docs/API_docs/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/docs/API_docs/constructors/inputUserSelf.md +++ b/docs/API_docs/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/docs/API_docs/constructors/inputWebDocument.md b/docs/API_docs/constructors/inputWebDocument.md index c6d30018..57b8fee6 100644 --- a/docs/API_docs/constructors/inputWebDocument.md +++ b/docs/API_docs/constructors/inputWebDocument.md @@ -24,13 +24,13 @@ description: inputWebDocument attributes, type and example ### Example: ``` -$inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputWebDocument", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputWebDocument={_='inputWebDocument', url=string, size=int, mime_type=string, attributes={DocumentAttribute}, } +inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/inputWebFileLocation.md b/docs/API_docs/constructors/inputWebFileLocation.md index dd65c97c..25f4fb92 100644 --- a/docs/API_docs/constructors/inputWebFileLocation.md +++ b/docs/API_docs/constructors/inputWebFileLocation.md @@ -22,13 +22,13 @@ description: inputWebFileLocation attributes, type and example ### Example: ``` -$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; +$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +{"_": "inputWebFileLocation", "url": "string", "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputWebFileLocation={_='inputWebFileLocation', url=string, access_hash=long, } +inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/docs/API_docs/constructors/invoice.md b/docs/API_docs/constructors/invoice.md index 594738d0..7c4f08b4 100644 --- a/docs/API_docs/constructors/invoice.md +++ b/docs/API_docs/constructors/invoice.md @@ -28,13 +28,13 @@ description: invoice attributes, type and example ### Example: ``` -$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; +$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +{"_": "invoice", "test": Bool, "name_requested": Bool, "phone_requested": Bool, "email_requested": Bool, "shipping_address_requested": Bool, "flexible": Bool, "currency": "string", "prices": [LabeledPrice]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency=string, prices={LabeledPrice}, } +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/docs/API_docs/constructors/ipPort.md b/docs/API_docs/constructors/ipPort.md index 4618541e..b4f4a2fb 100644 --- a/docs/API_docs/constructors/ipPort.md +++ b/docs/API_docs/constructors/ipPort.md @@ -22,13 +22,13 @@ description: ipPort attributes, type and example ### Example: ``` -$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int, ]; +$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"ipPort","ipv4":"int","port":"int"} +{"_": "ipPort", "ipv4": int, "port": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -ipPort={_='ipPort', ipv4=int, port=int, } +ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/docs/API_docs/constructors/keyboardButton.md b/docs/API_docs/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/docs/API_docs/constructors/keyboardButton.md +++ b/docs/API_docs/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonBuy.md b/docs/API_docs/constructors/keyboardButtonBuy.md index a01c257c..f680b447 100644 --- a/docs/API_docs/constructors/keyboardButtonBuy.md +++ b/docs/API_docs/constructors/keyboardButtonBuy.md @@ -21,13 +21,13 @@ description: keyboardButtonBuy attributes, type and example ### Example: ``` -$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; +$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonBuy","text":"string"} +{"_": "keyboardButtonBuy", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonBuy={_='keyboardButtonBuy', text=string, } +keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonCallback.md b/docs/API_docs/constructors/keyboardButtonCallback.md index 27bc68b8..0e6663f7 100644 --- a/docs/API_docs/constructors/keyboardButtonCallback.md +++ b/docs/API_docs/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonGame.md b/docs/API_docs/constructors/keyboardButtonGame.md index a8569aed..0c5c99ab 100644 --- a/docs/API_docs/constructors/keyboardButtonGame.md +++ b/docs/API_docs/constructors/keyboardButtonGame.md @@ -21,13 +21,13 @@ description: keyboardButtonGame attributes, type and example ### Example: ``` -$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; +$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonGame","text":"string"} +{"_": "keyboardButtonGame", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonGame={_='keyboardButtonGame', text=string, } +keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md index 38cdc756..eb15b244 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md +++ b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRequestPhone.md b/docs/API_docs/constructors/keyboardButtonRequestPhone.md index 9c76c330..744b2de6 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestPhone.md +++ b/docs/API_docs/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRow.md b/docs/API_docs/constructors/keyboardButtonRow.md index cc887b1b..a124c678 100644 --- a/docs/API_docs/constructors/keyboardButtonRow.md +++ b/docs/API_docs/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md index 76688727..97722a90 100644 --- a/docs/API_docs/constructors/keyboardButtonSwitchInline.md +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -23,13 +23,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/docs/API_docs/constructors/keyboardButtonUrl.md +++ b/docs/API_docs/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/docs/API_docs/constructors/labeledPrice.md b/docs/API_docs/constructors/labeledPrice.md index 0849bba2..d3859921 100644 --- a/docs/API_docs/constructors/labeledPrice.md +++ b/docs/API_docs/constructors/labeledPrice.md @@ -22,13 +22,13 @@ description: labeledPrice attributes, type and example ### Example: ``` -$labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; +$labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"labeledPrice","label":"string","amount":"long"} +{"_": "labeledPrice", "label": "string", "amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -labeledPrice={_='labeledPrice', label=string, amount=long, } +labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/docs/API_docs/constructors/langPackDifference.md b/docs/API_docs/constructors/langPackDifference.md index 28aa4ccf..5b5a773a 100644 --- a/docs/API_docs/constructors/langPackDifference.md +++ b/docs/API_docs/constructors/langPackDifference.md @@ -24,13 +24,13 @@ description: langPackDifference attributes, type and example ### Example: ``` -$langPackDifference = ['_' => 'langPackDifference', 'lang_code' => string, 'from_version' => int, 'version' => int, 'strings' => [LangPackString], ]; +$langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"langPackDifference","lang_code":"string","from_version":"int","version":"int","strings":["LangPackString"]} +{"_": "langPackDifference", "lang_code": "string", "from_version": int, "version": int, "strings": [LangPackString]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -langPackDifference={_='langPackDifference', lang_code=string, from_version=int, version=int, strings={LangPackString}, } +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 27b11053..8d7ef660 100644 --- a/docs/API_docs/constructors/langPackLanguage.md +++ b/docs/API_docs/constructors/langPackLanguage.md @@ -23,13 +23,13 @@ description: langPackLanguage attributes, type and example ### Example: ``` -$langPackLanguage = ['_' => 'langPackLanguage', 'name' => string, 'native_name' => string, 'lang_code' => string, ]; +$langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"langPackLanguage","name":"string","native_name":"string","lang_code":"string"} +{"_": "langPackLanguage", "name": "string", "native_name": "string", "lang_code": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -langPackLanguage={_='langPackLanguage', name=string, native_name=string, lang_code=string, } +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 2af643c0..5e74808b 100644 --- a/docs/API_docs/constructors/langPackString.md +++ b/docs/API_docs/constructors/langPackString.md @@ -22,13 +22,13 @@ description: langPackString attributes, type and example ### Example: ``` -$langPackString = ['_' => 'langPackString', 'key' => string, 'value' => string, ]; +$langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"langPackString","key":"string","value":"string"} +{"_": "langPackString", "key": "string", "value": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -langPackString={_='langPackString', key=string, value=string, } +langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/docs/API_docs/constructors/langPackStringDeleted.md b/docs/API_docs/constructors/langPackStringDeleted.md index 94bbb263..a7ed1422 100644 --- a/docs/API_docs/constructors/langPackStringDeleted.md +++ b/docs/API_docs/constructors/langPackStringDeleted.md @@ -21,13 +21,13 @@ description: langPackStringDeleted attributes, type and example ### Example: ``` -$langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => string, ]; +$langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"langPackStringDeleted","key":"string"} +{"_": "langPackStringDeleted", "key": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -langPackStringDeleted={_='langPackStringDeleted', key=string, } +langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/docs/API_docs/constructors/langPackStringPluralized.md b/docs/API_docs/constructors/langPackStringPluralized.md index 7ceffdb4..7e6c7e1e 100644 --- a/docs/API_docs/constructors/langPackStringPluralized.md +++ b/docs/API_docs/constructors/langPackStringPluralized.md @@ -27,13 +27,13 @@ description: langPackStringPluralized attributes, type and example ### Example: ``` -$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => string, 'zero_value' => string, 'one_value' => string, 'two_value' => string, 'few_value' => string, 'many_value' => string, 'other_value' => string, ]; +$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"langPackStringPluralized","key":"string","zero_value":"string","one_value":"string","two_value":"string","few_value":"string","many_value":"string","other_value":"string"} +{"_": "langPackStringPluralized", "key": "string", "zero_value": "string", "one_value": "string", "two_value": "string", "few_value": "string", "many_value": "string", "other_value": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -langPackStringPluralized={_='langPackStringPluralized', key=string, zero_value=string, one_value=string, two_value=string, few_value=string, many_value=string, other_value=string, } +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 72c25c0e..0a6190f5 100644 --- a/docs/API_docs/constructors/maskCoords.md +++ b/docs/API_docs/constructors/maskCoords.md @@ -24,13 +24,13 @@ description: maskCoords attributes, type and example ### Example: ``` -$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +{"_": "maskCoords", "n": int, "x": double, "y": double, "zoom": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double, } +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 cce1fc65..dfbeba59 100644 --- a/docs/API_docs/constructors/message.md +++ b/docs/API_docs/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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/docs/API_docs/constructors/messageActionChannelCreate.md b/docs/API_docs/constructors/messageActionChannelCreate.md index 444be550..8fc80694 100644 --- a/docs/API_docs/constructors/messageActionChannelCreate.md +++ b/docs/API_docs/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md index b63de131..f0d363ce 100644 --- a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md +++ b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatAddUser.md b/docs/API_docs/constructors/messageActionChatAddUser.md index 5edc7d3b..6df22673 100644 --- a/docs/API_docs/constructors/messageActionChatAddUser.md +++ b/docs/API_docs/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/docs/API_docs/constructors/messageActionChatCreate.md b/docs/API_docs/constructors/messageActionChatCreate.md index ff161bb5..e98d2cf8 100644 --- a/docs/API_docs/constructors/messageActionChatCreate.md +++ b/docs/API_docs/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/docs/API_docs/constructors/messageActionChatDeletePhoto.md b/docs/API_docs/constructors/messageActionChatDeletePhoto.md index f02942ea..a28d9cdb 100644 --- a/docs/API_docs/constructors/messageActionChatDeletePhoto.md +++ b/docs/API_docs/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/docs/API_docs/constructors/messageActionChatDeleteUser.md b/docs/API_docs/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/docs/API_docs/constructors/messageActionChatDeleteUser.md +++ b/docs/API_docs/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatEditPhoto.md b/docs/API_docs/constructors/messageActionChatEditPhoto.md index f69ef02a..9975dedf 100644 --- a/docs/API_docs/constructors/messageActionChatEditPhoto.md +++ b/docs/API_docs/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/docs/API_docs/constructors/messageActionChatEditTitle.md b/docs/API_docs/constructors/messageActionChatEditTitle.md index 3b955363..4c9ca799 100644 --- a/docs/API_docs/constructors/messageActionChatEditTitle.md +++ b/docs/API_docs/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/docs/API_docs/constructors/messageActionChatJoinedByLink.md b/docs/API_docs/constructors/messageActionChatJoinedByLink.md index 92ac7146..43b0460e 100644 --- a/docs/API_docs/constructors/messageActionChatJoinedByLink.md +++ b/docs/API_docs/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatMigrateTo.md b/docs/API_docs/constructors/messageActionChatMigrateTo.md index 7214d295..fcceb531 100644 --- a/docs/API_docs/constructors/messageActionChatMigrateTo.md +++ b/docs/API_docs/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionEmpty.md b/docs/API_docs/constructors/messageActionEmpty.md index 63d377cf..29aaf5c8 100644 --- a/docs/API_docs/constructors/messageActionEmpty.md +++ b/docs/API_docs/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/docs/API_docs/constructors/messageActionGameScore.md b/docs/API_docs/constructors/messageActionGameScore.md index 0f498dab..acb0208f 100644 --- a/docs/API_docs/constructors/messageActionGameScore.md +++ b/docs/API_docs/constructors/messageActionGameScore.md @@ -22,13 +22,13 @@ description: messageActionGameScore attributes, type and example ### Example: ``` -$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; +$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGameScore","game_id":"long","score":"int"} +{"_": "messageActionGameScore", "game_id": long, "score": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGameScore={_='messageActionGameScore', game_id=long, score=int, } +messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/docs/API_docs/constructors/messageActionHistoryClear.md b/docs/API_docs/constructors/messageActionHistoryClear.md index d576d087..78a1e098 100644 --- a/docs/API_docs/constructors/messageActionHistoryClear.md +++ b/docs/API_docs/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/docs/API_docs/constructors/messageActionPaymentSent.md b/docs/API_docs/constructors/messageActionPaymentSent.md index d926846a..54b2d6fb 100644 --- a/docs/API_docs/constructors/messageActionPaymentSent.md +++ b/docs/API_docs/constructors/messageActionPaymentSent.md @@ -22,13 +22,13 @@ description: messageActionPaymentSent attributes, type and example ### Example: ``` -$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; +$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +{"_": "messageActionPaymentSent", "currency": "string", "total_amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSent={_='messageActionPaymentSent', currency=string, total_amount=long, } +messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/docs/API_docs/constructors/messageActionPaymentSentMe.md b/docs/API_docs/constructors/messageActionPaymentSentMe.md index 32e5b4ae..b2a7d2a5 100644 --- a/docs/API_docs/constructors/messageActionPaymentSentMe.md +++ b/docs/API_docs/constructors/messageActionPaymentSentMe.md @@ -26,13 +26,13 @@ description: messageActionPaymentSentMe attributes, type and example ### Example: ``` -$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; +$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +{"_": "messageActionPaymentSentMe", "currency": "string", "total_amount": long, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "charge": PaymentCharge} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency=string, total_amount=long, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, charge=PaymentCharge, } +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 6eed4cd3..399cd91b 100644 --- a/docs/API_docs/constructors/messageActionPhoneCall.md +++ b/docs/API_docs/constructors/messageActionPhoneCall.md @@ -23,13 +23,13 @@ description: messageActionPhoneCall attributes, type and example ### Example: ``` -$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "messageActionPhoneCall", "call_id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int, } +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 c8595522..3887229f 100644 --- a/docs/API_docs/constructors/messageActionPinMessage.md +++ b/docs/API_docs/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/docs/API_docs/constructors/messageEmpty.md b/docs/API_docs/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/docs/API_docs/constructors/messageEmpty.md +++ b/docs/API_docs/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +messageEmpty={_='messageEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/messageEntityBold.md b/docs/API_docs/constructors/messageEntityBold.md index 7f10315f..32132485 100644 --- a/docs/API_docs/constructors/messageEntityBold.md +++ b/docs/API_docs/constructors/messageEntityBold.md @@ -24,13 +24,13 @@ Bold text ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityBotCommand.md b/docs/API_docs/constructors/messageEntityBotCommand.md index 4910ef16..23760e84 100644 --- a/docs/API_docs/constructors/messageEntityBotCommand.md +++ b/docs/API_docs/constructors/messageEntityBotCommand.md @@ -24,13 +24,13 @@ Bot command beginning with / ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityCode.md b/docs/API_docs/constructors/messageEntityCode.md index a3866f0e..1144d429 100644 --- a/docs/API_docs/constructors/messageEntityCode.md +++ b/docs/API_docs/constructors/messageEntityCode.md @@ -24,13 +24,13 @@ Text needs to be formatted as inside of code HTML tag ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityEmail.md b/docs/API_docs/constructors/messageEntityEmail.md index 3234baab..ebbac2f7 100644 --- a/docs/API_docs/constructors/messageEntityEmail.md +++ b/docs/API_docs/constructors/messageEntityEmail.md @@ -24,13 +24,13 @@ Email ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityHashtag.md b/docs/API_docs/constructors/messageEntityHashtag.md index 83683fe1..10425c9a 100644 --- a/docs/API_docs/constructors/messageEntityHashtag.md +++ b/docs/API_docs/constructors/messageEntityHashtag.md @@ -24,13 +24,13 @@ Hashtag beginning with # ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityItalic.md b/docs/API_docs/constructors/messageEntityItalic.md index a8a5004c..78158ba0 100644 --- a/docs/API_docs/constructors/messageEntityItalic.md +++ b/docs/API_docs/constructors/messageEntityItalic.md @@ -24,13 +24,13 @@ Italic text ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityMention.md b/docs/API_docs/constructors/messageEntityMention.md index 9fc33026..a0bd1b60 100644 --- a/docs/API_docs/constructors/messageEntityMention.md +++ b/docs/API_docs/constructors/messageEntityMention.md @@ -24,13 +24,13 @@ Mention of the user by his username ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityMentionName.md b/docs/API_docs/constructors/messageEntityMentionName.md index a4b7a506..ba47577c 100644 --- a/docs/API_docs/constructors/messageEntityMentionName.md +++ b/docs/API_docs/constructors/messageEntityMentionName.md @@ -25,13 +25,13 @@ Mention of the user by some text ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/docs/API_docs/constructors/messageEntityPre.md b/docs/API_docs/constructors/messageEntityPre.md index 18181198..0f910cb3 100644 --- a/docs/API_docs/constructors/messageEntityPre.md +++ b/docs/API_docs/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 daa95d45..1625fbda 100644 --- a/docs/API_docs/constructors/messageEntityTextUrl.md +++ b/docs/API_docs/constructors/messageEntityTextUrl.md @@ -25,13 +25,13 @@ Text description showed instead of the url ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/docs/API_docs/constructors/messageEntityUnknown.md +++ b/docs/API_docs/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityUrl.md b/docs/API_docs/constructors/messageEntityUrl.md index 6c5411f0..682820bc 100644 --- a/docs/API_docs/constructors/messageEntityUrl.md +++ b/docs/API_docs/constructors/messageEntityUrl.md @@ -24,13 +24,13 @@ Url beginning with http ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageFwdHeader.md b/docs/API_docs/constructors/messageFwdHeader.md index 15b5b5f3..79bc318d 100644 --- a/docs/API_docs/constructors/messageFwdHeader.md +++ b/docs/API_docs/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/docs/API_docs/constructors/messageMediaContact.md b/docs/API_docs/constructors/messageMediaContact.md index 6b13355a..3866c420 100644 --- a/docs/API_docs/constructors/messageMediaContact.md +++ b/docs/API_docs/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/docs/API_docs/constructors/messageMediaDocument.md b/docs/API_docs/constructors/messageMediaDocument.md index 0fc6558b..613c0a3e 100644 --- a/docs/API_docs/constructors/messageMediaDocument.md +++ b/docs/API_docs/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/docs/API_docs/constructors/messageMediaEmpty.md b/docs/API_docs/constructors/messageMediaEmpty.md index d07e9680..aef3a07c 100644 --- a/docs/API_docs/constructors/messageMediaEmpty.md +++ b/docs/API_docs/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/messageMediaGame.md b/docs/API_docs/constructors/messageMediaGame.md index 349b9023..59f29080 100644 --- a/docs/API_docs/constructors/messageMediaGame.md +++ b/docs/API_docs/constructors/messageMediaGame.md @@ -21,13 +21,13 @@ description: messageMediaGame attributes, type and example ### Example: ``` -$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; +$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGame","game":"Game"} +{"_": "messageMediaGame", "game": Game} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGame={_='messageMediaGame', game=Game, } +messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/docs/API_docs/constructors/messageMediaGeo.md b/docs/API_docs/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/docs/API_docs/constructors/messageMediaGeo.md +++ b/docs/API_docs/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/docs/API_docs/constructors/messageMediaInvoice.md b/docs/API_docs/constructors/messageMediaInvoice.md index cfbcd280..7a59fb4b 100644 --- a/docs/API_docs/constructors/messageMediaInvoice.md +++ b/docs/API_docs/constructors/messageMediaInvoice.md @@ -29,13 +29,13 @@ description: messageMediaInvoice attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 3a915cff..c64d3a83 100644 --- a/docs/API_docs/constructors/messageMediaPhoto.md +++ b/docs/API_docs/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/docs/API_docs/constructors/messageMediaUnsupported.md b/docs/API_docs/constructors/messageMediaUnsupported.md index 3c37bacf..3d35399b 100644 --- a/docs/API_docs/constructors/messageMediaUnsupported.md +++ b/docs/API_docs/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/docs/API_docs/constructors/messageMediaVenue.md b/docs/API_docs/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/docs/API_docs/constructors/messageMediaVenue.md +++ b/docs/API_docs/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/docs/API_docs/constructors/messageMediaWebPage.md b/docs/API_docs/constructors/messageMediaWebPage.md index 34c05a2c..a9773c42 100644 --- a/docs/API_docs/constructors/messageMediaWebPage.md +++ b/docs/API_docs/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/docs/API_docs/constructors/messageRange.md b/docs/API_docs/constructors/messageRange.md index dcf07b0c..16325e20 100644 --- a/docs/API_docs/constructors/messageRange.md +++ b/docs/API_docs/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/docs/API_docs/constructors/messageService.md +++ b/docs/API_docs/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/docs/API_docs/constructors/messages_affectedHistory.md +++ b/docs/API_docs/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/docs/API_docs/constructors/messages_affectedMessages.md +++ b/docs/API_docs/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/docs/API_docs/constructors/messages_allStickers.md +++ b/docs/API_docs/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/docs/API_docs/constructors/messages_allStickersNotModified.md +++ b/docs/API_docs/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md index 7cc54d64..561d9c4e 100644 --- a/docs/API_docs/constructors/messages_archivedStickers.md +++ b/docs/API_docs/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 d60a5957..50e5cc0c 100644 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -25,13 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, cache_time=int, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=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 8b1a8efc..b99605e6 100644 --- a/docs/API_docs/constructors/messages_botResults.md +++ b/docs/API_docs/constructors/messages_botResults.md @@ -26,13 +26,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md index 4c5e4839..ab6c600c 100644 --- a/docs/API_docs/constructors/messages_channelMessages.md +++ b/docs/API_docs/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/docs/API_docs/constructors/messages_chatFull.md +++ b/docs/API_docs/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/docs/API_docs/constructors/messages_chats.md +++ b/docs/API_docs/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 ddd00630..f0af5f47 100644 --- a/docs/API_docs/constructors/messages_chatsSlice.md +++ b/docs/API_docs/constructors/messages_chatsSlice.md @@ -22,13 +22,13 @@ description: messages_chatsSlice attributes, type and example ### Example: ``` -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; +$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +{"_": "messages.chatsSlice", "count": int, "chats": [Chat]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/docs/API_docs/constructors/messages_dhConfig.md +++ b/docs/API_docs/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/docs/API_docs/constructors/messages_dhConfigNotModified.md +++ b/docs/API_docs/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/docs/API_docs/constructors/messages_dialogs.md +++ b/docs/API_docs/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md index 2e43f07e..f8c14cfa 100644 --- a/docs/API_docs/constructors/messages_dialogsSlice.md +++ b/docs/API_docs/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md index beae5c36..1f23efe5 100644 --- a/docs/API_docs/constructors/messages_featuredStickers.md +++ b/docs/API_docs/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/docs/API_docs/constructors/messages_featuredStickersNotModified.md +++ b/docs/API_docs/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md index 7cf2eaac..2190e65d 100644 --- a/docs/API_docs/constructors/messages_foundGifs.md +++ b/docs/API_docs/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md index 6fdb3222..5897923e 100644 --- a/docs/API_docs/constructors/messages_highScores.md +++ b/docs/API_docs/constructors/messages_highScores.md @@ -22,13 +22,13 @@ description: messages_highScores attributes, type and example ### Example: ``` -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; +$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +{"_": "messages.highScores", "scores": [HighScore], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, } +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 f04529f4..5266ce3f 100644 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/docs/API_docs/constructors/messages_messages.md +++ b/docs/API_docs/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md index cc15c4cc..e35cd734 100644 --- a/docs/API_docs/constructors/messages_messagesSlice.md +++ b/docs/API_docs/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/docs/API_docs/constructors/messages_recentStickers.md +++ b/docs/API_docs/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md index d4c2f39a..c7cf1ea0 100644 --- a/docs/API_docs/constructors/messages_recentStickersNotModified.md +++ b/docs/API_docs/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_savedGifs.md b/docs/API_docs/constructors/messages_savedGifs.md index 6077da46..58584f39 100644 --- a/docs/API_docs/constructors/messages_savedGifs.md +++ b/docs/API_docs/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/docs/API_docs/constructors/messages_savedGifsNotModified.md +++ b/docs/API_docs/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md index c6bfb8eb..758937cf 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedFile.md +++ b/docs/API_docs/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedMessage.md +++ b/docs/API_docs/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/docs/API_docs/constructors/messages_stickerSet.md +++ b/docs/API_docs/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md index de93a6ad..0d968c5a 100644 --- a/docs/API_docs/constructors/messages_stickers.md +++ b/docs/API_docs/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md index 854e2d6c..74f940e8 100644 --- a/docs/API_docs/constructors/messages_stickersNotModified.md +++ b/docs/API_docs/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/docs/API_docs/constructors/msg_detailed_info.md b/docs/API_docs/constructors/msg_detailed_info.md index f92347b0..46559ea5 100644 --- a/docs/API_docs/constructors/msg_detailed_info.md +++ b/docs/API_docs/constructors/msg_detailed_info.md @@ -24,13 +24,13 @@ description: msg_detailed_info attributes, type and example ### Example: ``` -$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_detailed_info", "msg_id": long, "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int, } +msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/docs/API_docs/constructors/msg_new_detailed_info.md b/docs/API_docs/constructors/msg_new_detailed_info.md index b2a3db96..9cd1a8fd 100644 --- a/docs/API_docs/constructors/msg_new_detailed_info.md +++ b/docs/API_docs/constructors/msg_new_detailed_info.md @@ -23,13 +23,13 @@ description: msg_new_detailed_info attributes, type and example ### Example: ``` -$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_new_detailed_info", "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int, } +msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/docs/API_docs/constructors/msg_resend_req.md b/docs/API_docs/constructors/msg_resend_req.md index 2abb95c1..e1a7a48c 100644 --- a/docs/API_docs/constructors/msg_resend_req.md +++ b/docs/API_docs/constructors/msg_resend_req.md @@ -21,13 +21,13 @@ description: msg_resend_req attributes, type and example ### Example: ``` -$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; +$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_resend_req","msg_ids":["long"]} +{"_": "msg_resend_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_resend_req={_='msg_resend_req', msg_ids={long}, } +msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/docs/API_docs/constructors/msgs_ack.md b/docs/API_docs/constructors/msgs_ack.md index 8b1b2f9f..d680c16b 100644 --- a/docs/API_docs/constructors/msgs_ack.md +++ b/docs/API_docs/constructors/msgs_ack.md @@ -21,13 +21,13 @@ description: msgs_ack attributes, type and example ### Example: ``` -$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; +$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_ack","msg_ids":["long"]} +{"_": "msgs_ack", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_ack={_='msgs_ack', msg_ids={long}, } +msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/docs/API_docs/constructors/msgs_all_info.md b/docs/API_docs/constructors/msgs_all_info.md index 50a539bc..9a4ef23a 100644 --- a/docs/API_docs/constructors/msgs_all_info.md +++ b/docs/API_docs/constructors/msgs_all_info.md @@ -22,13 +22,13 @@ description: msgs_all_info attributes, type and example ### Example: ``` -$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; +$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +{"_": "msgs_all_info", "msg_ids": [long], "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_all_info={_='msgs_all_info', msg_ids={long}, info=string, } +msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/docs/API_docs/constructors/msgs_state_info.md b/docs/API_docs/constructors/msgs_state_info.md index d5819d23..2fe45bfa 100644 --- a/docs/API_docs/constructors/msgs_state_info.md +++ b/docs/API_docs/constructors/msgs_state_info.md @@ -22,13 +22,13 @@ description: msgs_state_info attributes, type and example ### Example: ``` -$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; +$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +{"_": "msgs_state_info", "req_msg_id": long, "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_state_info={_='msgs_state_info', req_msg_id=long, info=string, } +msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/docs/API_docs/constructors/msgs_state_req.md b/docs/API_docs/constructors/msgs_state_req.md index 8247b8c1..10a64750 100644 --- a/docs/API_docs/constructors/msgs_state_req.md +++ b/docs/API_docs/constructors/msgs_state_req.md @@ -21,13 +21,13 @@ description: msgs_state_req attributes, type and example ### Example: ``` -$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; +$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_req","msg_ids":["long"]} +{"_": "msgs_state_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_state_req={_='msgs_state_req', msg_ids={long}, } +msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/docs/API_docs/constructors/nearestDc.md b/docs/API_docs/constructors/nearestDc.md index ef49a6bd..fd8bb548 100644 --- a/docs/API_docs/constructors/nearestDc.md +++ b/docs/API_docs/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/docs/API_docs/constructors/new_session_created.md b/docs/API_docs/constructors/new_session_created.md index 5eac0fac..d3432a4a 100644 --- a/docs/API_docs/constructors/new_session_created.md +++ b/docs/API_docs/constructors/new_session_created.md @@ -23,13 +23,13 @@ description: new_session_created attributes, type and example ### Example: ``` -$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; +$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +{"_": "new_session_created", "first_msg_id": long, "unique_id": long, "server_salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long, } +new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/docs/API_docs/constructors/notifyAll.md b/docs/API_docs/constructors/notifyAll.md index 4762cd63..9e8d1bec 100644 --- a/docs/API_docs/constructors/notifyAll.md +++ b/docs/API_docs/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/docs/API_docs/constructors/notifyChats.md b/docs/API_docs/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/docs/API_docs/constructors/notifyChats.md +++ b/docs/API_docs/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/docs/API_docs/constructors/notifyPeer.md b/docs/API_docs/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/docs/API_docs/constructors/notifyPeer.md +++ b/docs/API_docs/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/docs/API_docs/constructors/notifyUsers.md b/docs/API_docs/constructors/notifyUsers.md index d849e785..86449f17 100644 --- a/docs/API_docs/constructors/notifyUsers.md +++ b/docs/API_docs/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/docs/API_docs/constructors/p_q_inner_data.md b/docs/API_docs/constructors/p_q_inner_data.md index b956ca92..b2c31669 100644 --- a/docs/API_docs/constructors/p_q_inner_data.md +++ b/docs/API_docs/constructors/p_q_inner_data.md @@ -26,13 +26,13 @@ description: p_q_inner_data attributes, type and example ### Example: ``` -$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; +$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +{"_": "p_q_inner_data", "pq": "string", "p": "string", "q": "string", "nonce": int128, "server_nonce": int128, "new_nonce": int256} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -p_q_inner_data={_='p_q_inner_data', pq=string, p=string, q=string, nonce=int128, server_nonce=int128, new_nonce=int256, } +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/docs/API_docs/constructors/pageBlockAnchor.md b/docs/API_docs/constructors/pageBlockAnchor.md index 7e7e3582..381641d8 100644 --- a/docs/API_docs/constructors/pageBlockAnchor.md +++ b/docs/API_docs/constructors/pageBlockAnchor.md @@ -21,13 +21,13 @@ description: pageBlockAnchor attributes, type and example ### Example: ``` -$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; +$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAnchor","name":"string"} +{"_": "pageBlockAnchor", "name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockAnchor={_='pageBlockAnchor', name=string, } +pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/docs/API_docs/constructors/pageBlockAudio.md b/docs/API_docs/constructors/pageBlockAudio.md index 36b37b62..1f8d87ab 100644 --- a/docs/API_docs/constructors/pageBlockAudio.md +++ b/docs/API_docs/constructors/pageBlockAudio.md @@ -22,13 +22,13 @@ description: pageBlockAudio attributes, type and example ### Example: ``` -$pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText, ]; +$pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAudio","audio_id":"long","caption":"RichText"} +{"_": "pageBlockAudio", "audio_id": long, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText, } +pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockAuthorDate.md b/docs/API_docs/constructors/pageBlockAuthorDate.md index b30337e1..83a9830d 100644 --- a/docs/API_docs/constructors/pageBlockAuthorDate.md +++ b/docs/API_docs/constructors/pageBlockAuthorDate.md @@ -22,13 +22,13 @@ description: pageBlockAuthorDate attributes, type and example ### Example: ``` -$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; +$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +{"_": "pageBlockAuthorDate", "author": RichText, "published_date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int, } +pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/docs/API_docs/constructors/pageBlockBlockquote.md b/docs/API_docs/constructors/pageBlockBlockquote.md index 03b93ab7..c7da7f93 100644 --- a/docs/API_docs/constructors/pageBlockBlockquote.md +++ b/docs/API_docs/constructors/pageBlockBlockquote.md @@ -22,13 +22,13 @@ description: pageBlockBlockquote attributes, type and example ### Example: ``` -$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockBlockquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText, } +pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockChannel.md b/docs/API_docs/constructors/pageBlockChannel.md index bc43c4f8..9cadbb17 100644 --- a/docs/API_docs/constructors/pageBlockChannel.md +++ b/docs/API_docs/constructors/pageBlockChannel.md @@ -21,13 +21,13 @@ description: pageBlockChannel attributes, type and example ### Example: ``` -$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat, ]; +$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockChannel","channel":"Chat"} +{"_": "pageBlockChannel", "channel": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockChannel={_='pageBlockChannel', channel=Chat, } +pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/docs/API_docs/constructors/pageBlockCollage.md b/docs/API_docs/constructors/pageBlockCollage.md index 7ae744f5..dc608ca7 100644 --- a/docs/API_docs/constructors/pageBlockCollage.md +++ b/docs/API_docs/constructors/pageBlockCollage.md @@ -22,13 +22,13 @@ description: pageBlockCollage attributes, type and example ### Example: ``` -$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockCollage", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText, } +pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockCover.md b/docs/API_docs/constructors/pageBlockCover.md index 5c91d850..ed4b125c 100644 --- a/docs/API_docs/constructors/pageBlockCover.md +++ b/docs/API_docs/constructors/pageBlockCover.md @@ -21,13 +21,13 @@ description: pageBlockCover attributes, type and example ### Example: ``` -$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; +$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCover","cover":"PageBlock"} +{"_": "pageBlockCover", "cover": PageBlock} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockCover={_='pageBlockCover', cover=PageBlock, } +pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/docs/API_docs/constructors/pageBlockDivider.md b/docs/API_docs/constructors/pageBlockDivider.md index 03b6b756..05080a18 100644 --- a/docs/API_docs/constructors/pageBlockDivider.md +++ b/docs/API_docs/constructors/pageBlockDivider.md @@ -16,13 +16,13 @@ description: pageBlockDivider attributes, type and example ### Example: ``` -$pageBlockDivider = ['_' => 'pageBlockDivider', ]; +$pageBlockDivider = ['_' => 'pageBlockDivider']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockDivider"} +{"_": "pageBlockDivider"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockDivider={_='pageBlockDivider', } +pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/docs/API_docs/constructors/pageBlockEmbed.md b/docs/API_docs/constructors/pageBlockEmbed.md index acc257b8..469ea6da 100644 --- a/docs/API_docs/constructors/pageBlockEmbed.md +++ b/docs/API_docs/constructors/pageBlockEmbed.md @@ -28,13 +28,13 @@ description: pageBlockEmbed attributes, type and example ### Example: ``` -$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; +$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +{"_": "pageBlockEmbed", "full_width": Bool, "allow_scrolling": Bool, "url": "string", "html": "string", "poster_photo_id": long, "w": int, "h": int, "caption": RichText} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } +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 7bd9a9cf..353ecc16 100644 --- a/docs/API_docs/constructors/pageBlockEmbedPost.md +++ b/docs/API_docs/constructors/pageBlockEmbedPost.md @@ -27,13 +27,13 @@ description: pageBlockEmbedPost attributes, type and example ### Example: ``` -$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; +$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockEmbedPost", "url": "string", "webpage_id": long, "author_photo_id": long, "author": "string", "date": int, "blocks": [PageBlock], "caption": RichText} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -pageBlockEmbedPost={_='pageBlockEmbedPost', url=string, webpage_id=long, author_photo_id=long, author=string, date=int, blocks={PageBlock}, caption=RichText, } +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 b35e731e..f9ca45a0 100644 --- a/docs/API_docs/constructors/pageBlockFooter.md +++ b/docs/API_docs/constructors/pageBlockFooter.md @@ -21,13 +21,13 @@ description: pageBlockFooter attributes, type and example ### Example: ``` -$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; +$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockFooter","text":"RichText"} +{"_": "pageBlockFooter", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockFooter={_='pageBlockFooter', text=RichText, } +pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockHeader.md b/docs/API_docs/constructors/pageBlockHeader.md index 69fb595d..d689cce7 100644 --- a/docs/API_docs/constructors/pageBlockHeader.md +++ b/docs/API_docs/constructors/pageBlockHeader.md @@ -21,13 +21,13 @@ description: pageBlockHeader attributes, type and example ### Example: ``` -$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; +$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockHeader","text":"RichText"} +{"_": "pageBlockHeader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockHeader={_='pageBlockHeader', text=RichText, } +pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockList.md b/docs/API_docs/constructors/pageBlockList.md index e3608efe..3f6b4a84 100644 --- a/docs/API_docs/constructors/pageBlockList.md +++ b/docs/API_docs/constructors/pageBlockList.md @@ -22,13 +22,13 @@ description: pageBlockList attributes, type and example ### Example: ``` -$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; +$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +{"_": "pageBlockList", "ordered": Bool, "items": [RichText]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}, } +pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/docs/API_docs/constructors/pageBlockParagraph.md b/docs/API_docs/constructors/pageBlockParagraph.md index c3cae789..be2bb42e 100644 --- a/docs/API_docs/constructors/pageBlockParagraph.md +++ b/docs/API_docs/constructors/pageBlockParagraph.md @@ -21,13 +21,13 @@ description: pageBlockParagraph attributes, type and example ### Example: ``` -$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; +$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockParagraph","text":"RichText"} +{"_": "pageBlockParagraph", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockParagraph={_='pageBlockParagraph', text=RichText, } +pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockPhoto.md b/docs/API_docs/constructors/pageBlockPhoto.md index cd89acb3..ab11b247 100644 --- a/docs/API_docs/constructors/pageBlockPhoto.md +++ b/docs/API_docs/constructors/pageBlockPhoto.md @@ -22,13 +22,13 @@ description: pageBlockPhoto attributes, type and example ### Example: ``` -$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; +$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +{"_": "pageBlockPhoto", "photo_id": long, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText, } +pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockPreformatted.md b/docs/API_docs/constructors/pageBlockPreformatted.md index 7fb3de67..b8e8d4e4 100644 --- a/docs/API_docs/constructors/pageBlockPreformatted.md +++ b/docs/API_docs/constructors/pageBlockPreformatted.md @@ -22,13 +22,13 @@ description: pageBlockPreformatted attributes, type and example ### Example: ``` -$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; +$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +{"_": "pageBlockPreformatted", "text": RichText, "language": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language=string, } +pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/docs/API_docs/constructors/pageBlockPullquote.md b/docs/API_docs/constructors/pageBlockPullquote.md index 12c9fc4c..431942c1 100644 --- a/docs/API_docs/constructors/pageBlockPullquote.md +++ b/docs/API_docs/constructors/pageBlockPullquote.md @@ -22,13 +22,13 @@ description: pageBlockPullquote attributes, type and example ### Example: ``` -$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockPullquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText, } +pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSlideshow.md b/docs/API_docs/constructors/pageBlockSlideshow.md index de0d384c..d9e6526f 100644 --- a/docs/API_docs/constructors/pageBlockSlideshow.md +++ b/docs/API_docs/constructors/pageBlockSlideshow.md @@ -22,13 +22,13 @@ description: pageBlockSlideshow attributes, type and example ### Example: ``` -$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockSlideshow", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText, } +pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSubheader.md b/docs/API_docs/constructors/pageBlockSubheader.md index 7efc0a7c..b77c29ca 100644 --- a/docs/API_docs/constructors/pageBlockSubheader.md +++ b/docs/API_docs/constructors/pageBlockSubheader.md @@ -21,13 +21,13 @@ description: pageBlockSubheader attributes, type and example ### Example: ``` -$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; +$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubheader","text":"RichText"} +{"_": "pageBlockSubheader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubheader={_='pageBlockSubheader', text=RichText, } +pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSubtitle.md b/docs/API_docs/constructors/pageBlockSubtitle.md index 6551b737..0c288b01 100644 --- a/docs/API_docs/constructors/pageBlockSubtitle.md +++ b/docs/API_docs/constructors/pageBlockSubtitle.md @@ -21,13 +21,13 @@ description: pageBlockSubtitle attributes, type and example ### Example: ``` -$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; +$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubtitle","text":"RichText"} +{"_": "pageBlockSubtitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubtitle={_='pageBlockSubtitle', text=RichText, } +pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockTitle.md b/docs/API_docs/constructors/pageBlockTitle.md index 75f47508..bd9d9d32 100644 --- a/docs/API_docs/constructors/pageBlockTitle.md +++ b/docs/API_docs/constructors/pageBlockTitle.md @@ -21,13 +21,13 @@ description: pageBlockTitle attributes, type and example ### Example: ``` -$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; +$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockTitle","text":"RichText"} +{"_": "pageBlockTitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockTitle={_='pageBlockTitle', text=RichText, } +pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockUnsupported.md b/docs/API_docs/constructors/pageBlockUnsupported.md index 5b7d881f..ec2c4508 100644 --- a/docs/API_docs/constructors/pageBlockUnsupported.md +++ b/docs/API_docs/constructors/pageBlockUnsupported.md @@ -16,13 +16,13 @@ description: pageBlockUnsupported attributes, type and example ### Example: ``` -$pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; +$pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockUnsupported"} +{"_": "pageBlockUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockUnsupported={_='pageBlockUnsupported', } +pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/docs/API_docs/constructors/pageBlockVideo.md b/docs/API_docs/constructors/pageBlockVideo.md index 59a824c1..ac0197a5 100644 --- a/docs/API_docs/constructors/pageBlockVideo.md +++ b/docs/API_docs/constructors/pageBlockVideo.md @@ -24,13 +24,13 @@ description: pageBlockVideo attributes, type and example ### Example: ``` -$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; +$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +{"_": "pageBlockVideo", "autoplay": Bool, "loop": Bool, "video_id": long, "caption": RichText} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText, } +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 c1c2d245..eb20644c 100644 --- a/docs/API_docs/constructors/pageFull.md +++ b/docs/API_docs/constructors/pageFull.md @@ -23,13 +23,13 @@ description: pageFull attributes, type and example ### Example: ``` -$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ]; +$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"documents":["Document"]} +{"_": "pageFull", "blocks": [PageBlock], "photos": [Photo], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}, } +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 ebab5b40..d3bf3c2f 100644 --- a/docs/API_docs/constructors/pagePart.md +++ b/docs/API_docs/constructors/pagePart.md @@ -23,13 +23,13 @@ description: pagePart attributes, type and example ### Example: ``` -$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ]; +$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"documents":["Document"]} +{"_": "pagePart", "blocks": [PageBlock], "photos": [Photo], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}, } +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 2f9c6127..d9a29ddd 100644 --- a/docs/API_docs/constructors/paymentCharge.md +++ b/docs/API_docs/constructors/paymentCharge.md @@ -22,13 +22,13 @@ description: paymentCharge attributes, type and example ### Example: ``` -$paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; +$paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +{"_": "paymentCharge", "id": "string", "provider_charge_id": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentCharge={_='paymentCharge', id=string, provider_charge_id=string, } +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 a4e8612d..298906fb 100644 --- a/docs/API_docs/constructors/paymentRequestedInfo.md +++ b/docs/API_docs/constructors/paymentRequestedInfo.md @@ -24,13 +24,13 @@ description: paymentRequestedInfo attributes, type and example ### Example: ``` -$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; +$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +{"_": "paymentRequestedInfo", "name": "string", "phone": "string", "email": "string", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -paymentRequestedInfo={_='paymentRequestedInfo', name=string, phone=string, email=string, shipping_address=PostAddress, } +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 fd97903a..892c6abb 100644 --- a/docs/API_docs/constructors/paymentSavedCredentialsCard.md +++ b/docs/API_docs/constructors/paymentSavedCredentialsCard.md @@ -22,13 +22,13 @@ description: paymentSavedCredentialsCard attributes, type and example ### Example: ``` -$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; +$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +{"_": "paymentSavedCredentialsCard", "id": "string", "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id=string, title=string, } +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 dff13e64..bb1d4ad5 100644 --- a/docs/API_docs/constructors/payments_paymentForm.md +++ b/docs/API_docs/constructors/payments_paymentForm.md @@ -31,13 +31,13 @@ description: payments_paymentForm attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 90000f42..2b44e46d 100644 --- a/docs/API_docs/constructors/payments_paymentReceipt.md +++ b/docs/API_docs/constructors/payments_paymentReceipt.md @@ -30,13 +30,13 @@ description: payments_paymentReceipt attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 aad37320..a4b6bf33 100644 --- a/docs/API_docs/constructors/payments_paymentResult.md +++ b/docs/API_docs/constructors/payments_paymentResult.md @@ -21,13 +21,13 @@ description: payments_paymentResult attributes, type and example ### Example: ``` -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; +$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentResult","updates":"Updates"} +{"_": "payments.paymentResult", "updates": Updates} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentResult={_='payments.paymentResult', updates=Updates, } +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 0b2f4224..7cae0027 100644 --- a/docs/API_docs/constructors/payments_paymentVerficationNeeded.md +++ b/docs/API_docs/constructors/payments_paymentVerficationNeeded.md @@ -21,13 +21,13 @@ description: payments_paymentVerficationNeeded attributes, type and example ### Example: ``` -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; +$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentVerficationNeeded","url":"string"} +{"_": "payments.paymentVerficationNeeded", "url": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url=string, } +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 57e9b3ad..5f83e8ee 100644 --- a/docs/API_docs/constructors/payments_savedInfo.md +++ b/docs/API_docs/constructors/payments_savedInfo.md @@ -22,13 +22,13 @@ description: payments_savedInfo attributes, type and example ### Example: ``` -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; +$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +{"_": "payments.savedInfo", "has_saved_credentials": Bool, "saved_info": PaymentRequestedInfo} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo, } +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 7140482a..4782a899 100644 --- a/docs/API_docs/constructors/payments_validatedRequestedInfo.md +++ b/docs/API_docs/constructors/payments_validatedRequestedInfo.md @@ -22,13 +22,13 @@ description: payments_validatedRequestedInfo attributes, type and example ### Example: ``` -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; +$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +{"_": "payments.validatedRequestedInfo", "id": "string", "shipping_options": [ShippingOption]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id=string, shipping_options={ShippingOption}, } +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 56e15b2e..f022f632 100644 --- a/docs/API_docs/constructors/peerChannel.md +++ b/docs/API_docs/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/docs/API_docs/constructors/peerChat.md b/docs/API_docs/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/docs/API_docs/constructors/peerChat.md +++ b/docs/API_docs/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +peerChat={_='peerChat', chat_id=int} ``` diff --git a/docs/API_docs/constructors/peerNotifyEventsAll.md b/docs/API_docs/constructors/peerNotifyEventsAll.md index 815cc7dd..ec81cedf 100644 --- a/docs/API_docs/constructors/peerNotifyEventsAll.md +++ b/docs/API_docs/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/docs/API_docs/constructors/peerNotifyEventsEmpty.md b/docs/API_docs/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/docs/API_docs/constructors/peerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/docs/API_docs/constructors/peerNotifySettings.md +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/docs/API_docs/constructors/peerNotifySettingsEmpty.md b/docs/API_docs/constructors/peerNotifySettingsEmpty.md index 7aada33c..8e7c4c57 100644 --- a/docs/API_docs/constructors/peerNotifySettingsEmpty.md +++ b/docs/API_docs/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/docs/API_docs/constructors/peerSettings.md +++ b/docs/API_docs/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/docs/API_docs/constructors/peerUser.md b/docs/API_docs/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/docs/API_docs/constructors/peerUser.md +++ b/docs/API_docs/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +peerUser={_='peerUser', user_id=int} ``` diff --git a/docs/API_docs/constructors/phoneCall.md b/docs/API_docs/constructors/phoneCall.md index 6414af6f..0d4778d6 100644 --- a/docs/API_docs/constructors/phoneCall.md +++ b/docs/API_docs/constructors/phoneCall.md @@ -31,13 +31,13 @@ description: phoneCall attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 2065f97c..1914baa2 100644 --- a/docs/API_docs/constructors/phoneCallAccepted.md +++ b/docs/API_docs/constructors/phoneCallAccepted.md @@ -27,13 +27,13 @@ description: phoneCallAccepted attributes, type and example ### Example: ``` -$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallAccepted", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_b": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b=bytes, protocol=PhoneCallProtocol, } +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 a8041928..3b355a4b 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example ### Example: ``` -$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; +$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonBusy"} +{"_": "phoneCallDiscardReasonBusy"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy', } +phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md index c0567700..1c631e88 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example ### Example: ``` -$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; +$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonDisconnect"} +{"_": "phoneCallDiscardReasonDisconnect"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect', } +phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md index 7c108ec3..42bf1157 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example ### Example: ``` -$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; +$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonHangup"} +{"_": "phoneCallDiscardReasonHangup"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup', } +phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md index f6aa306c..3b4045b5 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example ### Example: ``` -$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; +$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonMissed"} +{"_": "phoneCallDiscardReasonMissed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed', } +phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscarded.md b/docs/API_docs/constructors/phoneCallDiscarded.md index 50f8bbaa..9a20badd 100644 --- a/docs/API_docs/constructors/phoneCallDiscarded.md +++ b/docs/API_docs/constructors/phoneCallDiscarded.md @@ -25,13 +25,13 @@ description: phoneCallDiscarded attributes, type and example ### Example: ``` -$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "phoneCallDiscarded", "need_rating": Bool, "need_debug": Bool, "id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int, } +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 ad8dec73..dfc9c860 100644 --- a/docs/API_docs/constructors/phoneCallEmpty.md +++ b/docs/API_docs/constructors/phoneCallEmpty.md @@ -21,13 +21,13 @@ description: phoneCallEmpty attributes, type and example ### Example: ``` -$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; +$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallEmpty","id":"long"} +{"_": "phoneCallEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -phoneCallEmpty={_='phoneCallEmpty', id=long, } +phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/phoneCallProtocol.md b/docs/API_docs/constructors/phoneCallProtocol.md index b4f6dffb..ec8bfca7 100644 --- a/docs/API_docs/constructors/phoneCallProtocol.md +++ b/docs/API_docs/constructors/phoneCallProtocol.md @@ -24,13 +24,13 @@ description: phoneCallProtocol attributes, type and example ### Example: ``` -$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; +$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +{"_": "phoneCallProtocol", "udp_p2p": Bool, "udp_reflector": Bool, "min_layer": int, "max_layer": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, } +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 64d3a65c..f989d3f2 100644 --- a/docs/API_docs/constructors/phoneCallRequested.md +++ b/docs/API_docs/constructors/phoneCallRequested.md @@ -27,13 +27,13 @@ description: phoneCallRequested attributes, type and example ### Example: ``` -$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallRequested", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_hash": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash=bytes, protocol=PhoneCallProtocol, } +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 702a868f..5cb5dd71 100644 --- a/docs/API_docs/constructors/phoneCallWaiting.md +++ b/docs/API_docs/constructors/phoneCallWaiting.md @@ -27,13 +27,13 @@ description: phoneCallWaiting attributes, type and example ### Example: ``` -$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; +$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +{"_": "phoneCallWaiting", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "protocol": PhoneCallProtocol, "receive_date": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int, } +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 9c2c6a58..87ec67aa 100644 --- a/docs/API_docs/constructors/phoneConnection.md +++ b/docs/API_docs/constructors/phoneConnection.md @@ -25,13 +25,13 @@ description: phoneConnection attributes, type and example ### Example: ``` -$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; +$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +{"_": "phoneConnection", "id": long, "ip": "string", "ipv6": "string", "port": int, "peer_tag": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneConnection={_='phoneConnection', id=long, ip=string, ipv6=string, port=int, peer_tag=bytes, } +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 af0106eb..06bf1592 100644 --- a/docs/API_docs/constructors/phone_phoneCall.md +++ b/docs/API_docs/constructors/phone_phoneCall.md @@ -22,13 +22,13 @@ description: phone_phoneCall attributes, type and example ### Example: ``` -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; +$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +{"_": "phone.phoneCall", "phone_call": PhoneCall, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}, } +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 eeb39d1f..4c3434e0 100644 --- a/docs/API_docs/constructors/photo.md +++ b/docs/API_docs/constructors/photo.md @@ -25,13 +25,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "has_stickers": Bool, "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/docs/API_docs/constructors/photoCachedSize.md +++ b/docs/API_docs/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/docs/API_docs/constructors/photoCachedSize_23.md b/docs/API_docs/constructors/photoCachedSize_23.md index 98236087..e299a04b 100644 --- a/docs/API_docs/constructors/photoCachedSize_23.md +++ b/docs/API_docs/constructors/photoCachedSize_23.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize_23 = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize_23 = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize_23={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +photoCachedSize_23={_='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 32fda27e..3fbeaade 100644 --- a/docs/API_docs/constructors/photoEmpty.md +++ b/docs/API_docs/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +photoEmpty={_='photoEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/photoSize.md b/docs/API_docs/constructors/photoSize.md index 596b577c..857af470 100644 --- a/docs/API_docs/constructors/photoSize.md +++ b/docs/API_docs/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/docs/API_docs/constructors/photoSizeEmpty.md +++ b/docs/API_docs/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/docs/API_docs/constructors/photoSizeEmpty_23.md b/docs/API_docs/constructors/photoSizeEmpty_23.md index 8ccbb1a2..f39ca185 100644 --- a/docs/API_docs/constructors/photoSizeEmpty_23.md +++ b/docs/API_docs/constructors/photoSizeEmpty_23.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty_23 = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty_23 = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty_23={_='photoSizeEmpty', type=string, } +photoSizeEmpty_23={_='photoSizeEmpty', type='string'} ``` diff --git a/docs/API_docs/constructors/photoSize_23.md b/docs/API_docs/constructors/photoSize_23.md index 56940b4f..0e6b6e96 100644 --- a/docs/API_docs/constructors/photoSize_23.md +++ b/docs/API_docs/constructors/photoSize_23.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize_23 = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize_23 = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize_23={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +photoSize_23={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md index 39b48b0b..f6b3376d 100644 --- a/docs/API_docs/constructors/photos_photo.md +++ b/docs/API_docs/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/docs/API_docs/constructors/photos_photos.md +++ b/docs/API_docs/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/docs/API_docs/constructors/photos_photosSlice.md +++ b/docs/API_docs/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/docs/API_docs/constructors/pong.md b/docs/API_docs/constructors/pong.md index 5c03bb9b..e44a1ade 100644 --- a/docs/API_docs/constructors/pong.md +++ b/docs/API_docs/constructors/pong.md @@ -22,13 +22,13 @@ description: pong attributes, type and example ### Example: ``` -$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; +$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pong","msg_id":"long","ping_id":"long"} +{"_": "pong", "msg_id": long, "ping_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pong={_='pong', msg_id=long, ping_id=long, } +pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/docs/API_docs/constructors/postAddress.md b/docs/API_docs/constructors/postAddress.md index 5b656fd9..4af6eb79 100644 --- a/docs/API_docs/constructors/postAddress.md +++ b/docs/API_docs/constructors/postAddress.md @@ -26,13 +26,13 @@ description: postAddress attributes, type and example ### Example: ``` -$postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; +$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +{"_": "postAddress", "street_line1": "string", "street_line2": "string", "city": "string", "state": "string", "country_iso2": "string", "post_code": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -postAddress={_='postAddress', street_line1=string, street_line2=string, city=string, state=string, country_iso2=string, post_code=string, } +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 334bcd65..f91390f3 100644 --- a/docs/API_docs/constructors/privacyKeyChatInvite.md +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -22,13 +22,13 @@ Privacy key for managing ability of invitation of the user to chats ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/docs/API_docs/constructors/privacyKeyPhoneCall.md b/docs/API_docs/constructors/privacyKeyPhoneCall.md index 894dccb5..bcb57658 100644 --- a/docs/API_docs/constructors/privacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/privacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: privacyKeyPhoneCall attributes, type and example ### Example: ``` -$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; +$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyPhoneCall"} +{"_": "privacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyPhoneCall={_='privacyKeyPhoneCall', } +privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowAll.md b/docs/API_docs/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/docs/API_docs/constructors/privacyValueAllowAll.md +++ b/docs/API_docs/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowContacts.md b/docs/API_docs/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/docs/API_docs/constructors/privacyValueAllowContacts.md +++ b/docs/API_docs/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowUsers.md b/docs/API_docs/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/docs/API_docs/constructors/privacyValueAllowUsers.md +++ b/docs/API_docs/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowAll.md b/docs/API_docs/constructors/privacyValueDisallowAll.md index b1b39244..3d1d5c9e 100644 --- a/docs/API_docs/constructors/privacyValueDisallowAll.md +++ b/docs/API_docs/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowContacts.md b/docs/API_docs/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/docs/API_docs/constructors/privacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowUsers.md b/docs/API_docs/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/docs/API_docs/constructors/privacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/docs/API_docs/constructors/receivedNotifyMessage.md b/docs/API_docs/constructors/receivedNotifyMessage.md index e78cfdd1..1473cfec 100644 --- a/docs/API_docs/constructors/receivedNotifyMessage.md +++ b/docs/API_docs/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/docs/API_docs/constructors/replyInlineMarkup.md b/docs/API_docs/constructors/replyInlineMarkup.md index 76e87dc2..6884e2f7 100644 --- a/docs/API_docs/constructors/replyInlineMarkup.md +++ b/docs/API_docs/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md index 02a0779a..9012740e 100644 --- a/docs/API_docs/constructors/replyKeyboardForceReply.md +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md index 8b210933..c709c32a 100644 --- a/docs/API_docs/constructors/replyKeyboardHide.md +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md index 4269aeb9..fbba271e 100644 --- a/docs/API_docs/constructors/replyKeyboardMarkup.md +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/docs/API_docs/constructors/resPQ.md b/docs/API_docs/constructors/resPQ.md index 67f30009..273bd3fc 100644 --- a/docs/API_docs/constructors/resPQ.md +++ b/docs/API_docs/constructors/resPQ.md @@ -24,13 +24,13 @@ description: resPQ attributes, type and example ### Example: ``` -$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; +$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": "string", "server_public_key_fingerprints": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq=string, server_public_key_fingerprints={long}, } +resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/docs/API_docs/constructors/rpc_answer_dropped.md b/docs/API_docs/constructors/rpc_answer_dropped.md index 9ea5479b..88a3506c 100644 --- a/docs/API_docs/constructors/rpc_answer_dropped.md +++ b/docs/API_docs/constructors/rpc_answer_dropped.md @@ -23,13 +23,13 @@ description: rpc_answer_dropped attributes, type and example ### Example: ``` -$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; +$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +{"_": "rpc_answer_dropped", "msg_id": long, "seq_no": int, "bytes": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int, } +rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/docs/API_docs/constructors/rpc_answer_dropped_running.md b/docs/API_docs/constructors/rpc_answer_dropped_running.md index c3723abd..5b34fc87 100644 --- a/docs/API_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/API_docs/constructors/rpc_answer_dropped_running.md @@ -16,13 +16,13 @@ description: rpc_answer_dropped_running attributes, type and example ### Example: ``` -$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; +$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped_running"} +{"_": "rpc_answer_dropped_running"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped_running={_='rpc_answer_dropped_running', } +rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/docs/API_docs/constructors/rpc_answer_unknown.md b/docs/API_docs/constructors/rpc_answer_unknown.md index 58132b7a..51d22746 100644 --- a/docs/API_docs/constructors/rpc_answer_unknown.md +++ b/docs/API_docs/constructors/rpc_answer_unknown.md @@ -16,13 +16,13 @@ description: rpc_answer_unknown attributes, type and example ### Example: ``` -$rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; +$rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_unknown"} +{"_": "rpc_answer_unknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_unknown={_='rpc_answer_unknown', } +rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/docs/API_docs/constructors/rpc_error.md b/docs/API_docs/constructors/rpc_error.md index fe821e55..885ef35e 100644 --- a/docs/API_docs/constructors/rpc_error.md +++ b/docs/API_docs/constructors/rpc_error.md @@ -22,13 +22,13 @@ description: rpc_error attributes, type and example ### Example: ``` -$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; +$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_error","error_code":"int","error_message":"string"} +{"_": "rpc_error", "error_code": int, "error_message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -rpc_error={_='rpc_error', error_code=int, error_message=string, } +rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/docs/API_docs/constructors/sendMessageCancelAction.md b/docs/API_docs/constructors/sendMessageCancelAction.md index 368da243..21987038 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction.md +++ b/docs/API_docs/constructors/sendMessageCancelAction.md @@ -22,13 +22,13 @@ User cancels typing ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageCancelAction_17.md b/docs/API_docs/constructors/sendMessageCancelAction_17.md index 419235fb..bf924b0e 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction_17.md +++ b/docs/API_docs/constructors/sendMessageCancelAction_17.md @@ -22,13 +22,13 @@ User cancels typing ### Example: ``` -$sendMessageCancelAction_17 = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction_17 = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction_17={_='sendMessageCancelAction', } +sendMessageCancelAction_17={_='sendMessageCancelAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction.md b/docs/API_docs/constructors/sendMessageChooseContactAction.md index 4ffa3b26..a7a3dae1 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction.md @@ -22,13 +22,13 @@ User chooses contact to send ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction_17.md b/docs/API_docs/constructors/sendMessageChooseContactAction_17.md index c5bec179..77561861 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction_17.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction_17.md @@ -22,13 +22,13 @@ User chooses contact to send ### Example: ``` -$sendMessageChooseContactAction_17 = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction_17 = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction_17={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction_17={_='sendMessageChooseContactAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageGamePlayAction.md b/docs/API_docs/constructors/sendMessageGamePlayAction.md index 3fa832ac..8549a255 100644 --- a/docs/API_docs/constructors/sendMessageGamePlayAction.md +++ b/docs/API_docs/constructors/sendMessageGamePlayAction.md @@ -16,13 +16,13 @@ description: sendMessageGamePlayAction attributes, type and example ### Example: ``` -$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; +$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGamePlayAction"} +{"_": "sendMessageGamePlayAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGamePlayAction={_='sendMessageGamePlayAction', } +sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction.md b/docs/API_docs/constructors/sendMessageGeoLocationAction.md index 7d7f452d..842d18ba 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction.md @@ -22,13 +22,13 @@ User sends geolocation ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md b/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md index d28f5bbe..8f60355b 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md @@ -22,13 +22,13 @@ User sends geolocation ### Example: ``` -$sendMessageGeoLocationAction_17 = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction_17 = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction_17={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction_17={_='sendMessageGeoLocationAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction.md b/docs/API_docs/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md b/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md index 21c0d1c6..d5d1c334 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction_17 = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction_17 = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction_17={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction_17={_='sendMessageRecordAudioAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordRoundAction.md b/docs/API_docs/constructors/sendMessageRecordRoundAction.md index 254558be..6b6cbcb1 100644 --- a/docs/API_docs/constructors/sendMessageRecordRoundAction.md +++ b/docs/API_docs/constructors/sendMessageRecordRoundAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordRoundAction attributes, type and example ### Example: ``` -$sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction', ]; +$sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordRoundAction"} +{"_": "sendMessageRecordRoundAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordRoundAction={_='sendMessageRecordRoundAction', } +sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction.md b/docs/API_docs/constructors/sendMessageRecordVideoAction.md index fa88ccff..b2f86688 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction.md @@ -22,13 +22,13 @@ User records a video ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md b/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md index cf2180fa..b6bab6d6 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md @@ -22,13 +22,13 @@ User records a video ### Example: ``` -$sendMessageRecordVideoAction_17 = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction_17 = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction_17={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction_17={_='sendMessageRecordVideoAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageTypingAction.md b/docs/API_docs/constructors/sendMessageTypingAction.md index b53a5d2a..01c525a7 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction.md +++ b/docs/API_docs/constructors/sendMessageTypingAction.md @@ -22,13 +22,13 @@ User typing message ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageTypingAction_17.md b/docs/API_docs/constructors/sendMessageTypingAction_17.md index 75354a47..de72302d 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction_17.md +++ b/docs/API_docs/constructors/sendMessageTypingAction_17.md @@ -22,13 +22,13 @@ User typing message ### Example: ``` -$sendMessageTypingAction_17 = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction_17 = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction_17={_='sendMessageTypingAction', } +sendMessageTypingAction_17={_='sendMessageTypingAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction.md b/docs/API_docs/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md index 18e2c349..ade3de5d 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md @@ -16,13 +16,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction_17 = ['_' => 'sendMessageUploadAudioAction', ]; +$sendMessageUploadAudioAction_17 = ['_' => 'sendMessageUploadAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction"} +{"_": "sendMessageUploadAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction_17={_='sendMessageUploadAudioAction', } +sendMessageUploadAudioAction_17={_='sendMessageUploadAudioAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md index 1a2d1344..1ab0fd6e 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md @@ -23,13 +23,13 @@ User uploads a document ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md index e3a367d2..3a814db5 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md @@ -22,13 +22,13 @@ User uploads a document ### Example: ``` -$sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction', ]; +$sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction"} +{"_": "sendMessageUploadDocumentAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction_17={_='sendMessageUploadDocumentAction', } +sendMessageUploadDocumentAction_17={_='sendMessageUploadDocumentAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md index cdb5153f..8d8b9e0c 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md @@ -23,13 +23,13 @@ User uploads a photo ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md index 20cbfd95..36779d26 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md @@ -22,13 +22,13 @@ User uploads a photo ### Example: ``` -$sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction', ]; +$sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction"} +{"_": "sendMessageUploadPhotoAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction_17={_='sendMessageUploadPhotoAction', } +sendMessageUploadPhotoAction_17={_='sendMessageUploadPhotoAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadRoundAction.md b/docs/API_docs/constructors/sendMessageUploadRoundAction.md index 2cfcfc17..c2490620 100644 --- a/docs/API_docs/constructors/sendMessageUploadRoundAction.md +++ b/docs/API_docs/constructors/sendMessageUploadRoundAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadRoundAction attributes, type and example ### Example: ``` -$sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int, ]; +$sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadRoundAction","progress":"int"} +{"_": "sendMessageUploadRoundAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int, } +sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction.md b/docs/API_docs/constructors/sendMessageUploadVideoAction.md index be0e0b2a..af56375e 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction.md @@ -23,13 +23,13 @@ User uploads a video ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md index a4df5136..c922c884 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md @@ -22,13 +22,13 @@ User uploads a video ### Example: ``` -$sendMessageUploadVideoAction_17 = ['_' => 'sendMessageUploadVideoAction', ]; +$sendMessageUploadVideoAction_17 = ['_' => 'sendMessageUploadVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction"} +{"_": "sendMessageUploadVideoAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction_17={_='sendMessageUploadVideoAction', } +sendMessageUploadVideoAction_17={_='sendMessageUploadVideoAction'} ``` diff --git a/docs/API_docs/constructors/server_DH_inner_data.md b/docs/API_docs/constructors/server_DH_inner_data.md index 48ee3b47..573530f1 100644 --- a/docs/API_docs/constructors/server_DH_inner_data.md +++ b/docs/API_docs/constructors/server_DH_inner_data.md @@ -26,13 +26,13 @@ description: server_DH_inner_data attributes, type and example ### Example: ``` -$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => string, 'g_a' => string, 'server_time' => int, ]; +$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": "string", "g_a": "string", "server_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into 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, } +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/docs/API_docs/constructors/server_DH_params_fail.md b/docs/API_docs/constructors/server_DH_params_fail.md index 69df7594..b6f94870 100644 --- a/docs/API_docs/constructors/server_DH_params_fail.md +++ b/docs/API_docs/constructors/server_DH_params_fail.md @@ -23,13 +23,13 @@ description: server_DH_params_fail attributes, type and example ### Example: ``` -$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128, ]; +$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +{"_": "server_DH_params_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128, } +server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/docs/API_docs/constructors/server_DH_params_ok.md b/docs/API_docs/constructors/server_DH_params_ok.md index 724e78f0..d6f5a4b5 100644 --- a/docs/API_docs/constructors/server_DH_params_ok.md +++ b/docs/API_docs/constructors/server_DH_params_ok.md @@ -23,13 +23,13 @@ description: server_DH_params_ok attributes, type and example ### Example: ``` -$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; +$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer=string, } +server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/docs/API_docs/constructors/shippingOption.md b/docs/API_docs/constructors/shippingOption.md index cc20da56..246c919d 100644 --- a/docs/API_docs/constructors/shippingOption.md +++ b/docs/API_docs/constructors/shippingOption.md @@ -23,13 +23,13 @@ description: shippingOption attributes, type and example ### Example: ``` -$shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; +$shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +{"_": "shippingOption", "id": "string", "title": "string", "prices": [LabeledPrice]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -shippingOption={_='shippingOption', id=string, title=string, prices={LabeledPrice}, } +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 f8961950..e56a5794 100644 --- a/docs/API_docs/constructors/simpleDataBlock.md +++ b/docs/API_docs/constructors/simpleDataBlock.md @@ -21,13 +21,13 @@ description: simpleDataBlock attributes, type and example ### Example: ``` -$simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => string, ]; +$simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"simpleDataBlock","raw_data":"string"} +{"_": "simpleDataBlock", "raw_data": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -simpleDataBlock={_='simpleDataBlock', raw_data=string, } +simpleDataBlock={_='simpleDataBlock', raw_data='string'} ``` diff --git a/docs/API_docs/constructors/stickerPack.md b/docs/API_docs/constructors/stickerPack.md index 454c26ac..196ef102 100644 --- a/docs/API_docs/constructors/stickerPack.md +++ b/docs/API_docs/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md index 20964d59..41fd5b23 100644 --- a/docs/API_docs/constructors/stickerSet.md +++ b/docs/API_docs/constructors/stickerSet.md @@ -30,13 +30,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', 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/docs/API_docs/constructors/stickerSetCovered.md b/docs/API_docs/constructors/stickerSetCovered.md index 3421f170..1c6eed5a 100644 --- a/docs/API_docs/constructors/stickerSetCovered.md +++ b/docs/API_docs/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/docs/API_docs/constructors/stickerSetMultiCovered.md b/docs/API_docs/constructors/stickerSetMultiCovered.md index c71c0503..41502aa6 100644 --- a/docs/API_docs/constructors/stickerSetMultiCovered.md +++ b/docs/API_docs/constructors/stickerSetMultiCovered.md @@ -22,13 +22,13 @@ description: stickerSetMultiCovered attributes, type and example ### Example: ``` -$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; +$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +{"_": "stickerSetMultiCovered", "set": StickerSet, "covers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}, } +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 3ed39100..74007fbd 100644 --- a/docs/API_docs/constructors/storage_fileGif.md +++ b/docs/API_docs/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +storage_fileGif={_='storage.fileGif'} ``` diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md index 201d5827..a39da6bb 100644 --- a/docs/API_docs/constructors/storage_fileJpeg.md +++ b/docs/API_docs/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md index 875499c9..17db57e0 100644 --- a/docs/API_docs/constructors/storage_fileMov.md +++ b/docs/API_docs/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +storage_fileMov={_='storage.fileMov'} ``` diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md index 6aa9ff3a..ac5b25ca 100644 --- a/docs/API_docs/constructors/storage_fileMp3.md +++ b/docs/API_docs/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md index 3b1a46ee..6dd5e689 100644 --- a/docs/API_docs/constructors/storage_fileMp4.md +++ b/docs/API_docs/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md index b21ebe5a..312430dd 100644 --- a/docs/API_docs/constructors/storage_filePartial.md +++ b/docs/API_docs/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +storage_filePartial={_='storage.filePartial'} ``` diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md index 81ec6747..be9d121e 100644 --- a/docs/API_docs/constructors/storage_filePdf.md +++ b/docs/API_docs/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +storage_filePdf={_='storage.filePdf'} ``` diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md index 456bfc2c..64e9cb75 100644 --- a/docs/API_docs/constructors/storage_filePng.md +++ b/docs/API_docs/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +storage_filePng={_='storage.filePng'} ``` diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md index 6ee1a0af..7a9820a0 100644 --- a/docs/API_docs/constructors/storage_fileUnknown.md +++ b/docs/API_docs/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md index f034d8cf..3b5d69aa 100644 --- a/docs/API_docs/constructors/storage_fileWebp.md +++ b/docs/API_docs/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/docs/API_docs/constructors/textBold.md b/docs/API_docs/constructors/textBold.md index e701f64a..f7ea1391 100644 --- a/docs/API_docs/constructors/textBold.md +++ b/docs/API_docs/constructors/textBold.md @@ -21,13 +21,13 @@ description: textBold attributes, type and example ### Example: ``` -$textBold = ['_' => 'textBold', 'text' => RichText, ]; +$textBold = ['_' => 'textBold', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textBold","text":"RichText"} +{"_": "textBold", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textBold={_='textBold', text=RichText, } +textBold={_='textBold', text=RichText} ``` diff --git a/docs/API_docs/constructors/textConcat.md b/docs/API_docs/constructors/textConcat.md index 4cb1d8b4..f3641ab0 100644 --- a/docs/API_docs/constructors/textConcat.md +++ b/docs/API_docs/constructors/textConcat.md @@ -21,13 +21,13 @@ description: textConcat attributes, type and example ### Example: ``` -$textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; +$textConcat = ['_' => 'textConcat', 'texts' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textConcat","texts":["RichText"]} +{"_": "textConcat", "texts": [RichText]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textConcat={_='textConcat', texts={RichText}, } +textConcat={_='textConcat', texts={RichText}} ``` diff --git a/docs/API_docs/constructors/textEmail.md b/docs/API_docs/constructors/textEmail.md index 269829ac..c5eacd00 100644 --- a/docs/API_docs/constructors/textEmail.md +++ b/docs/API_docs/constructors/textEmail.md @@ -22,13 +22,13 @@ description: textEmail attributes, type and example ### Example: ``` -$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; +$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmail","text":"RichText","email":"string"} +{"_": "textEmail", "text": RichText, "email": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textEmail={_='textEmail', text=RichText, email=string, } +textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/docs/API_docs/constructors/textEmpty.md b/docs/API_docs/constructors/textEmpty.md index 9e0b229a..176c1327 100644 --- a/docs/API_docs/constructors/textEmpty.md +++ b/docs/API_docs/constructors/textEmpty.md @@ -16,13 +16,13 @@ description: textEmpty attributes, type and example ### Example: ``` -$textEmpty = ['_' => 'textEmpty', ]; +$textEmpty = ['_' => 'textEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmpty"} +{"_": "textEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -textEmpty={_='textEmpty', } +textEmpty={_='textEmpty'} ``` diff --git a/docs/API_docs/constructors/textFixed.md b/docs/API_docs/constructors/textFixed.md index 892359ad..1dc33a4e 100644 --- a/docs/API_docs/constructors/textFixed.md +++ b/docs/API_docs/constructors/textFixed.md @@ -21,13 +21,13 @@ description: textFixed attributes, type and example ### Example: ``` -$textFixed = ['_' => 'textFixed', 'text' => RichText, ]; +$textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textFixed","text":"RichText"} +{"_": "textFixed", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textFixed={_='textFixed', text=RichText, } +textFixed={_='textFixed', text=RichText} ``` diff --git a/docs/API_docs/constructors/textItalic.md b/docs/API_docs/constructors/textItalic.md index d8911436..86e6d933 100644 --- a/docs/API_docs/constructors/textItalic.md +++ b/docs/API_docs/constructors/textItalic.md @@ -21,13 +21,13 @@ description: textItalic attributes, type and example ### Example: ``` -$textItalic = ['_' => 'textItalic', 'text' => RichText, ]; +$textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textItalic","text":"RichText"} +{"_": "textItalic", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textItalic={_='textItalic', text=RichText, } +textItalic={_='textItalic', text=RichText} ``` diff --git a/docs/API_docs/constructors/textPlain.md b/docs/API_docs/constructors/textPlain.md index 9a4a04f2..d5084056 100644 --- a/docs/API_docs/constructors/textPlain.md +++ b/docs/API_docs/constructors/textPlain.md @@ -21,13 +21,13 @@ description: textPlain attributes, type and example ### Example: ``` -$textPlain = ['_' => 'textPlain', 'text' => string, ]; +$textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textPlain","text":"string"} +{"_": "textPlain", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textPlain={_='textPlain', text=string, } +textPlain={_='textPlain', text='string'} ``` diff --git a/docs/API_docs/constructors/textStrike.md b/docs/API_docs/constructors/textStrike.md index 5fcf7345..897de12c 100644 --- a/docs/API_docs/constructors/textStrike.md +++ b/docs/API_docs/constructors/textStrike.md @@ -21,13 +21,13 @@ description: textStrike attributes, type and example ### Example: ``` -$textStrike = ['_' => 'textStrike', 'text' => RichText, ]; +$textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textStrike","text":"RichText"} +{"_": "textStrike", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textStrike={_='textStrike', text=RichText, } +textStrike={_='textStrike', text=RichText} ``` diff --git a/docs/API_docs/constructors/textUnderline.md b/docs/API_docs/constructors/textUnderline.md index 6c9e19d1..74a18001 100644 --- a/docs/API_docs/constructors/textUnderline.md +++ b/docs/API_docs/constructors/textUnderline.md @@ -21,13 +21,13 @@ description: textUnderline attributes, type and example ### Example: ``` -$textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; +$textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUnderline","text":"RichText"} +{"_": "textUnderline", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textUnderline={_='textUnderline', text=RichText, } +textUnderline={_='textUnderline', text=RichText} ``` diff --git a/docs/API_docs/constructors/textUrl.md b/docs/API_docs/constructors/textUrl.md index f8df8e96..7c8027b4 100644 --- a/docs/API_docs/constructors/textUrl.md +++ b/docs/API_docs/constructors/textUrl.md @@ -23,13 +23,13 @@ description: textUrl attributes, type and example ### Example: ``` -$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; +$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +{"_": "textUrl", "text": RichText, "url": "string", "webpage_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -textUrl={_='textUrl', text=RichText, url=string, webpage_id=long, } +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 25b4c2c3..9e941404 100644 --- a/docs/API_docs/constructors/topPeer.md +++ b/docs/API_docs/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryBotsInline.md b/docs/API_docs/constructors/topPeerCategoryBotsInline.md index e6dc94bf..00bb3221 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsInline.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryBotsPM.md b/docs/API_docs/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsPM.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryChannels.md b/docs/API_docs/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/docs/API_docs/constructors/topPeerCategoryChannels.md +++ b/docs/API_docs/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md +++ b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryGroups.md b/docs/API_docs/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/docs/API_docs/constructors/topPeerCategoryGroups.md +++ b/docs/API_docs/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryPeers.md b/docs/API_docs/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/docs/API_docs/constructors/topPeerCategoryPeers.md +++ b/docs/API_docs/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 6c0bbcb0..73f32c2d 100644 --- a/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md +++ b/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md @@ -16,13 +16,13 @@ description: topPeerCategoryPhoneCalls attributes, type and example ### Example: ``` -$topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls', ]; +$topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPhoneCalls"} +{"_": "topPeerCategoryPhoneCalls"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls', } +topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/docs/API_docs/constructors/true.md b/docs/API_docs/constructors/true.md index ceac169d..d20cb9a0 100644 --- a/docs/API_docs/constructors/true.md +++ b/docs/API_docs/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/docs/API_docs/constructors/updateBotCallbackQuery.md b/docs/API_docs/constructors/updateBotCallbackQuery.md index 8275bafc..c5fa96e7 100644 --- a/docs/API_docs/constructors/updateBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateBotCallbackQuery.md @@ -27,13 +27,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data=bytes, game_short_name=string, } +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 9002aa9b..80424cfa 100644 --- a/docs/API_docs/constructors/updateBotInlineQuery.md +++ b/docs/API_docs/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/docs/API_docs/constructors/updateBotInlineSend.md +++ b/docs/API_docs/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 39c5ac38..359ca0b3 100644 --- a/docs/API_docs/constructors/updateBotPrecheckoutQuery.md +++ b/docs/API_docs/constructors/updateBotPrecheckoutQuery.md @@ -27,13 +27,13 @@ description: updateBotPrecheckoutQuery attributes, type and example ### Example: ``` -$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; +$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +{"_": "updateBotPrecheckoutQuery", "query_id": long, "user_id": int, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "currency": "string", "total_amount": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, currency=string, total_amount=long, } +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 070149e1..dbaa044a 100644 --- a/docs/API_docs/constructors/updateBotShippingQuery.md +++ b/docs/API_docs/constructors/updateBotShippingQuery.md @@ -24,13 +24,13 @@ description: updateBotShippingQuery attributes, type and example ### Example: ``` -$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; +$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +{"_": "updateBotShippingQuery", "query_id": long, "user_id": int, "payload": "bytes", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload=bytes, shipping_address=PostAddress, } +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 d5785cac..c3e7bd31 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSON.md +++ b/docs/API_docs/constructors/updateBotWebhookJSON.md @@ -21,13 +21,13 @@ description: updateBotWebhookJSON attributes, type and example ### Example: ``` -$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; +$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSON","data":"DataJSON"} +{"_": "updateBotWebhookJSON", "data": DataJSON} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON, } +updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md index ffcaaa4b..9b194a6f 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md +++ b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md @@ -23,13 +23,13 @@ description: updateBotWebhookJSONQuery attributes, type and example ### Example: ``` -$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; +$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +{"_": "updateBotWebhookJSONQuery", "query_id": long, "data": DataJSON, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int, } +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 a10bf4c2..c3165077 100644 --- a/docs/API_docs/constructors/updateChannel.md +++ b/docs/API_docs/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/docs/API_docs/constructors/updateChannelMessageViews.md b/docs/API_docs/constructors/updateChannelMessageViews.md index 13ae518f..95c61313 100644 --- a/docs/API_docs/constructors/updateChannelMessageViews.md +++ b/docs/API_docs/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/docs/API_docs/constructors/updateChannelPinnedMessage.md +++ b/docs/API_docs/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/docs/API_docs/constructors/updateChannelTooLong.md b/docs/API_docs/constructors/updateChannelTooLong.md index f0a327af..287dce39 100644 --- a/docs/API_docs/constructors/updateChannelTooLong.md +++ b/docs/API_docs/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/docs/API_docs/constructors/updateChannelWebPage.md b/docs/API_docs/constructors/updateChannelWebPage.md index e587d33e..11e97344 100644 --- a/docs/API_docs/constructors/updateChannelWebPage.md +++ b/docs/API_docs/constructors/updateChannelWebPage.md @@ -24,13 +24,13 @@ description: updateChannelWebPage attributes, type and example ### Example: ``` -$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateChannelWebPage", "channel_id": int, "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int, } +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 bf391961..d61acc4c 100644 --- a/docs/API_docs/constructors/updateChatAdmins.md +++ b/docs/API_docs/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdd.md +++ b/docs/API_docs/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdmin.md +++ b/docs/API_docs/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/docs/API_docs/constructors/updateChatParticipantDelete.md +++ b/docs/API_docs/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/docs/API_docs/constructors/updateChatParticipants.md +++ b/docs/API_docs/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/docs/API_docs/constructors/updateChatUserTyping.md b/docs/API_docs/constructors/updateChatUserTyping.md index 777d70ac..d3797e2e 100644 --- a/docs/API_docs/constructors/updateChatUserTyping.md +++ b/docs/API_docs/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 ed455bd6..3bf8ae50 100644 --- a/docs/API_docs/constructors/updateConfig.md +++ b/docs/API_docs/constructors/updateConfig.md @@ -16,13 +16,13 @@ description: updateConfig attributes, type and example ### Example: ``` -$updateConfig = ['_' => 'updateConfig', ]; +$updateConfig = ['_' => 'updateConfig']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateConfig"} +{"_": "updateConfig"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateConfig={_='updateConfig', } +updateConfig={_='updateConfig'} ``` diff --git a/docs/API_docs/constructors/updateContactLink.md b/docs/API_docs/constructors/updateContactLink.md index 31dfb463..9f38f26b 100644 --- a/docs/API_docs/constructors/updateContactLink.md +++ b/docs/API_docs/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/docs/API_docs/constructors/updateContactRegistered.md +++ b/docs/API_docs/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/docs/API_docs/constructors/updateDcOptions.md b/docs/API_docs/constructors/updateDcOptions.md index 6d7f0767..0e9c7cda 100644 --- a/docs/API_docs/constructors/updateDcOptions.md +++ b/docs/API_docs/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/docs/API_docs/constructors/updateDeleteChannelMessages.md b/docs/API_docs/constructors/updateDeleteChannelMessages.md index a078a880..8510ac72 100644 --- a/docs/API_docs/constructors/updateDeleteChannelMessages.md +++ b/docs/API_docs/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/docs/API_docs/constructors/updateDeleteMessages.md +++ b/docs/API_docs/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 38eb9c2d..e1362c0a 100644 --- a/docs/API_docs/constructors/updateDialogPinned.md +++ b/docs/API_docs/constructors/updateDialogPinned.md @@ -22,13 +22,13 @@ description: updateDialogPinned attributes, type and example ### Example: ``` -$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; +$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +{"_": "updateDialogPinned", "pinned": Bool, "peer": Peer} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer, } +updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/docs/API_docs/constructors/updateDraftMessage.md b/docs/API_docs/constructors/updateDraftMessage.md index 5dedfd93..9a1ddab7 100644 --- a/docs/API_docs/constructors/updateDraftMessage.md +++ b/docs/API_docs/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/docs/API_docs/constructors/updateEditChannelMessage.md b/docs/API_docs/constructors/updateEditChannelMessage.md index f2d2b288..b0898ef6 100644 --- a/docs/API_docs/constructors/updateEditChannelMessage.md +++ b/docs/API_docs/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/docs/API_docs/constructors/updateEditMessage.md +++ b/docs/API_docs/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/docs/API_docs/constructors/updateEncryptedChatTyping.md +++ b/docs/API_docs/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/docs/API_docs/constructors/updateEncryptedMessagesRead.md b/docs/API_docs/constructors/updateEncryptedMessagesRead.md index c56eea40..7e034e65 100644 --- a/docs/API_docs/constructors/updateEncryptedMessagesRead.md +++ b/docs/API_docs/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/docs/API_docs/constructors/updateEncryption.md +++ b/docs/API_docs/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md index a0fbf330..6b71357e 100644 --- a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md @@ -26,13 +26,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data=bytes, game_short_name=string, } +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 1555b39b..98eb0640 100644 --- a/docs/API_docs/constructors/updateLangPack.md +++ b/docs/API_docs/constructors/updateLangPack.md @@ -21,13 +21,13 @@ description: updateLangPack attributes, type and example ### Example: ``` -$updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference, ]; +$updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateLangPack","difference":"LangPackDifference"} +{"_": "updateLangPack", "difference": LangPackDifference} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateLangPack={_='updateLangPack', difference=LangPackDifference, } +updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/docs/API_docs/constructors/updateLangPackTooLong.md b/docs/API_docs/constructors/updateLangPackTooLong.md index cd1a51eb..75005bd2 100644 --- a/docs/API_docs/constructors/updateLangPackTooLong.md +++ b/docs/API_docs/constructors/updateLangPackTooLong.md @@ -16,13 +16,13 @@ description: updateLangPackTooLong attributes, type and example ### Example: ``` -$updateLangPackTooLong = ['_' => 'updateLangPackTooLong', ]; +$updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateLangPackTooLong"} +{"_": "updateLangPackTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateLangPackTooLong={_='updateLangPackTooLong', } +updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/docs/API_docs/constructors/updateMessageID.md b/docs/API_docs/constructors/updateMessageID.md index c6c04821..291cd3a9 100644 --- a/docs/API_docs/constructors/updateMessageID.md +++ b/docs/API_docs/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +updateMessageID={_='updateMessageID', id=int} ``` diff --git a/docs/API_docs/constructors/updateNewChannelMessage.md b/docs/API_docs/constructors/updateNewChannelMessage.md index 93e7d15b..b4f01a36 100644 --- a/docs/API_docs/constructors/updateNewChannelMessage.md +++ b/docs/API_docs/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/docs/API_docs/constructors/updateNewEncryptedMessage.md +++ b/docs/API_docs/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/docs/API_docs/constructors/updateNewMessage.md b/docs/API_docs/constructors/updateNewMessage.md index 2e5e1ae4..794b8ed4 100644 --- a/docs/API_docs/constructors/updateNewMessage.md +++ b/docs/API_docs/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/docs/API_docs/constructors/updateNotifySettings.md b/docs/API_docs/constructors/updateNotifySettings.md index 91374404..81415b8c 100644 --- a/docs/API_docs/constructors/updateNotifySettings.md +++ b/docs/API_docs/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/docs/API_docs/constructors/updatePhoneCall.md b/docs/API_docs/constructors/updatePhoneCall.md index f124d856..a11caa8f 100644 --- a/docs/API_docs/constructors/updatePhoneCall.md +++ b/docs/API_docs/constructors/updatePhoneCall.md @@ -21,13 +21,13 @@ description: updatePhoneCall attributes, type and example ### Example: ``` -$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; +$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePhoneCall","phone_call":"PhoneCall"} +{"_": "updatePhoneCall", "phone_call": PhoneCall} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall, } +updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/docs/API_docs/constructors/updatePinnedDialogs.md b/docs/API_docs/constructors/updatePinnedDialogs.md index cca37904..ef7a6ca5 100644 --- a/docs/API_docs/constructors/updatePinnedDialogs.md +++ b/docs/API_docs/constructors/updatePinnedDialogs.md @@ -21,13 +21,13 @@ description: updatePinnedDialogs attributes, type and example ### Example: ``` -$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; +$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePinnedDialogs","order":["Peer"]} +{"_": "updatePinnedDialogs", "order": [Peer]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}, } +updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/docs/API_docs/constructors/updatePrivacy.md b/docs/API_docs/constructors/updatePrivacy.md index c355fece..cec49a55 100644 --- a/docs/API_docs/constructors/updatePrivacy.md +++ b/docs/API_docs/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/docs/API_docs/constructors/updatePtsChanged.md b/docs/API_docs/constructors/updatePtsChanged.md index bc4c62dd..a8e3d53d 100644 --- a/docs/API_docs/constructors/updatePtsChanged.md +++ b/docs/API_docs/constructors/updatePtsChanged.md @@ -16,13 +16,13 @@ description: updatePtsChanged attributes, type and example ### Example: ``` -$updatePtsChanged = ['_' => 'updatePtsChanged', ]; +$updatePtsChanged = ['_' => 'updatePtsChanged']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePtsChanged"} +{"_": "updatePtsChanged"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatePtsChanged={_='updatePtsChanged', } +updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/docs/API_docs/constructors/updateReadChannelInbox.md b/docs/API_docs/constructors/updateReadChannelInbox.md index b5aea850..b566d250 100644 --- a/docs/API_docs/constructors/updateReadChannelInbox.md +++ b/docs/API_docs/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/docs/API_docs/constructors/updateReadChannelOutbox.md +++ b/docs/API_docs/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/docs/API_docs/constructors/updateReadFeaturedStickers.md +++ b/docs/API_docs/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/docs/API_docs/constructors/updateReadHistoryInbox.md b/docs/API_docs/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/docs/API_docs/constructors/updateReadHistoryInbox.md +++ b/docs/API_docs/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/docs/API_docs/constructors/updateReadHistoryOutbox.md +++ b/docs/API_docs/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/docs/API_docs/constructors/updateReadMessagesContents.md +++ b/docs/API_docs/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/docs/API_docs/constructors/updateRecentStickers.md +++ b/docs/API_docs/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/docs/API_docs/constructors/updateSavedGifs.md b/docs/API_docs/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/docs/API_docs/constructors/updateSavedGifs.md +++ b/docs/API_docs/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md index b8b75dcf..5a7daa72 100644 --- a/docs/API_docs/constructors/updateServiceNotification.md +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -26,13 +26,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateServiceNotification", "popup": Bool, "inbox_date": int, "type": "string", "message": "string", "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } +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 1095540f..8bf89b61 100644 --- a/docs/API_docs/constructors/updateShort.md +++ b/docs/API_docs/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md index ea43359c..b9127f34 100644 --- a/docs/API_docs/constructors/updateShortChatMessage.md +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/docs/API_docs/constructors/updateShortMessage.md +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/docs/API_docs/constructors/updateShortSentMessage.md +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/docs/API_docs/constructors/updateStickerSets.md +++ b/docs/API_docs/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md index 809b82d6..1f1f0943 100644 --- a/docs/API_docs/constructors/updateStickerSetsOrder.md +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -22,13 +22,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +{"_": "updateStickerSetsOrder", "masks": Bool, "order": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } +updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/docs/API_docs/constructors/updateUserBlocked.md b/docs/API_docs/constructors/updateUserBlocked.md index f46e8ab5..8733befe 100644 --- a/docs/API_docs/constructors/updateUserBlocked.md +++ b/docs/API_docs/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/docs/API_docs/constructors/updateUserName.md b/docs/API_docs/constructors/updateUserName.md index 7aecb2c7..3d94f772 100644 --- a/docs/API_docs/constructors/updateUserName.md +++ b/docs/API_docs/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/docs/API_docs/constructors/updateUserPhone.md +++ b/docs/API_docs/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/docs/API_docs/constructors/updateUserPhoto.md b/docs/API_docs/constructors/updateUserPhoto.md index 05939895..5b896def 100644 --- a/docs/API_docs/constructors/updateUserPhoto.md +++ b/docs/API_docs/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 98b5bcd5..1b5b7399 100644 --- a/docs/API_docs/constructors/updateUserStatus.md +++ b/docs/API_docs/constructors/updateUserStatus.md @@ -24,13 +24,13 @@ User went online/offline ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/docs/API_docs/constructors/updateUserTyping.md b/docs/API_docs/constructors/updateUserTyping.md index abcb0a59..f8e62ed4 100644 --- a/docs/API_docs/constructors/updateUserTyping.md +++ b/docs/API_docs/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/docs/API_docs/constructors/updateWebPage.md b/docs/API_docs/constructors/updateWebPage.md index 05ec2c4f..8727ae6f 100644 --- a/docs/API_docs/constructors/updateWebPage.md +++ b/docs/API_docs/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/docs/API_docs/constructors/updates.md +++ b/docs/API_docs/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/docs/API_docs/constructors/updatesCombined.md +++ b/docs/API_docs/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/docs/API_docs/constructors/updatesTooLong.md +++ b/docs/API_docs/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +updatesTooLong={_='updatesTooLong'} ``` diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md index 876e8d13..f4d08403 100644 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md index 4623d746..02e23406 100644 --- a/docs/API_docs/constructors/updates_difference.md +++ b/docs/API_docs/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/docs/API_docs/constructors/updates_differenceEmpty.md +++ b/docs/API_docs/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 8530a319..eff86075 100644 --- a/docs/API_docs/constructors/updates_differenceTooLong.md +++ b/docs/API_docs/constructors/updates_differenceTooLong.md @@ -21,13 +21,13 @@ description: updates_differenceTooLong attributes, type and example ### Example: ``` -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; +$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceTooLong","pts":"int"} +{"_": "updates.differenceTooLong", "pts": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updates_differenceTooLong={_='updates.differenceTooLong', pts=int, } +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 fe7d3697..24f5c429 100644 --- a/docs/API_docs/constructors/updates_state.md +++ b/docs/API_docs/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 56f32f29..574b4b71 100644 --- a/docs/API_docs/constructors/upload_cdnFile.md +++ b/docs/API_docs/constructors/upload_cdnFile.md @@ -21,13 +21,13 @@ description: upload_cdnFile attributes, type and example ### Example: ``` -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => bytes, ]; +$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.cdnFile","bytes":"bytes"} +{"_": "upload.cdnFile", "bytes": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -upload_cdnFile={_='upload.cdnFile', bytes=bytes, } +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 f52a8231..1cdefa5f 100644 --- a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md +++ b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md @@ -21,13 +21,13 @@ description: upload_cdnFileReuploadNeeded attributes, type and example ### Example: ``` -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => bytes, ]; +$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.cdnFileReuploadNeeded","request_token":"bytes"} +{"_": "upload.cdnFileReuploadNeeded", "request_token": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token=bytes, } +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 951d11be..1a05a54a 100644 --- a/docs/API_docs/constructors/upload_file.md +++ b/docs/API_docs/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 7ff6fd34..e348ea80 100644 --- a/docs/API_docs/constructors/upload_fileCdnRedirect.md +++ b/docs/API_docs/constructors/upload_fileCdnRedirect.md @@ -24,13 +24,13 @@ description: upload_fileCdnRedirect attributes, type and example ### Example: ``` -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => bytes, 'encryption_key' => bytes, 'encryption_iv' => bytes, ]; +$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.fileCdnRedirect","dc_id":"int","file_token":"bytes","encryption_key":"bytes","encryption_iv":"bytes"} +{"_": "upload.fileCdnRedirect", "dc_id": int, "file_token": "bytes", "encryption_key": "bytes", "encryption_iv": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token=bytes, encryption_key=bytes, encryption_iv=bytes, } +upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} ``` diff --git a/docs/API_docs/constructors/upload_webFile.md b/docs/API_docs/constructors/upload_webFile.md index f1cbb377..3e2c151c 100644 --- a/docs/API_docs/constructors/upload_webFile.md +++ b/docs/API_docs/constructors/upload_webFile.md @@ -25,13 +25,13 @@ description: upload_webFile attributes, type and example ### Example: ``` -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.webFile", "size": int, "mime_type": "string", "file_type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -upload_webFile={_='upload.webFile', size=int, mime_type=string, file_type=storage_FileType, mtime=int, bytes=bytes, } +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 1267168a..c2ad8ec6 100644 --- a/docs/API_docs/constructors/user.md +++ b/docs/API_docs/constructors/user.md @@ -43,13 +43,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -57,7 +57,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/docs/API_docs/constructors/userEmpty.md +++ b/docs/API_docs/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +userEmpty={_='userEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md index 06988eb2..2a0743c4 100644 --- a/docs/API_docs/constructors/userFull.md +++ b/docs/API_docs/constructors/userFull.md @@ -30,13 +30,13 @@ description: userFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 46935f91..db467a01 100644 --- a/docs/API_docs/constructors/userProfilePhoto.md +++ b/docs/API_docs/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/docs/API_docs/constructors/userProfilePhotoEmpty.md +++ b/docs/API_docs/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md index 44738d60..9403e757 100644 --- a/docs/API_docs/constructors/userStatusEmpty.md +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -22,13 +22,13 @@ User status was newer changed ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md index 7515a356..b07aef92 100644 --- a/docs/API_docs/constructors/userStatusLastMonth.md +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -22,13 +22,13 @@ User is offline, but was online last month ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md index 94e26c31..1b0421e2 100644 --- a/docs/API_docs/constructors/userStatusLastWeek.md +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -22,13 +22,13 @@ User is offline, but was online last week ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/docs/API_docs/constructors/userStatusOffline.md b/docs/API_docs/constructors/userStatusOffline.md index 510ee154..4970c73d 100644 --- a/docs/API_docs/constructors/userStatusOffline.md +++ b/docs/API_docs/constructors/userStatusOffline.md @@ -23,13 +23,13 @@ User is offline ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/docs/API_docs/constructors/userStatusOnline.md b/docs/API_docs/constructors/userStatusOnline.md index b38015c9..9d375ec2 100644 --- a/docs/API_docs/constructors/userStatusOnline.md +++ b/docs/API_docs/constructors/userStatusOnline.md @@ -23,13 +23,13 @@ User is online ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md index 323edf63..c828fbc1 100644 --- a/docs/API_docs/constructors/userStatusRecently.md +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -22,13 +22,13 @@ User was online recently ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/docs/API_docs/constructors/wallPaper.md b/docs/API_docs/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/docs/API_docs/constructors/wallPaper.md +++ b/docs/API_docs/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/docs/API_docs/constructors/wallPaperSolid.md +++ b/docs/API_docs/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/docs/API_docs/constructors/webDocument.md b/docs/API_docs/constructors/webDocument.md index fb6d743d..2e631576 100644 --- a/docs/API_docs/constructors/webDocument.md +++ b/docs/API_docs/constructors/webDocument.md @@ -26,13 +26,13 @@ description: webDocument attributes, type and example ### Example: ``` -$webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; +$webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +{"_": "webDocument", "url": "string", "access_hash": long, "size": int, "mime_type": "string", "attributes": [DocumentAttribute], "dc_id": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -webDocument={_='webDocument', url=string, access_hash=long, size=int, mime_type=string, attributes={DocumentAttribute}, dc_id=int, } +webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/docs/API_docs/constructors/webPage.md b/docs/API_docs/constructors/webPage.md index f73f1d50..6ec1965a 100644 --- a/docs/API_docs/constructors/webPage.md +++ b/docs/API_docs/constructors/webPage.md @@ -37,13 +37,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/docs/API_docs/constructors/webPageEmpty.md +++ b/docs/API_docs/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/webPageNotModified.md b/docs/API_docs/constructors/webPageNotModified.md index 1d9f9b84..d4424ad6 100644 --- a/docs/API_docs/constructors/webPageNotModified.md +++ b/docs/API_docs/constructors/webPageNotModified.md @@ -16,13 +16,13 @@ description: webPageNotModified attributes, type and example ### Example: ``` -$webPageNotModified = ['_' => 'webPageNotModified', ]; +$webPageNotModified = ['_' => 'webPageNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageNotModified"} +{"_": "webPageNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -webPageNotModified={_='webPageNotModified', } +webPageNotModified={_='webPageNotModified'} ``` diff --git a/docs/API_docs/constructors/webPagePending.md b/docs/API_docs/constructors/webPagePending.md index 8fff4944..d20c649f 100644 --- a/docs/API_docs/constructors/webPagePending.md +++ b/docs/API_docs/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index 036d0776..fd0e719d 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +Bool = account.checkUsername({username='string', }) ``` diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index 6ce6e811..aa7c10a6 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +Bool = account.deleteAccount({reason='string', }) ``` diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index ecf8927d..bf98335e 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"peer": InputNotifyPeer, } ``` diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index 58ddd52e..b2734d14 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"key": InputPrivacyKey, } ``` diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index 96aa50b2..e138a97c 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); +$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getTmpPassword -* params - {"password_hash":"bytes","period":"int"} +* params - {"password_hash": "bytes", "period": int, } ``` @@ -65,6 +65,6 @@ period - Json encoded int Or, if you're into Lua: ``` -account_TmpPassword = account.getTmpPassword({password_hash=bytes, period=int, }) +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 eadf8439..0872ad03 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 08c8d0d5..d8c73d58 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"peer": InputPeer, "reason": ReportReason, } ``` diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index 554f9ebd..8bf65dc7 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"hash": long, } ``` diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index 7fd39d0f..8c3c200b 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index 22bc69e3..fdf99d1d 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"ttl": AccountDaysTTL, } ``` diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index dfda5ba4..3e46450d 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"key": InputPrivacyKey, "rules": [InputPrivacyRule], } ``` diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index d922b321..b2ba9b7a 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index 79e3368b..f813be39 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"period": int, } ``` diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index fe2b6086..ce776bee 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"peer": InputNotifyPeer, "settings": InputPeerNotifySettings, } ``` diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 1ab32697..e0cbc452 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"offline": Bool, } ``` diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index c0472ad4..0114d1c7 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/docs/API_docs/methods/auth_bindTempAuthKey.md b/docs/API_docs/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/docs/API_docs/methods/auth_bindTempAuthKey.md +++ b/docs/API_docs/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/docs/API_docs/methods/auth_checkPassword.md b/docs/API_docs/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/docs/API_docs/methods/auth_checkPassword.md +++ b/docs/API_docs/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/docs/API_docs/methods/auth_checkPhone.md b/docs/API_docs/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/docs/API_docs/methods/auth_checkPhone.md +++ b/docs/API_docs/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 22e17d37..03b7d4f6 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.dropTempAuthKeys -* params - {"except_auth_keys":["long"]} +* params - {"except_auth_keys": [long], } ``` diff --git a/docs/API_docs/methods/auth_exportAuthorization.md b/docs/API_docs/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/docs/API_docs/methods/auth_exportAuthorization.md +++ b/docs/API_docs/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/docs/API_docs/methods/auth_importAuthorization.md b/docs/API_docs/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/docs/API_docs/methods/auth_importAuthorization.md +++ b/docs/API_docs/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/docs/API_docs/methods/auth_importBotAuthorization.md b/docs/API_docs/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/docs/API_docs/methods/auth_importBotAuthorization.md +++ b/docs/API_docs/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/docs/API_docs/methods/auth_logOut.md b/docs/API_docs/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/docs/API_docs/methods/auth_logOut.md +++ b/docs/API_docs/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/auth_sendCode.md b/docs/API_docs/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/docs/API_docs/methods/auth_sendCode.md +++ b/docs/API_docs/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/docs/API_docs/methods/auth_sendInvites.md b/docs/API_docs/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/docs/API_docs/methods/auth_sendInvites.md +++ b/docs/API_docs/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/docs/API_docs/methods/auth_signIn.md b/docs/API_docs/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/docs/API_docs/methods/auth_signIn.md +++ b/docs/API_docs/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/docs/API_docs/methods/auth_signUp.md b/docs/API_docs/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/docs/API_docs/methods/auth_signUp.md +++ b/docs/API_docs/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index 39582760..8a637304 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.answerWebhookJSONQuery -* params - {"query_id":"long","data":"DataJSON"} +* params - {"query_id": long, "data": DataJSON, } ``` diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index 5ccab83b..cca66231 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); +$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.sendCustomRequest -* params - {"custom_method":"string","params":"DataJSON"} +* params - {"custom_method": "string", "params": DataJSON, } ``` @@ -65,6 +65,6 @@ params - Json encoded DataJSON Or, if you're into Lua: ``` -DataJSON = bots.sendCustomRequest({custom_method=string, params=DataJSON, }) +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 e36fdf70..9e27625d 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 5ee8c6d7..c8f1c3fe 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"channel": InputChannel, "id": [int], } ``` diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index 60876564..7a0a412e 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"channel": InputChannel, "user_id": InputUser, } ``` diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index 2fad8dfb..eb76244f 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 17895948..42f5f9a9 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","admin_rights":"ChannelAdminRights"} +* params - {"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 ef0bd424..d7b80639 100644 --- a/docs/API_docs/methods/channels_editBanned.md +++ b/docs/API_docs/methods/channels_editBanned.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editBanned -* params - {"channel":"InputChannel","user_id":"InputUser","banned_rights":"ChannelBannedRights"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"channel": InputChannel, "photo": InputChatPhoto, } ``` diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index b7b268de..35f1fa4f 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index 4d5ba2df..7b40dab1 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"channel": InputChannel, "id": int, } ``` diff --git a/docs/API_docs/methods/channels_getAdminLog.md b/docs/API_docs/methods/channels_getAdminLog.md index 5fba97d1..a6bdf968 100644 --- a/docs/API_docs/methods/channels_getAdminLog.md +++ b/docs/API_docs/methods/channels_getAdminLog.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => string, 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminLog -* params - {"channel":"InputChannel","q":"string","events_filter":"ChannelAdminLogEventsFilter","admins":["InputUser"],"max_id":"long","min_id":"long","limit":"int"} +* params - {"channel": InputChannel, "q": "string", "events_filter": ChannelAdminLogEventsFilter, "admins": [InputUser], "max_id": long, "min_id": long, "limit": int, } ``` @@ -75,6 +75,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q=string, events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +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 85093ef6..2bc64b38 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminedPublicChannels -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index 133c939b..b6ef4626 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/docs/API_docs/methods/channels_getFullChannel.md b/docs/API_docs/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/docs/API_docs/methods/channels_getFullChannel.md +++ b/docs/API_docs/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"channel": InputChannel, "id": [int], } ``` diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index a7a7cde8..b1faeffa 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"channel": InputChannel, "user_id": InputUser, } ``` diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index 37e75089..76b8a662 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelParticipantsFilter, "offset": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 54a87c09..d8557a89 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"channel": InputChannel, "users": [InputUser], } ``` diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index fbeb6d84..20dedbe7 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index cbf00162..ceae9574 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index 819d4a13..83bf7fd4 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"channel": InputChannel, "max_id": int, } ``` diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index f40065bd..2189ec3c 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"channel": InputChannel, "user_id": InputUser, "id": [int], } ``` diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index 86569f90..2d5b858b 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"channel": InputChannel, "enabled": Bool, } ``` diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index ea833e9a..98c6cb2f 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"channel": InputChannel, "enabled": Bool, } ``` diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index 0fd2da72..208ed988 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index 26a74263..dbe1fbeb 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index c55f9ec8..1eec737a 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index 35d1087f..2ce6abff 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index a33a87c5..94864a55 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index 1f39ea26..932763a8 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index 0632c295..3c288b10 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","phone_calls":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"export_card": [int], } ``` diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index 30f9b4ac..97138cbd 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index adb3f83a..3313feac 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/docs/API_docs/methods/contacts_resolveUsername.md b/docs/API_docs/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/docs/API_docs/methods/contacts_resolveUsername.md +++ b/docs/API_docs/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index f3ba78d4..a8404417 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/docs/API_docs/methods/contest_saveDeveloperInfo.md b/docs/API_docs/methods/contest_saveDeveloperInfo.md index 8efc1475..b4c9751c 100644 --- a/docs/API_docs/methods/contest_saveDeveloperInfo.md +++ b/docs/API_docs/methods/contest_saveDeveloperInfo.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); +$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contest.saveDeveloperInfo -* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} +* params - {"vk_id": int, "name": "string", "phone_number": "string", "age": int, "city": "string", } ``` @@ -71,6 +71,6 @@ city - Json encoded string Or, if you're into Lua: ``` -Bool = contest.saveDeveloperInfo({vk_id=int, name=string, phone_number=string, age=int, city=string, }) +Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/docs/API_docs/methods/destroy_auth_key.md b/docs/API_docs/methods/destroy_auth_key.md index f7f98570..622bc83b 100644 --- a/docs/API_docs/methods/destroy_auth_key.md +++ b/docs/API_docs/methods/destroy_auth_key.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_auth_key -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/destroy_session.md b/docs/API_docs/methods/destroy_session.md index 6475b575..4f28f155 100644 --- a/docs/API_docs/methods/destroy_session.md +++ b/docs/API_docs/methods/destroy_session.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_session -* params - {"session_id":"long"} +* params - {"session_id": long, } ``` diff --git a/docs/API_docs/methods/get_future_salts.md b/docs/API_docs/methods/get_future_salts.md index ffc11909..655b7497 100644 --- a/docs/API_docs/methods/get_future_salts.md +++ b/docs/API_docs/methods/get_future_salts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - get_future_salts -* params - {"num":"int"} +* params - {"num": int, } ``` diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index d1ef32c4..c03127b6 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); +$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"prev_app_version":"string"} +* params - {"prev_app_version": "string", } ``` @@ -63,6 +63,6 @@ prev_app_version - Json encoded string Or, if you're into Lua: ``` -Updates = help.getAppChangelog({prev_app_version=string, }) +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 851fc06e..18592c84 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index 76f98928..5251ba33 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getCdnConfig -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_getTermsOfService.md b/docs/API_docs/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/docs/API_docs/methods/help_getTermsOfService.md +++ b/docs/API_docs/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index e9e6279e..cad05c2e 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); +$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.setBotUpdatesStatus -* params - {"pending_updates_count":"int","message":"string"} +* params - {"pending_updates_count": int, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = help.setBotUpdatesStatus({pending_updates_count=int, message=string, }) +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 685dc4db..253fa188 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->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, ]); +$X = $MadelineProto->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, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","system_lang_code":"string","lang_pack":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "system_lang_code": "string", "lang_pack": "string", "lang_code": "string", "query": !X, } ``` @@ -77,6 +77,6 @@ query - Json encoded !X Or, if you're into 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, }) +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/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index 2516ff1d..c1bdeca4 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"msg_id": long, "query": !X, } ``` diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index 548ca171..2519aee8 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"msg_ids": [long], "query": !X, } ``` diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 53033697..9eec7e1b 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"layer": int, "query": !X, } ``` diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index dba78ed9..2283953f 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/docs/API_docs/methods/langpack_getDifference.md b/docs/API_docs/methods/langpack_getDifference.md index 6187f88a..991c79e5 100644 --- a/docs/API_docs/methods/langpack_getDifference.md +++ b/docs/API_docs/methods/langpack_getDifference.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - langpack.getDifference -* params - {"from_version":"int"} +* params - {"from_version": int, } ``` diff --git a/docs/API_docs/methods/langpack_getLangPack.md b/docs/API_docs/methods/langpack_getLangPack.md index 16b0668d..477e3a8b 100644 --- a/docs/API_docs/methods/langpack_getLangPack.md +++ b/docs/API_docs/methods/langpack_getLangPack.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => string, ]); +$LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - langpack.getLangPack -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -LangPackDifference = langpack.getLangPack({lang_code=string, }) +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 12d07825..b99586a3 100644 --- a/docs/API_docs/methods/langpack_getLanguages.md +++ b/docs/API_docs/methods/langpack_getLanguages.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - langpack.getLanguages -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/langpack_getStrings.md b/docs/API_docs/methods/langpack_getStrings.md index fa87c3c0..811bd382 100644 --- a/docs/API_docs/methods/langpack_getStrings.md +++ b/docs/API_docs/methods/langpack_getStrings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => string, 'keys' => [string], ]); +$Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string'], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - langpack.getStrings -* params - {"lang_code":"string","keys":["string"]} +* params - {"lang_code": "string", "keys": ["string"], } ``` @@ -65,6 +65,6 @@ keys - Json encoded array of string Or, if you're into Lua: ``` -Vector_of_LangPackString = langpack.getStrings({lang_code=string, keys={string}, }) +Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/docs/API_docs/methods/messages_acceptEncryption.md b/docs/API_docs/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/docs/API_docs/methods/messages_acceptEncryption.md +++ b/docs/API_docs/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 9e8a99a1..a402f478 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - {"attached":"Bool"} +* params - {"attached": Bool, } ``` diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 081b07ad..24fdb148 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 7e7b074a..f6eb9730 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"revoke":"Bool","id":["int"]} +* params - {"revoke": Bool, "id": [int], } ``` diff --git a/docs/API_docs/methods/messages_discardEncryption.md b/docs/API_docs/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/docs/API_docs/methods/messages_discardEncryption.md +++ b/docs/API_docs/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_id": int, } ``` diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index 2ad6d72c..8f9d4643 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"chat_id": InputPeer, "photo": InputChatPhoto, } ``` diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 5dbf9da1..d0f4268d 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index d405e718..1e7d29ac 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index e01c4b0b..ae989ef2 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_forwardMessage.md b/docs/API_docs/methods/messages_forwardMessage.md index 9fdad7ae..1c8de423 100644 --- a/docs/API_docs/methods/messages_forwardMessage.md +++ b/docs/API_docs/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"peer": InputPeer, "id": int, } ``` diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index f72fb809..b7ca8567 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"silent": Bool, "background": Bool, "with_my_score": 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 2f34348d..a7fcce1f 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllChats -* params - {"except_ids":["int"]} +* params - {"except_ids": [int], } ``` diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 6039321d..4707e1c2 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index a4abf13e..b1d812ad 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"masks":"Bool","offset_id":"long","limit":"int"} +* params - {"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 0a2b8ff2..198085d0 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAttachedStickers -* params - {"media":"InputStickeredMedia"} +* params - {"media": InputStickeredMedia, } ``` diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index e61ca36e..b7927c14 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"game": Bool, "peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -69,6 +69,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index 122fbb8d..d8952d0a 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getCommonChats -* params - {"user_id":"InputUser","max_id":"int","limit":"int"} +* params - {"user_id": InputUser, "max_id": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index e86176a7..907398b2 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"exclude_pinned": Bool, "offset_date": int, "offset_id": int, "offset_peer": InputPeer, "limit": int, } ``` diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index ca541c7e..852d3741 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index 3bab2043..a5f3b355 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/docs/API_docs/methods/messages_getFullChat.md b/docs/API_docs/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/docs/API_docs/methods/messages_getFullChat.md +++ b/docs/API_docs/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index 07a25b7c..6440ad75 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getGameHighScores -* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} +* params - {"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 b976c6d5..17415b99 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"peer": InputPeer, "offset_id": int, "offset_date": int, "add_offset": int, "limit": int, "max_id": int, "min_id": int, } ``` diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index d3959eab..770f3ca9 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 218bbc33..725bdd9b 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineGameHighScores -* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} +* params - {"id": InputBotInlineMessageID, "user_id": InputUser, } ``` diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index 8d740e32..2bf3e6d4 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMaskStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 732fdff5..e5f4803e 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"peer": InputPeer, "id": int, } ``` diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index 5f2927f2..cb75c00d 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index 2f1d23c8..9af77002 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"peers": [InputPeer], } ``` diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index b78406e9..fa232061 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index f3de7a28..f5094cf3 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPinnedDialogs -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index 1e07747d..8d56eb72 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"attached":"Bool","hash":"int"} +* params - {"attached": Bool, "hash": int, } ``` diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index a7a0cbd2..2a31af9a 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index f03ff5fa..92c88b25 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"stickerset": InputStickerSet, } ``` diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index fd5ecd88..44ae4536 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); +$WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPage -* params - {"url":"string","hash":"int"} +* params - {"url": "string", "hash": int, } ``` @@ -65,6 +65,6 @@ hash - Json encoded int Or, if you're into Lua: ``` -WebPage = messages.getWebPage({url=string, hash=int, }) +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 021281f6..09d37461 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 9ddaa09c..4fa70288 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index 7ae21250..85b17c79 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 6d1e701b..5d07e85c 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"stickerset": InputStickerSet, "archived": Bool, } ``` diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index 1d8e1ca5..049ca265 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index b40fdadf..b17a83dc 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"peer": InputEncryptedChat, "max_date": int, } ``` diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 5fc7a340..c0479c69 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - {"id":["long"]} +* params - {"id": [long], } ``` diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index 99ce0e57..94de2e0b 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"peer": InputPeer, "max_id": int, } ``` diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index f5c41660..cd4bce52 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index c411866f..6b07c32f 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/docs/API_docs/methods/messages_receivedQueue.md b/docs/API_docs/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/docs/API_docs/methods/messages_receivedQueue.md +++ b/docs/API_docs/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 151678b0..d1affd43 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderPinnedDialogs -* params - {"force":"Bool","order":["InputPeer"]} +* params - {"force": Bool, "order": [InputPeer], } ``` diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index 7ff0d995..484aea5b 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"masks":"Bool","order":["long"]} +* params - {"masks": Bool, "order": [long], } ``` diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index d726392b..5a507859 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportEncryptedSpam -* params - {"peer":"InputEncryptedChat"} +* params - {"peer": InputEncryptedChat, } ``` diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_requestEncryption.md b/docs/API_docs/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/docs/API_docs/methods/messages_requestEncryption.md +++ b/docs/API_docs/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"id": InputDocument, "unsave": Bool, } ``` diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 96f55049..7f4f1c58 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} +* params - {"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 1f169262..57378ada 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","from_id":"InputUser","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "from_id": InputUser, "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index 24658214..73ab1db1 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index af612ccb..467cb587 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"peer": InputEncryptedChat, "message": DecryptedMessage, } ``` diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index db991de2..789fac97 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"peer": InputEncryptedChat, "message": DecryptedMessage, } ``` diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index c747e54b..243de55d 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "media": InputMedia, "reply_markup": ReplyMarkup, } ``` diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 6cc234c3..3a84aa54 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 6356d86b..223137c2 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", "cache_time": int, } ``` @@ -71,7 +71,7 @@ cache_time - Json encoded int Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, cache_time=int, }) +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 b9393981..6835be0c 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); +$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotPrecheckoutResults -* params - {"success":"Bool","query_id":"long","error":"string"} +* params - {"success": Bool, "query_id": long, "error": "string", } ``` @@ -67,6 +67,6 @@ error - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error=string, }) +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 1ddd01b3..4c67e34d 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); +$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotShippingResults -* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} +* params - {"query_id": long, "error": "string", "shipping_options": [ShippingOption], } ``` @@ -67,6 +67,6 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: ``` -Bool = messages.setBotShippingResults({query_id=long, error=string, shipping_options={ShippingOption}, }) +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 dc934d24..a309ee1f 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"peer": InputEncryptedChat, "typing": Bool, } ``` diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 64a2feea..e67c85f8 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setGameScore -* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 df93e25a..16173a31 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineGameScore -* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} +* params - {"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 30e72281..e1eeb957 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"peer": InputPeer, "action": SendMessageAction, } ``` diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index 93229d34..c8f87b85 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"chat_id": InputPeer, "enabled": Bool, } ``` diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index d86a96ae..2b9d2716 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleDialogPin -* params - {"pinned":"Bool","peer":"InputPeer"} +* params - {"pinned": Bool, "peer": InputPeer, } ``` diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index b6037ba0..b737083e 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"stickerset": InputStickerSet, } ``` diff --git a/docs/API_docs/methods/messages_uploadMedia.md b/docs/API_docs/methods/messages_uploadMedia.md index 3f2fb222..8ae749ed 100644 --- a/docs/API_docs/methods/messages_uploadMedia.md +++ b/docs/API_docs/methods/messages_uploadMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uploadMedia -* params - {"peer":"InputPeer","media":"InputMedia"} +* params - {"peer": InputPeer, "media": InputMedia, } ``` diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index 4da0da7c..ee0df78b 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.clearSavedInfo -* params - {"credentials":"Bool","info":"Bool"} +* params - {"credentials": Bool, "info": Bool, } ``` diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index 8c495ca5..af6b58f2 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentForm -* params - {"msg_id":"int"} +* params - {"msg_id": int, } ``` diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index 81b4e790..17f93c5e 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentReceipt -* params - {"msg_id":"int"} +* params - {"msg_id": int, } ``` diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index e53a85db..6d1e9f34 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getSavedInfo -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index f5e555ed..30e85605 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); +$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.sendPaymentForm -* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} +* params - {"msg_id": int, "requested_info_id": "string", "shipping_option_id": "string", "credentials": InputPaymentCredentials, } ``` @@ -69,6 +69,6 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: ``` -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id=string, shipping_option_id=string, credentials=InputPaymentCredentials, }) +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 96b7ec3a..b5ceec48 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.validateRequestedInfo -* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} +* params - {"save": Bool, "msg_id": int, "info": PaymentRequestedInfo, } ``` diff --git a/docs/API_docs/methods/phone_acceptCall.md b/docs/API_docs/methods/phone_acceptCall.md index cad5c1d9..3ca0b4b1 100644 --- a/docs/API_docs/methods/phone_acceptCall.md +++ b/docs/API_docs/methods/phone_acceptCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.acceptCall -* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_b": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/docs/API_docs/methods/phone_confirmCall.md b/docs/API_docs/methods/phone_confirmCall.md index 64063a6f..d9c470c0 100644 --- a/docs/API_docs/methods/phone_confirmCall.md +++ b/docs/API_docs/methods/phone_confirmCall.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.confirmCall -* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_a": "bytes", "key_fingerprint": long, "protocol": PhoneCallProtocol, } ``` @@ -69,6 +69,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a=bytes, key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` diff --git a/docs/API_docs/methods/phone_discardCall.md b/docs/API_docs/methods/phone_discardCall.md index 7c5b494c..4aac2cc7 100644 --- a/docs/API_docs/methods/phone_discardCall.md +++ b/docs/API_docs/methods/phone_discardCall.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.discardCall -* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} +* params - {"peer": InputPhoneCall, "duration": int, "reason": PhoneCallDiscardReason, "connection_id": long, } ``` diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index 36ba68f6..d66d52a5 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.getCallConfig -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index e4ba0536..c2e1cd51 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.receivedCall -* params - {"peer":"InputPhoneCall"} +* params - {"peer": InputPhoneCall, } ``` diff --git a/docs/API_docs/methods/phone_requestCall.md b/docs/API_docs/methods/phone_requestCall.md index c84084ca..f6bba65c 100644 --- a/docs/API_docs/methods/phone_requestCall.md +++ b/docs/API_docs/methods/phone_requestCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.requestCall -* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +* params - {"user_id": InputUser, "g_a_hash": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index b301968f..42b0d419 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.saveCallDebug -* params - {"peer":"InputPhoneCall","debug":"DataJSON"} +* params - {"peer": InputPhoneCall, "debug": DataJSON, } ``` diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index 82dd9d5e..bed3b703 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); +$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.setCallRating -* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} +* params - {"peer": InputPhoneCall, "rating": int, "comment": "string", } ``` @@ -67,6 +67,6 @@ comment - Json encoded string Or, if you're into Lua: ``` -Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment=string, }) +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 261eaa4d..8a37b229 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"id": [InputPhoto], } ``` diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index e5dd2341..1531d3db 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 63f2ae84..6b472abd 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto"} +* params - {"id": InputPhoto, } ``` diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index 408a631f..a85311f1 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile"} +* params - {"file": InputFile, } ``` diff --git a/docs/API_docs/methods/ping.md b/docs/API_docs/methods/ping.md index 89f77caa..3d4bdf41 100644 --- a/docs/API_docs/methods/ping.md +++ b/docs/API_docs/methods/ping.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping -* params - {"ping_id":"long"} +* params - {"ping_id": long, } ``` diff --git a/docs/API_docs/methods/ping_delay_disconnect.md b/docs/API_docs/methods/ping_delay_disconnect.md index ede5fe98..939276f1 100644 --- a/docs/API_docs/methods/ping_delay_disconnect.md +++ b/docs/API_docs/methods/ping_delay_disconnect.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping_delay_disconnect -* params - {"ping_id":"long","disconnect_delay":"int"} +* params - {"ping_id": long, "disconnect_delay": int, } ``` diff --git a/docs/API_docs/methods/req_DH_params.md b/docs/API_docs/methods/req_DH_params.md index b2e16150..fc8718ad 100644 --- a/docs/API_docs/methods/req_DH_params.md +++ b/docs/API_docs/methods/req_DH_params.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); +$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_DH_params -* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "p": "string", "q": "string", "public_key_fingerprint": long, "encrypted_data": "string", } ``` @@ -73,6 +73,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p=string, q=string, public_key_fingerprint=long, encrypted_data=string, }) +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/docs/API_docs/methods/req_pq.md b/docs/API_docs/methods/req_pq.md index 7a9b2f2c..a0bb7518 100644 --- a/docs/API_docs/methods/req_pq.md +++ b/docs/API_docs/methods/req_pq.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_pq -* params - {"nonce":"int128"} +* params - {"nonce": int128, } ``` diff --git a/docs/API_docs/methods/rpc_drop_answer.md b/docs/API_docs/methods/rpc_drop_answer.md index 8fc7854d..30d13e3c 100644 --- a/docs/API_docs/methods/rpc_drop_answer.md +++ b/docs/API_docs/methods/rpc_drop_answer.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - rpc_drop_answer -* params - {"req_msg_id":"long"} +* params - {"req_msg_id": long, } ``` diff --git a/docs/API_docs/methods/set_client_DH_params.md b/docs/API_docs/methods/set_client_DH_params.md index 26fb4dc2..b2852e6f 100644 --- a/docs/API_docs/methods/set_client_DH_params.md +++ b/docs/API_docs/methods/set_client_DH_params.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); +$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - set_client_DH_params -* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "encrypted_data": "string", } ``` @@ -67,6 +67,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data=string, }) +Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/docs/API_docs/methods/stickers_addStickerToSet.md b/docs/API_docs/methods/stickers_addStickerToSet.md index d4dcebec..17663475 100644 --- a/docs/API_docs/methods/stickers_addStickerToSet.md +++ b/docs/API_docs/methods/stickers_addStickerToSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - stickers.addStickerToSet -* params - {"stickerset":"InputStickerSet","sticker":"InputStickerSetItem"} +* params - {"stickerset": InputStickerSet, "sticker": InputStickerSetItem, } ``` diff --git a/docs/API_docs/methods/stickers_changeStickerPosition.md b/docs/API_docs/methods/stickers_changeStickerPosition.md index 27c37aa8..1b4fe65d 100644 --- a/docs/API_docs/methods/stickers_changeStickerPosition.md +++ b/docs/API_docs/methods/stickers_changeStickerPosition.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - stickers.changeStickerPosition -* params - {"sticker":"InputDocument","position":"int"} +* params - {"sticker": InputDocument, "position": int, } ``` diff --git a/docs/API_docs/methods/stickers_createStickerSet.md b/docs/API_docs/methods/stickers_createStickerSet.md index 4650a2b1..b3e5bdfa 100644 --- a/docs/API_docs/methods/stickers_createStickerSet.md +++ b/docs/API_docs/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => string, 'short_name' => string, 'stickers' => [InputStickerSetItem], ]); +$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - stickers.createStickerSet -* params - {"masks":"Bool","user_id":"InputUser","title":"string","short_name":"string","stickers":["InputStickerSetItem"]} +* params - {"masks": Bool, "user_id": InputUser, "title": "string", "short_name": "string", "stickers": [InputStickerSetItem], } ``` @@ -71,6 +71,6 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: ``` -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title=string, short_name=string, stickers={InputStickerSetItem}, }) +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 53e9b848..989f31b8 100644 --- a/docs/API_docs/methods/stickers_removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers_removeStickerFromSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - stickers.removeStickerFromSet -* params - {"sticker":"InputDocument"} +* params - {"sticker": InputDocument, } ``` diff --git a/docs/API_docs/methods/updates_getChannelDifference.md b/docs/API_docs/methods/updates_getChannelDifference.md index 81a25d86..5ea1d5b8 100644 --- a/docs/API_docs/methods/updates_getChannelDifference.md +++ b/docs/API_docs/methods/updates_getChannelDifference.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"force": Bool, "channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/updates_getDifference.md b/docs/API_docs/methods/updates_getDifference.md index 7d23893b..c88bf3d9 100644 --- a/docs/API_docs/methods/updates_getDifference.md +++ b/docs/API_docs/methods/updates_getDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} +* params - {"pts": int, "pts_total_limit": int, "date": int, "qts": int, } ``` diff --git a/docs/API_docs/methods/updates_getState.md b/docs/API_docs/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/docs/API_docs/methods/updates_getState.md +++ b/docs/API_docs/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/docs/API_docs/methods/upload_getCdnFile.md b/docs/API_docs/methods/upload_getCdnFile.md index f0286761..be47c7c2 100644 --- a/docs/API_docs/methods/upload_getCdnFile.md +++ b/docs/API_docs/methods/upload_getCdnFile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => bytes, 'offset' => int, 'limit' => int, ]); +$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getCdnFile -* params - {"file_token":"bytes","offset":"int","limit":"int"} +* params - {"file_token": "bytes", "offset": int, "limit": int, } ``` @@ -67,6 +67,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -upload_CdnFile = upload.getCdnFile({file_token=bytes, offset=int, limit=int, }) +upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/upload_getFile.md b/docs/API_docs/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/docs/API_docs/methods/upload_getFile.md +++ b/docs/API_docs/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index 4206040a..35f15299 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getWebFile -* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} +* params - {"location": InputWebFileLocation, "offset": int, "limit": int, } ``` diff --git a/docs/API_docs/methods/upload_reuploadCdnFile.md b/docs/API_docs/methods/upload_reuploadCdnFile.md index 82ba79fe..c64e7d51 100644 --- a/docs/API_docs/methods/upload_reuploadCdnFile.md +++ b/docs/API_docs/methods/upload_reuploadCdnFile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => bytes, 'request_token' => bytes, ]); +$Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => 'bytes', 'request_token' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.reuploadCdnFile -* params - {"file_token":"bytes","request_token":"bytes"} +* params - {"file_token": "bytes", "request_token": "bytes", } ``` @@ -65,6 +65,6 @@ request_token - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.reuploadCdnFile({file_token=bytes, request_token=bytes, }) +Bool = upload.reuploadCdnFile({file_token='bytes', request_token='bytes', }) ``` diff --git a/docs/API_docs/methods/upload_saveBigFilePart.md b/docs/API_docs/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/docs/API_docs/methods/upload_saveBigFilePart.md +++ b/docs/API_docs/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/docs/API_docs/methods/upload_saveFilePart.md b/docs/API_docs/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/docs/API_docs/methods/upload_saveFilePart.md +++ b/docs/API_docs/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/docs/API_docs/methods/users_getFullUser.md b/docs/API_docs/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/docs/API_docs/methods/users_getFullUser.md +++ b/docs/API_docs/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/docs/MTProto_docs/constructors/MTmessage.md b/docs/MTProto_docs/constructors/MTmessage.md index 6946f6ab..949458f3 100644 --- a/docs/MTProto_docs/constructors/MTmessage.md +++ b/docs/MTProto_docs/constructors/MTmessage.md @@ -24,13 +24,13 @@ description: MTmessage attributes, type and example ### Example: ``` -$MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object, ]; +$MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"MTmessage","msg_id":"long","seqno":"int","bytes":"int","body":"Object"} +{"_": "MTmessage", "msg_id": long, "seqno": int, "bytes": int, "body": Object} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -MTmessage={_='MTmessage', msg_id=long, seqno=int, bytes=int, body=Object, } +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 1273c1b5..84b199cf 100644 --- a/docs/MTProto_docs/constructors/bad_msg_notification.md +++ b/docs/MTProto_docs/constructors/bad_msg_notification.md @@ -23,13 +23,13 @@ description: bad_msg_notification attributes, type and example ### Example: ``` -$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ]; +$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +{"_": "bad_msg_notification", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int, } +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 8eca3a7d..dcf8d611 100644 --- a/docs/MTProto_docs/constructors/bad_server_salt.md +++ b/docs/MTProto_docs/constructors/bad_server_salt.md @@ -24,13 +24,13 @@ description: bad_server_salt attributes, type and example ### Example: ``` -$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ]; +$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long, } +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 8d197de7..b7b921ee 100644 --- a/docs/MTProto_docs/constructors/bind_auth_key_inner.md +++ b/docs/MTProto_docs/constructors/bind_auth_key_inner.md @@ -25,13 +25,13 @@ description: bind_auth_key_inner attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bind_auth_key_inner","nonce":"long","temp_auth_key_id":"long","perm_auth_key_id":"long","temp_session_id":"long","expires_at":"int"} +{"_": "bind_auth_key_inner", "nonce": long, "temp_auth_key_id": long, "perm_auth_key_id": long, "temp_session_id": long, "expires_at": int} ``` @@ -39,7 +39,7 @@ Or, if you're into 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, } +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 241634d7..dd1ac197 100644 --- a/docs/MTProto_docs/constructors/client_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/client_DH_inner_data.md @@ -24,13 +24,13 @@ description: client_DH_inner_data attributes, type and example ### Example: ``` -$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => bytes, ]; +$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"bytes"} +{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b=bytes, } +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 9e5278b4..e4955d4b 100644 --- a/docs/MTProto_docs/constructors/destroy_session_none.md +++ b/docs/MTProto_docs/constructors/destroy_session_none.md @@ -21,13 +21,13 @@ description: destroy_session_none attributes, type and example ### Example: ``` -$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; +$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_none","session_id":"long"} +{"_": "destroy_session_none", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_none={_='destroy_session_none', session_id=long, } +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 17b39b93..dc69ae67 100644 --- a/docs/MTProto_docs/constructors/destroy_session_ok.md +++ b/docs/MTProto_docs/constructors/destroy_session_ok.md @@ -21,13 +21,13 @@ description: destroy_session_ok attributes, type and example ### Example: ``` -$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; +$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_ok","session_id":"long"} +{"_": "destroy_session_ok", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_ok={_='destroy_session_ok', session_id=long, } +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 320b9306..3e67eac0 100644 --- a/docs/MTProto_docs/constructors/dh_gen_fail.md +++ b/docs/MTProto_docs/constructors/dh_gen_fail.md @@ -23,13 +23,13 @@ description: dh_gen_fail attributes, type and example ### Example: ``` -$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; +$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +{"_": "dh_gen_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash3": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128, } +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 2b43d907..eedb309f 100644 --- a/docs/MTProto_docs/constructors/dh_gen_ok.md +++ b/docs/MTProto_docs/constructors/dh_gen_ok.md @@ -23,13 +23,13 @@ description: dh_gen_ok attributes, type and example ### Example: ``` -$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; +$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +{"_": "dh_gen_ok", "nonce": int128, "server_nonce": int128, "new_nonce_hash1": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128, } +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 db5c1928..e631eca6 100644 --- a/docs/MTProto_docs/constructors/dh_gen_retry.md +++ b/docs/MTProto_docs/constructors/dh_gen_retry.md @@ -23,13 +23,13 @@ description: dh_gen_retry attributes, type and example ### Example: ``` -$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; +$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +{"_": "dh_gen_retry", "nonce": int128, "server_nonce": int128, "new_nonce_hash2": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128, } +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 c70f48ec..cca52255 100644 --- a/docs/MTProto_docs/constructors/future_salt.md +++ b/docs/MTProto_docs/constructors/future_salt.md @@ -23,13 +23,13 @@ description: future_salt attributes, type and example ### Example: ``` -$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; +$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +{"_": "future_salt", "valid_since": int, "valid_until": int, "salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long, } +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 a6bba188..9f4326e1 100644 --- a/docs/MTProto_docs/constructors/future_salts.md +++ b/docs/MTProto_docs/constructors/future_salts.md @@ -23,13 +23,13 @@ description: future_salts attributes, type and example ### Example: ``` -$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; +$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +{"_": "future_salts", "req_msg_id": long, "now": int, "salts": [future_salt]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}, } +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 8c74face..86574fcb 100644 --- a/docs/MTProto_docs/constructors/gzip_packed.md +++ b/docs/MTProto_docs/constructors/gzip_packed.md @@ -21,13 +21,13 @@ description: gzip_packed attributes, type and example ### Example: ``` -$gzip_packed = ['_' => 'gzip_packed', 'packed_data' => bytes, ]; +$gzip_packed = ['_' => 'gzip_packed', 'packed_data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"gzip_packed","packed_data":"bytes"} +{"_": "gzip_packed", "packed_data": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -gzip_packed={_='gzip_packed', packed_data=bytes, } +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 48dde03e..a61a80d5 100644 --- a/docs/MTProto_docs/constructors/msg_container.md +++ b/docs/MTProto_docs/constructors/msg_container.md @@ -21,13 +21,13 @@ description: msg_container attributes, type and example ### Example: ``` -$msg_container = ['_' => 'msg_container', 'messages' => [MTmessage], ]; +$msg_container = ['_' => 'msg_container', 'messages' => [MTmessage]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_container","messages":["MTmessage"]} +{"_": "msg_container", "messages": [MTmessage]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_container={_='msg_container', messages={MTmessage}, } +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 f1321a16..960b3db0 100644 --- a/docs/MTProto_docs/constructors/msg_copy.md +++ b/docs/MTProto_docs/constructors/msg_copy.md @@ -21,13 +21,13 @@ description: msg_copy attributes, type and example ### Example: ``` -$msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage, ]; +$msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_copy","orig_message":"MTMessage"} +{"_": "msg_copy", "orig_message": MTMessage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_copy={_='msg_copy', orig_message=MTMessage, } +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 f92347b0..46559ea5 100644 --- a/docs/MTProto_docs/constructors/msg_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_detailed_info.md @@ -24,13 +24,13 @@ description: msg_detailed_info attributes, type and example ### Example: ``` -$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_detailed_info", "msg_id": long, "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int, } +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 b2a3db96..9cd1a8fd 100644 --- a/docs/MTProto_docs/constructors/msg_new_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_new_detailed_info.md @@ -23,13 +23,13 @@ description: msg_new_detailed_info attributes, type and example ### Example: ``` -$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_new_detailed_info", "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int, } +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 2abb95c1..e1a7a48c 100644 --- a/docs/MTProto_docs/constructors/msg_resend_req.md +++ b/docs/MTProto_docs/constructors/msg_resend_req.md @@ -21,13 +21,13 @@ description: msg_resend_req attributes, type and example ### Example: ``` -$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; +$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_resend_req","msg_ids":["long"]} +{"_": "msg_resend_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_resend_req={_='msg_resend_req', msg_ids={long}, } +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 8b1b2f9f..d680c16b 100644 --- a/docs/MTProto_docs/constructors/msgs_ack.md +++ b/docs/MTProto_docs/constructors/msgs_ack.md @@ -21,13 +21,13 @@ description: msgs_ack attributes, type and example ### Example: ``` -$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; +$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_ack","msg_ids":["long"]} +{"_": "msgs_ack", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_ack={_='msgs_ack', msg_ids={long}, } +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 d0a32f34..72007b21 100644 --- a/docs/MTProto_docs/constructors/msgs_all_info.md +++ b/docs/MTProto_docs/constructors/msgs_all_info.md @@ -22,13 +22,13 @@ description: msgs_all_info attributes, type and example ### Example: ``` -$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => bytes, ]; +$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_all_info","msg_ids":["long"],"info":"bytes"} +{"_": "msgs_all_info", "msg_ids": [long], "info": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_all_info={_='msgs_all_info', msg_ids={long}, info=bytes, } +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 f76861f8..0ad2622a 100644 --- a/docs/MTProto_docs/constructors/msgs_state_info.md +++ b/docs/MTProto_docs/constructors/msgs_state_info.md @@ -22,13 +22,13 @@ description: msgs_state_info attributes, type and example ### Example: ``` -$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => bytes, ]; +$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_info","req_msg_id":"long","info":"bytes"} +{"_": "msgs_state_info", "req_msg_id": long, "info": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_state_info={_='msgs_state_info', req_msg_id=long, info=bytes, } +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 8247b8c1..10a64750 100644 --- a/docs/MTProto_docs/constructors/msgs_state_req.md +++ b/docs/MTProto_docs/constructors/msgs_state_req.md @@ -21,13 +21,13 @@ description: msgs_state_req attributes, type and example ### Example: ``` -$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; +$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_req","msg_ids":["long"]} +{"_": "msgs_state_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_state_req={_='msgs_state_req', msg_ids={long}, } +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 5eac0fac..d3432a4a 100644 --- a/docs/MTProto_docs/constructors/new_session_created.md +++ b/docs/MTProto_docs/constructors/new_session_created.md @@ -23,13 +23,13 @@ description: new_session_created attributes, type and example ### Example: ``` -$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; +$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +{"_": "new_session_created", "first_msg_id": long, "unique_id": long, "server_salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long, } +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 03774449..389d8f9f 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data.md @@ -26,13 +26,13 @@ description: p_q_inner_data attributes, type and example ### Example: ``` -$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => bytes, 'p' => bytes, 'q' => bytes, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; +$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'bytes', 'p' => 'bytes', 'q' => 'bytes', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"p_q_inner_data","pq":"bytes","p":"bytes","q":"bytes","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +{"_": "p_q_inner_data", "pq": "bytes", "p": "bytes", "q": "bytes", "nonce": int128, "server_nonce": int128, "new_nonce": int256} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -p_q_inner_data={_='p_q_inner_data', pq=bytes, p=bytes, q=bytes, nonce=int128, server_nonce=int128, new_nonce=int256, } +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 f40e9aed..95917ce6 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md @@ -27,13 +27,13 @@ description: p_q_inner_data_temp attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"p_q_inner_data_temp","pq":"bytes","p":"bytes","q":"bytes","nonce":"int128","server_nonce":"int128","new_nonce":"int256","expires_in":"int"} +{"_": "p_q_inner_data_temp", "pq": "bytes", "p": "bytes", "q": "bytes", "nonce": int128, "server_nonce": int128, "new_nonce": int256, "expires_in": int} ``` @@ -41,7 +41,7 @@ Or, if you're into 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, } +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 5c03bb9b..e44a1ade 100644 --- a/docs/MTProto_docs/constructors/pong.md +++ b/docs/MTProto_docs/constructors/pong.md @@ -22,13 +22,13 @@ description: pong attributes, type and example ### Example: ``` -$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; +$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pong","msg_id":"long","ping_id":"long"} +{"_": "pong", "msg_id": long, "ping_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pong={_='pong', msg_id=long, ping_id=long, } +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 fe71a74d..32ca2051 100644 --- a/docs/MTProto_docs/constructors/resPQ.md +++ b/docs/MTProto_docs/constructors/resPQ.md @@ -24,13 +24,13 @@ description: resPQ attributes, type and example ### Example: ``` -$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => bytes, 'server_public_key_fingerprints' => [long], ]; +$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'bytes', 'server_public_key_fingerprints' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"bytes","server_public_key_fingerprints":["long"]} +{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": "bytes", "server_public_key_fingerprints": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq=bytes, server_public_key_fingerprints={long}, } +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 9ea5479b..88a3506c 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped.md @@ -23,13 +23,13 @@ description: rpc_answer_dropped attributes, type and example ### Example: ``` -$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; +$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +{"_": "rpc_answer_dropped", "msg_id": long, "seq_no": int, "bytes": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int, } +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 c3723abd..5b34fc87 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md @@ -16,13 +16,13 @@ description: rpc_answer_dropped_running attributes, type and example ### Example: ``` -$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; +$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped_running"} +{"_": "rpc_answer_dropped_running"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped_running={_='rpc_answer_dropped_running', } +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 58132b7a..51d22746 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_unknown.md +++ b/docs/MTProto_docs/constructors/rpc_answer_unknown.md @@ -16,13 +16,13 @@ description: rpc_answer_unknown attributes, type and example ### Example: ``` -$rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; +$rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_unknown"} +{"_": "rpc_answer_unknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_unknown={_='rpc_answer_unknown', } +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 fe821e55..885ef35e 100644 --- a/docs/MTProto_docs/constructors/rpc_error.md +++ b/docs/MTProto_docs/constructors/rpc_error.md @@ -22,13 +22,13 @@ description: rpc_error attributes, type and example ### Example: ``` -$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; +$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_error","error_code":"int","error_message":"string"} +{"_": "rpc_error", "error_code": int, "error_message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -rpc_error={_='rpc_error', error_code=int, error_message=string, } +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 aac21623..0e5d871d 100644 --- a/docs/MTProto_docs/constructors/rpc_result.md +++ b/docs/MTProto_docs/constructors/rpc_result.md @@ -22,13 +22,13 @@ description: rpc_result attributes, type and example ### Example: ``` -$rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object, ]; +$rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_result","req_msg_id":"long","result":"Object"} +{"_": "rpc_result", "req_msg_id": long, "result": Object} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -rpc_result={_='rpc_result', req_msg_id=long, result=Object, } +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 59dca6de..548f52aa 100644 --- a/docs/MTProto_docs/constructors/server_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/server_DH_inner_data.md @@ -26,13 +26,13 @@ description: server_DH_inner_data attributes, type and example ### Example: ``` -$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => bytes, 'g_a' => bytes, 'server_time' => int, ]; +$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'bytes', 'g_a' => 'bytes', 'server_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"bytes","g_a":"bytes","server_time":"int"} +{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": "bytes", "g_a": "bytes", "server_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into 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, } +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 69df7594..b6f94870 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_fail.md +++ b/docs/MTProto_docs/constructors/server_DH_params_fail.md @@ -23,13 +23,13 @@ description: server_DH_params_fail attributes, type and example ### Example: ``` -$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128, ]; +$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +{"_": "server_DH_params_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128, } +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 d4198080..76e0fd8f 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_ok.md +++ b/docs/MTProto_docs/constructors/server_DH_params_ok.md @@ -23,13 +23,13 @@ description: server_DH_params_ok attributes, type and example ### Example: ``` -$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => bytes, ]; +$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"bytes"} +{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer=bytes, } +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 6d44f111..d1cfb3d9 100644 --- a/docs/MTProto_docs/constructors/vector.md +++ b/docs/MTProto_docs/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index 6475b575..4f28f155 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_session -* params - {"session_id":"long"} +* params - {"session_id": long, } ``` diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index ffc11909..655b7497 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - get_future_salts -* params - {"num":"int"} +* params - {"num": int, } ``` diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index ec44ef21..14a69a43 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - http_wait -* params - {"max_delay":"int","wait_after":"int","max_wait":"int"} +* params - {"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 89f77caa..3d4bdf41 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping -* params - {"ping_id":"long"} +* params - {"ping_id": long, } ``` diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index ede5fe98..939276f1 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping_delay_disconnect -* params - {"ping_id":"long","disconnect_delay":"int"} +* params - {"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 807e2540..bcd5bd18 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => bytes, 'q' => bytes, 'public_key_fingerprint' => long, 'encrypted_data' => bytes, ]); +$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'bytes', 'q' => 'bytes', 'public_key_fingerprint' => long, 'encrypted_data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_DH_params -* params - {"nonce":"int128","server_nonce":"int128","p":"bytes","q":"bytes","public_key_fingerprint":"long","encrypted_data":"bytes"} +* params - {"nonce": int128, "server_nonce": int128, "p": "bytes", "q": "bytes", "public_key_fingerprint": long, "encrypted_data": "bytes", } ``` @@ -73,6 +73,6 @@ encrypted_data - Json encoded bytes Or, if you're into Lua: ``` -Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p=bytes, q=bytes, public_key_fingerprint=long, encrypted_data=bytes, }) +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 7a9b2f2c..a0bb7518 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_pq -* params - {"nonce":"int128"} +* params - {"nonce": int128, } ``` diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index 8fc7854d..30d13e3c 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - rpc_drop_answer -* params - {"req_msg_id":"long"} +* params - {"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 aa08f5db..1b2c2a0b 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => bytes, ]); +$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - set_client_DH_params -* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"bytes"} +* params - {"nonce": int128, "server_nonce": int128, "encrypted_data": "bytes", } ``` @@ -67,6 +67,6 @@ encrypted_data - Json encoded bytes Or, if you're into Lua: ``` -Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data=bytes, }) +Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='bytes', }) ``` diff --git a/docs/TD_docs/constructors/accountTtl.md b/docs/TD_docs/constructors/accountTtl.md index af0a9639..83d58be4 100644 --- a/docs/TD_docs/constructors/accountTtl.md +++ b/docs/TD_docs/constructors/accountTtl.md @@ -23,13 +23,13 @@ Contains infotmation about period of inactivity, after which the account of curr ### Example: ``` -$accountTtl = ['_' => 'accountTtl', 'days' => int, ]; +$accountTtl = ['_' => 'accountTtl', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountTtl","days":"int"} +{"_": "accountTtl", "days": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -accountTtl={_='accountTtl', days=int, } +accountTtl={_='accountTtl', days=int} ``` diff --git a/docs/TD_docs/constructors/animation.md b/docs/TD_docs/constructors/animation.md index b1472724..b7b5e0b8 100644 --- a/docs/TD_docs/constructors/animation.md +++ b/docs/TD_docs/constructors/animation.md @@ -28,13 +28,13 @@ Describes animation file. Animation should be encoded in gif or mp4 format ### Example: ``` -$animation = ['_' => 'animation', 'width' => int, 'height' => int, 'file_name' => string, 'mime_type' => string, 'thumb' => photoSize, 'animation' => file, ]; +$animation = ['_' => 'animation', 'width' => int, 'height' => int, 'file_name' => 'string', 'mime_type' => 'string', 'thumb' => photoSize, 'animation' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"animation","width":"int","height":"int","file_name":"string","mime_type":"string","thumb":"photoSize","animation":"file"} +{"_": "animation", "width": int, "height": int, "file_name": "string", "mime_type": "string", "thumb": photoSize, "animation": file} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -animation={_='animation', width=int, height=int, file_name=string, mime_type=string, thumb=photoSize, animation=file, } +animation={_='animation', width=int, height=int, file_name='string', mime_type='string', thumb=photoSize, animation=file} ``` diff --git a/docs/TD_docs/constructors/animations.md b/docs/TD_docs/constructors/animations.md index 46de9710..9d8eaae7 100644 --- a/docs/TD_docs/constructors/animations.md +++ b/docs/TD_docs/constructors/animations.md @@ -23,13 +23,13 @@ Represents list of animations ### Example: ``` -$animations = ['_' => 'animations', 'animations' => [animation], ]; +$animations = ['_' => 'animations', 'animations' => [animation]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"animations","animations":["animation"]} +{"_": "animations", "animations": [animation]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -animations={_='animations', animations={animation}, } +animations={_='animations', animations={animation}} ``` diff --git a/docs/TD_docs/constructors/apnsDeviceToken.md b/docs/TD_docs/constructors/apnsDeviceToken.md index 6e87c520..944c3047 100644 --- a/docs/TD_docs/constructors/apnsDeviceToken.md +++ b/docs/TD_docs/constructors/apnsDeviceToken.md @@ -23,13 +23,13 @@ Token for APNS ### Example: ``` -$apnsDeviceToken = ['_' => 'apnsDeviceToken', 'token' => string, ]; +$apnsDeviceToken = ['_' => 'apnsDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"apnsDeviceToken","token":"string"} +{"_": "apnsDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -apnsDeviceToken={_='apnsDeviceToken', token=string, } +apnsDeviceToken={_='apnsDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/audio.md b/docs/TD_docs/constructors/audio.md index 4eee5d49..f4c5a475 100644 --- a/docs/TD_docs/constructors/audio.md +++ b/docs/TD_docs/constructors/audio.md @@ -29,13 +29,13 @@ Describes audio file. Audio is usually in mp3 format ### Example: ``` -$audio = ['_' => 'audio', 'duration' => int, 'title' => string, 'performer' => string, 'file_name' => string, 'mime_type' => string, 'album_cover_thumb' => photoSize, 'audio' => file, ]; +$audio = ['_' => 'audio', 'duration' => int, 'title' => 'string', 'performer' => 'string', 'file_name' => 'string', 'mime_type' => 'string', 'album_cover_thumb' => photoSize, 'audio' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","duration":"int","title":"string","performer":"string","file_name":"string","mime_type":"string","album_cover_thumb":"photoSize","audio":"file"} +{"_": "audio", "duration": int, "title": "string", "performer": "string", "file_name": "string", "mime_type": "string", "album_cover_thumb": photoSize, "audio": file} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -audio={_='audio', duration=int, title=string, performer=string, file_name=string, mime_type=string, album_cover_thumb=photoSize, audio=file, } +audio={_='audio', duration=int, title='string', performer='string', file_name='string', mime_type='string', album_cover_thumb=photoSize, audio=file} ``` diff --git a/docs/TD_docs/constructors/authCodeTypeCall.md b/docs/TD_docs/constructors/authCodeTypeCall.md index 47176880..5695578d 100644 --- a/docs/TD_docs/constructors/authCodeTypeCall.md +++ b/docs/TD_docs/constructors/authCodeTypeCall.md @@ -23,13 +23,13 @@ Code is delievered by voice call to the specified phone number ### Example: ``` -$authCodeTypeCall = ['_' => 'authCodeTypeCall', 'length' => int, ]; +$authCodeTypeCall = ['_' => 'authCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authCodeTypeCall","length":"int"} +{"_": "authCodeTypeCall", "length": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -authCodeTypeCall={_='authCodeTypeCall', length=int, } +authCodeTypeCall={_='authCodeTypeCall', length=int} ``` diff --git a/docs/TD_docs/constructors/authCodeTypeFlashCall.md b/docs/TD_docs/constructors/authCodeTypeFlashCall.md index b881d128..f759318e 100644 --- a/docs/TD_docs/constructors/authCodeTypeFlashCall.md +++ b/docs/TD_docs/constructors/authCodeTypeFlashCall.md @@ -23,13 +23,13 @@ Code is delivered by the immediately cancelled call to the specified phone numbe ### Example: ``` -$authCodeTypeFlashCall = ['_' => 'authCodeTypeFlashCall', 'pattern' => string, ]; +$authCodeTypeFlashCall = ['_' => 'authCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authCodeTypeFlashCall","pattern":"string"} +{"_": "authCodeTypeFlashCall", "pattern": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -authCodeTypeFlashCall={_='authCodeTypeFlashCall', pattern=string, } +authCodeTypeFlashCall={_='authCodeTypeFlashCall', pattern='string'} ``` diff --git a/docs/TD_docs/constructors/authCodeTypeMessage.md b/docs/TD_docs/constructors/authCodeTypeMessage.md index 51d81fee..0f025744 100644 --- a/docs/TD_docs/constructors/authCodeTypeMessage.md +++ b/docs/TD_docs/constructors/authCodeTypeMessage.md @@ -23,13 +23,13 @@ Code is delivered through private Telegram message, which can be viewed in the o ### Example: ``` -$authCodeTypeMessage = ['_' => 'authCodeTypeMessage', 'length' => int, ]; +$authCodeTypeMessage = ['_' => 'authCodeTypeMessage', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authCodeTypeMessage","length":"int"} +{"_": "authCodeTypeMessage", "length": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -authCodeTypeMessage={_='authCodeTypeMessage', length=int, } +authCodeTypeMessage={_='authCodeTypeMessage', length=int} ``` diff --git a/docs/TD_docs/constructors/authCodeTypeSms.md b/docs/TD_docs/constructors/authCodeTypeSms.md index 333f92da..e4baac23 100644 --- a/docs/TD_docs/constructors/authCodeTypeSms.md +++ b/docs/TD_docs/constructors/authCodeTypeSms.md @@ -23,13 +23,13 @@ Code is delivered by SMS to the specified phone number ### Example: ``` -$authCodeTypeSms = ['_' => 'authCodeTypeSms', 'length' => int, ]; +$authCodeTypeSms = ['_' => 'authCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authCodeTypeSms","length":"int"} +{"_": "authCodeTypeSms", "length": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -authCodeTypeSms={_='authCodeTypeSms', length=int, } +authCodeTypeSms={_='authCodeTypeSms', length=int} ``` diff --git a/docs/TD_docs/constructors/authStateLoggingOut.md b/docs/TD_docs/constructors/authStateLoggingOut.md index 8cc256b1..eefbbd16 100644 --- a/docs/TD_docs/constructors/authStateLoggingOut.md +++ b/docs/TD_docs/constructors/authStateLoggingOut.md @@ -22,13 +22,13 @@ User is currently logging out ### Example: ``` -$authStateLoggingOut = ['_' => 'authStateLoggingOut', ]; +$authStateLoggingOut = ['_' => 'authStateLoggingOut']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authStateLoggingOut"} +{"_": "authStateLoggingOut"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -authStateLoggingOut={_='authStateLoggingOut', } +authStateLoggingOut={_='authStateLoggingOut'} ``` diff --git a/docs/TD_docs/constructors/authStateOk.md b/docs/TD_docs/constructors/authStateOk.md index 6e19f87c..f9b169df 100644 --- a/docs/TD_docs/constructors/authStateOk.md +++ b/docs/TD_docs/constructors/authStateOk.md @@ -22,13 +22,13 @@ User is successfully authorized. TDLib can answer queries ### Example: ``` -$authStateOk = ['_' => 'authStateOk', ]; +$authStateOk = ['_' => 'authStateOk']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authStateOk"} +{"_": "authStateOk"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -authStateOk={_='authStateOk', } +authStateOk={_='authStateOk'} ``` diff --git a/docs/TD_docs/constructors/authStateWaitCode.md b/docs/TD_docs/constructors/authStateWaitCode.md index aa7f2531..9c5c565a 100644 --- a/docs/TD_docs/constructors/authStateWaitCode.md +++ b/docs/TD_docs/constructors/authStateWaitCode.md @@ -26,13 +26,13 @@ TDLib needs user authentication code to finish authorization ### Example: ``` -$authStateWaitCode = ['_' => 'authStateWaitCode', 'is_registered' => Bool, 'code_type' => AuthCodeType, 'next_code_type' => AuthCodeType, 'timeout' => int, ]; +$authStateWaitCode = ['_' => 'authStateWaitCode', 'is_registered' => Bool, 'code_type' => AuthCodeType, 'next_code_type' => AuthCodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authStateWaitCode","is_registered":"Bool","code_type":"AuthCodeType","next_code_type":"AuthCodeType","timeout":"int"} +{"_": "authStateWaitCode", "is_registered": Bool, "code_type": AuthCodeType, "next_code_type": AuthCodeType, "timeout": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -authStateWaitCode={_='authStateWaitCode', is_registered=Bool, code_type=AuthCodeType, next_code_type=AuthCodeType, timeout=int, } +authStateWaitCode={_='authStateWaitCode', is_registered=Bool, code_type=AuthCodeType, next_code_type=AuthCodeType, timeout=int} ``` diff --git a/docs/TD_docs/constructors/authStateWaitPassword.md b/docs/TD_docs/constructors/authStateWaitPassword.md index cd7acf70..78ff0c89 100644 --- a/docs/TD_docs/constructors/authStateWaitPassword.md +++ b/docs/TD_docs/constructors/authStateWaitPassword.md @@ -25,13 +25,13 @@ User is authorized but he needs to enter its password to begin to use applicatio ### Example: ``` -$authStateWaitPassword = ['_' => 'authStateWaitPassword', 'password_hint' => string, 'has_recovery_email' => Bool, 'recovery_email_pattern' => string, ]; +$authStateWaitPassword = ['_' => 'authStateWaitPassword', 'password_hint' => 'string', 'has_recovery_email' => Bool, 'recovery_email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authStateWaitPassword","password_hint":"string","has_recovery_email":"Bool","recovery_email_pattern":"string"} +{"_": "authStateWaitPassword", "password_hint": "string", "has_recovery_email": Bool, "recovery_email_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -authStateWaitPassword={_='authStateWaitPassword', password_hint=string, has_recovery_email=Bool, recovery_email_pattern=string, } +authStateWaitPassword={_='authStateWaitPassword', password_hint='string', has_recovery_email=Bool, recovery_email_pattern='string'} ``` diff --git a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md index 68cca5a7..bfec9e33 100644 --- a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md +++ b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md @@ -22,13 +22,13 @@ TDLib needs user's phone number to authorize ### Example: ``` -$authStateWaitPhoneNumber = ['_' => 'authStateWaitPhoneNumber', ]; +$authStateWaitPhoneNumber = ['_' => 'authStateWaitPhoneNumber']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authStateWaitPhoneNumber"} +{"_": "authStateWaitPhoneNumber"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -authStateWaitPhoneNumber={_='authStateWaitPhoneNumber', } +authStateWaitPhoneNumber={_='authStateWaitPhoneNumber'} ``` diff --git a/docs/TD_docs/constructors/blackberryDeviceToken.md b/docs/TD_docs/constructors/blackberryDeviceToken.md index f67e880d..5ec9ff43 100644 --- a/docs/TD_docs/constructors/blackberryDeviceToken.md +++ b/docs/TD_docs/constructors/blackberryDeviceToken.md @@ -23,13 +23,13 @@ Token for Blackberry Push Service ### Example: ``` -$blackberryDeviceToken = ['_' => 'blackberryDeviceToken', 'token' => string, ]; +$blackberryDeviceToken = ['_' => 'blackberryDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"blackberryDeviceToken","token":"string"} +{"_": "blackberryDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -blackberryDeviceToken={_='blackberryDeviceToken', token=string, } +blackberryDeviceToken={_='blackberryDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/botCommand.md b/docs/TD_docs/constructors/botCommand.md index cfcd9550..d272dfea 100644 --- a/docs/TD_docs/constructors/botCommand.md +++ b/docs/TD_docs/constructors/botCommand.md @@ -24,13 +24,13 @@ Represents command supported by bot ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +botCommand={_='botCommand', command='string', description='string'} ``` diff --git a/docs/TD_docs/constructors/botInfo.md b/docs/TD_docs/constructors/botInfo.md index 4ef79226..7799aa93 100644 --- a/docs/TD_docs/constructors/botInfo.md +++ b/docs/TD_docs/constructors/botInfo.md @@ -24,13 +24,13 @@ Provides information about bot and command supported by him ### Example: ``` -$botInfo = ['_' => 'botInfo', 'description' => string, 'commands' => [botCommand], ]; +$botInfo = ['_' => 'botInfo', 'description' => 'string', 'commands' => [botCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","description":"string","commands":["botCommand"]} +{"_": "botInfo", "description": "string", "commands": [botCommand]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', description=string, commands={botCommand}, } +botInfo={_='botInfo', description='string', commands={botCommand}} ``` diff --git a/docs/TD_docs/constructors/callbackQueryAnswer.md b/docs/TD_docs/constructors/callbackQueryAnswer.md index 01da2503..bc9cbb0b 100644 --- a/docs/TD_docs/constructors/callbackQueryAnswer.md +++ b/docs/TD_docs/constructors/callbackQueryAnswer.md @@ -25,13 +25,13 @@ Contains answer of the bot to the callback query ### Example: ``` -$callbackQueryAnswer = ['_' => 'callbackQueryAnswer', 'text' => string, 'show_alert' => Bool, 'url' => string, ]; +$callbackQueryAnswer = ['_' => 'callbackQueryAnswer', 'text' => 'string', 'show_alert' => Bool, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"callbackQueryAnswer","text":"string","show_alert":"Bool","url":"string"} +{"_": "callbackQueryAnswer", "text": "string", "show_alert": Bool, "url": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -callbackQueryAnswer={_='callbackQueryAnswer', text=string, show_alert=Bool, url=string, } +callbackQueryAnswer={_='callbackQueryAnswer', text='string', show_alert=Bool, url='string'} ``` diff --git a/docs/TD_docs/constructors/callbackQueryData.md b/docs/TD_docs/constructors/callbackQueryData.md index 0a65fe2b..dfffdca2 100644 --- a/docs/TD_docs/constructors/callbackQueryData.md +++ b/docs/TD_docs/constructors/callbackQueryData.md @@ -23,13 +23,13 @@ Payload from a general callback button ### Example: ``` -$callbackQueryData = ['_' => 'callbackQueryData', 'data' => bytes, ]; +$callbackQueryData = ['_' => 'callbackQueryData', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"callbackQueryData","data":"bytes"} +{"_": "callbackQueryData", "data": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -callbackQueryData={_='callbackQueryData', data=bytes, } +callbackQueryData={_='callbackQueryData', data='bytes'} ``` diff --git a/docs/TD_docs/constructors/callbackQueryGame.md b/docs/TD_docs/constructors/callbackQueryGame.md index a448c56c..1c87e867 100644 --- a/docs/TD_docs/constructors/callbackQueryGame.md +++ b/docs/TD_docs/constructors/callbackQueryGame.md @@ -23,13 +23,13 @@ Payload from a game callback button ### Example: ``` -$callbackQueryGame = ['_' => 'callbackQueryGame', 'game_short_name' => string, ]; +$callbackQueryGame = ['_' => 'callbackQueryGame', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"callbackQueryGame","game_short_name":"string"} +{"_": "callbackQueryGame", "game_short_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -callbackQueryGame={_='callbackQueryGame', game_short_name=string, } +callbackQueryGame={_='callbackQueryGame', game_short_name='string'} ``` diff --git a/docs/TD_docs/constructors/channel.md b/docs/TD_docs/constructors/channel.md index 000f4f4b..fb06dda3 100644 --- a/docs/TD_docs/constructors/channel.md +++ b/docs/TD_docs/constructors/channel.md @@ -31,13 +31,13 @@ Represents a channel with zero or more subscribers. There two different kinds of ### Example: ``` -$channel = ['_' => 'channel', 'id' => int, 'username' => string, 'date' => int, 'status' => ChatMemberStatus, 'anyone_can_invite' => Bool, 'sign_messages' => Bool, 'is_supergroup' => Bool, 'is_verified' => Bool, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'id' => int, 'username' => 'string', 'date' => int, 'status' => ChatMemberStatus, 'anyone_can_invite' => Bool, 'sign_messages' => Bool, 'is_supergroup' => Bool, 'is_verified' => Bool, 'restriction_reason' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channel","id":"int","username":"string","date":"int","status":"ChatMemberStatus","anyone_can_invite":"Bool","sign_messages":"Bool","is_supergroup":"Bool","is_verified":"Bool","restriction_reason":"string"} +{"_": "channel", "id": int, "username": "string", "date": int, "status": ChatMemberStatus, "anyone_can_invite": Bool, "sign_messages": Bool, "is_supergroup": Bool, "is_verified": Bool, "restriction_reason": "string"} ``` @@ -45,7 +45,7 @@ Or, if you're into Lua: ``` -channel={_='channel', id=int, username=string, date=int, status=ChatMemberStatus, anyone_can_invite=Bool, sign_messages=Bool, is_supergroup=Bool, is_verified=Bool, restriction_reason=string, } +channel={_='channel', id=int, username='string', date=int, status=ChatMemberStatus, anyone_can_invite=Bool, sign_messages=Bool, is_supergroup=Bool, is_verified=Bool, restriction_reason='string'} ``` diff --git a/docs/TD_docs/constructors/channelChatInfo.md b/docs/TD_docs/constructors/channelChatInfo.md index daafd046..98876f42 100644 --- a/docs/TD_docs/constructors/channelChatInfo.md +++ b/docs/TD_docs/constructors/channelChatInfo.md @@ -23,13 +23,13 @@ Chat with unlimited number of members ### Example: ``` -$channelChatInfo = ['_' => 'channelChatInfo', 'channel' => channel, ]; +$channelChatInfo = ['_' => 'channelChatInfo', 'channel' => channel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelChatInfo","channel":"channel"} +{"_": "channelChatInfo", "channel": channel} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelChatInfo={_='channelChatInfo', channel=channel, } +channelChatInfo={_='channelChatInfo', channel=channel} ``` diff --git a/docs/TD_docs/constructors/channelFull.md b/docs/TD_docs/constructors/channelFull.md index 4abdc406..b5809e5b 100644 --- a/docs/TD_docs/constructors/channelFull.md +++ b/docs/TD_docs/constructors/channelFull.md @@ -33,13 +33,13 @@ Gives full information about a channel ### Example: ``` -$channelFull = ['_' => 'channelFull', 'channel' => channel, 'about' => string, 'member_count' => int, 'administrator_count' => int, 'kicked_count' => int, 'can_get_members' => Bool, 'can_set_username' => Bool, 'invite_link' => string, 'pinned_message_id' => long, 'migrated_from_group_id' => int, 'migrated_from_max_message_id' => long, ]; +$channelFull = ['_' => 'channelFull', 'channel' => channel, 'about' => 'string', 'member_count' => int, 'administrator_count' => int, 'kicked_count' => int, 'can_get_members' => Bool, 'can_set_username' => Bool, 'invite_link' => 'string', 'pinned_message_id' => long, 'migrated_from_group_id' => int, 'migrated_from_max_message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelFull","channel":"channel","about":"string","member_count":"int","administrator_count":"int","kicked_count":"int","can_get_members":"Bool","can_set_username":"Bool","invite_link":"string","pinned_message_id":"long","migrated_from_group_id":"int","migrated_from_max_message_id":"long"} +{"_": "channelFull", "channel": channel, "about": "string", "member_count": int, "administrator_count": int, "kicked_count": int, "can_get_members": Bool, "can_set_username": Bool, "invite_link": "string", "pinned_message_id": long, "migrated_from_group_id": int, "migrated_from_max_message_id": long} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -channelFull={_='channelFull', channel=channel, about=string, member_count=int, administrator_count=int, kicked_count=int, can_get_members=Bool, can_set_username=Bool, invite_link=string, pinned_message_id=long, migrated_from_group_id=int, migrated_from_max_message_id=long, } +channelFull={_='channelFull', channel=channel, about='string', member_count=int, administrator_count=int, kicked_count=int, can_get_members=Bool, can_set_username=Bool, invite_link='string', pinned_message_id=long, migrated_from_group_id=int, migrated_from_max_message_id=long} ``` diff --git a/docs/TD_docs/constructors/channelMembersAdministrators.md b/docs/TD_docs/constructors/channelMembersAdministrators.md index 1dfe7ab8..120a91cf 100644 --- a/docs/TD_docs/constructors/channelMembersAdministrators.md +++ b/docs/TD_docs/constructors/channelMembersAdministrators.md @@ -22,13 +22,13 @@ Return privileged members, i.e. creator, editors and moderators are returned ### Example: ``` -$channelMembersAdministrators = ['_' => 'channelMembersAdministrators', ]; +$channelMembersAdministrators = ['_' => 'channelMembersAdministrators']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMembersAdministrators"} +{"_": "channelMembersAdministrators"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMembersAdministrators={_='channelMembersAdministrators', } +channelMembersAdministrators={_='channelMembersAdministrators'} ``` diff --git a/docs/TD_docs/constructors/channelMembersBots.md b/docs/TD_docs/constructors/channelMembersBots.md index 5132fb58..35f4557e 100644 --- a/docs/TD_docs/constructors/channelMembersBots.md +++ b/docs/TD_docs/constructors/channelMembersBots.md @@ -22,13 +22,13 @@ Return bots in the channel ### Example: ``` -$channelMembersBots = ['_' => 'channelMembersBots', ]; +$channelMembersBots = ['_' => 'channelMembersBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMembersBots"} +{"_": "channelMembersBots"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMembersBots={_='channelMembersBots', } +channelMembersBots={_='channelMembersBots'} ``` diff --git a/docs/TD_docs/constructors/channelMembersKicked.md b/docs/TD_docs/constructors/channelMembersKicked.md index 754ef7eb..8fe46c07 100644 --- a/docs/TD_docs/constructors/channelMembersKicked.md +++ b/docs/TD_docs/constructors/channelMembersKicked.md @@ -22,13 +22,13 @@ Return kicked from the channel ### Example: ``` -$channelMembersKicked = ['_' => 'channelMembersKicked', ]; +$channelMembersKicked = ['_' => 'channelMembersKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMembersKicked"} +{"_": "channelMembersKicked"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMembersKicked={_='channelMembersKicked', } +channelMembersKicked={_='channelMembersKicked'} ``` diff --git a/docs/TD_docs/constructors/channelMembersRecent.md b/docs/TD_docs/constructors/channelMembersRecent.md index 9de7af29..323ae4e6 100644 --- a/docs/TD_docs/constructors/channelMembersRecent.md +++ b/docs/TD_docs/constructors/channelMembersRecent.md @@ -22,13 +22,13 @@ Return recently active users in reverse chronological order ### Example: ``` -$channelMembersRecent = ['_' => 'channelMembersRecent', ]; +$channelMembersRecent = ['_' => 'channelMembersRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMembersRecent"} +{"_": "channelMembersRecent"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMembersRecent={_='channelMembersRecent', } +channelMembersRecent={_='channelMembersRecent'} ``` diff --git a/docs/TD_docs/constructors/channels.md b/docs/TD_docs/constructors/channels.md index 7fa584f7..9eae2815 100644 --- a/docs/TD_docs/constructors/channels.md +++ b/docs/TD_docs/constructors/channels.md @@ -23,13 +23,13 @@ Contains list of channel identifiers ### Example: ``` -$channels = ['_' => 'channels', 'channel_ids' => [int], ]; +$channels = ['_' => 'channels', 'channel_ids' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels","channel_ids":["int"]} +{"_": "channels", "channel_ids": [int]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels={_='channels', channel_ids={int}, } +channels={_='channels', channel_ids={int}} ``` diff --git a/docs/TD_docs/constructors/chat.md b/docs/TD_docs/constructors/chat.md index e4eba945..b1b28b23 100644 --- a/docs/TD_docs/constructors/chat.md +++ b/docs/TD_docs/constructors/chat.md @@ -34,13 +34,13 @@ Chat (private chat or group chat or channel chat) ### Example: ``` -$chat = ['_' => 'chat', 'id' => long, 'title' => string, 'photo' => chatPhoto, 'top_message' => message, 'order' => long, 'unread_count' => int, 'last_read_inbox_message_id' => long, 'last_read_outbox_message_id' => long, 'notification_settings' => notificationSettings, 'reply_markup_message_id' => long, 'draft_message' => draftMessage, 'type' => ChatInfo, ]; +$chat = ['_' => 'chat', 'id' => long, 'title' => 'string', 'photo' => chatPhoto, 'top_message' => message, 'order' => long, 'unread_count' => int, 'last_read_inbox_message_id' => long, 'last_read_outbox_message_id' => long, 'notification_settings' => notificationSettings, 'reply_markup_message_id' => long, 'draft_message' => draftMessage, 'type' => ChatInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"long","title":"string","photo":"chatPhoto","top_message":"message","order":"long","unread_count":"int","last_read_inbox_message_id":"long","last_read_outbox_message_id":"long","notification_settings":"notificationSettings","reply_markup_message_id":"long","draft_message":"draftMessage","type":"ChatInfo"} +{"_": "chat", "id": long, "title": "string", "photo": chatPhoto, "top_message": message, "order": long, "unread_count": int, "last_read_inbox_message_id": long, "last_read_outbox_message_id": long, "notification_settings": notificationSettings, "reply_markup_message_id": long, "draft_message": draftMessage, "type": ChatInfo} ``` @@ -48,7 +48,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=long, title=string, photo=chatPhoto, top_message=message, order=long, unread_count=int, last_read_inbox_message_id=long, last_read_outbox_message_id=long, notification_settings=notificationSettings, reply_markup_message_id=long, draft_message=draftMessage, type=ChatInfo, } +chat={_='chat', id=long, title='string', photo=chatPhoto, top_message=message, order=long, unread_count=int, last_read_inbox_message_id=long, last_read_outbox_message_id=long, notification_settings=notificationSettings, reply_markup_message_id=long, draft_message=draftMessage, type=ChatInfo} ``` diff --git a/docs/TD_docs/constructors/chatInviteLink.md b/docs/TD_docs/constructors/chatInviteLink.md index 225e35a0..110d1986 100644 --- a/docs/TD_docs/constructors/chatInviteLink.md +++ b/docs/TD_docs/constructors/chatInviteLink.md @@ -23,13 +23,13 @@ Contains chat invite link ### Example: ``` -$chatInviteLink = ['_' => 'chatInviteLink', 'invite_link' => string, ]; +$chatInviteLink = ['_' => 'chatInviteLink', 'invite_link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteLink","invite_link":"string"} +{"_": "chatInviteLink", "invite_link": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatInviteLink={_='chatInviteLink', invite_link=string, } +chatInviteLink={_='chatInviteLink', invite_link='string'} ``` diff --git a/docs/TD_docs/constructors/chatInviteLinkInfo.md b/docs/TD_docs/constructors/chatInviteLinkInfo.md index bc76006e..b998fdcc 100644 --- a/docs/TD_docs/constructors/chatInviteLinkInfo.md +++ b/docs/TD_docs/constructors/chatInviteLinkInfo.md @@ -31,13 +31,13 @@ Contains information about chat invite link ### Example: ``` -$chatInviteLinkInfo = ['_' => 'chatInviteLinkInfo', 'chat_id' => long, 'title' => string, 'photo' => chatPhoto, 'member_count' => int, 'members' => [user], 'is_group' => Bool, 'is_channel' => Bool, 'is_public_channel' => Bool, 'is_supergroup_channel' => Bool, ]; +$chatInviteLinkInfo = ['_' => 'chatInviteLinkInfo', 'chat_id' => long, 'title' => 'string', 'photo' => chatPhoto, 'member_count' => int, 'members' => [user], 'is_group' => Bool, 'is_channel' => Bool, 'is_public_channel' => Bool, 'is_supergroup_channel' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteLinkInfo","chat_id":"long","title":"string","photo":"chatPhoto","member_count":"int","members":["user"],"is_group":"Bool","is_channel":"Bool","is_public_channel":"Bool","is_supergroup_channel":"Bool"} +{"_": "chatInviteLinkInfo", "chat_id": long, "title": "string", "photo": chatPhoto, "member_count": int, "members": [user], "is_group": Bool, "is_channel": Bool, "is_public_channel": Bool, "is_supergroup_channel": Bool} ``` @@ -45,7 +45,7 @@ Or, if you're into Lua: ``` -chatInviteLinkInfo={_='chatInviteLinkInfo', chat_id=long, title=string, photo=chatPhoto, member_count=int, members={user}, is_group=Bool, is_channel=Bool, is_public_channel=Bool, is_supergroup_channel=Bool, } +chatInviteLinkInfo={_='chatInviteLinkInfo', chat_id=long, title='string', photo=chatPhoto, member_count=int, members={user}, is_group=Bool, is_channel=Bool, is_public_channel=Bool, is_supergroup_channel=Bool} ``` diff --git a/docs/TD_docs/constructors/chatMember.md b/docs/TD_docs/constructors/chatMember.md index 0c05098f..79aeb5a6 100644 --- a/docs/TD_docs/constructors/chatMember.md +++ b/docs/TD_docs/constructors/chatMember.md @@ -27,13 +27,13 @@ User with information about its chat joining/kicking ### Example: ``` -$chatMember = ['_' => 'chatMember', 'user_id' => int, 'inviter_user_id' => int, 'join_date' => int, 'status' => ChatMemberStatus, 'bot_info' => botInfo, ]; +$chatMember = ['_' => 'chatMember', 'user_id' => int, 'inviter_user_id' => int, 'join_date' => int, 'status' => ChatMemberStatus, 'bot_info' => botInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMember","user_id":"int","inviter_user_id":"int","join_date":"int","status":"ChatMemberStatus","bot_info":"botInfo"} +{"_": "chatMember", "user_id": int, "inviter_user_id": int, "join_date": int, "status": ChatMemberStatus, "bot_info": botInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chatMember={_='chatMember', user_id=int, inviter_user_id=int, join_date=int, status=ChatMemberStatus, bot_info=botInfo, } +chatMember={_='chatMember', user_id=int, inviter_user_id=int, join_date=int, status=ChatMemberStatus, bot_info=botInfo} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusCreator.md b/docs/TD_docs/constructors/chatMemberStatusCreator.md index fd4883e9..11999b4c 100644 --- a/docs/TD_docs/constructors/chatMemberStatusCreator.md +++ b/docs/TD_docs/constructors/chatMemberStatusCreator.md @@ -22,13 +22,13 @@ Creator of the chat, can delete any message, kick any user and add editors and m ### Example: ``` -$chatMemberStatusCreator = ['_' => 'chatMemberStatusCreator', ]; +$chatMemberStatusCreator = ['_' => 'chatMemberStatusCreator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusCreator"} +{"_": "chatMemberStatusCreator"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusCreator={_='chatMemberStatusCreator', } +chatMemberStatusCreator={_='chatMemberStatusCreator'} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusEditor.md b/docs/TD_docs/constructors/chatMemberStatusEditor.md index 1f549c5a..741a8897 100644 --- a/docs/TD_docs/constructors/chatMemberStatusEditor.md +++ b/docs/TD_docs/constructors/chatMemberStatusEditor.md @@ -22,13 +22,13 @@ In broadcast channels, member that can post messages to the broadcast channel an ### Example: ``` -$chatMemberStatusEditor = ['_' => 'chatMemberStatusEditor', ]; +$chatMemberStatusEditor = ['_' => 'chatMemberStatusEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusEditor"} +{"_": "chatMemberStatusEditor"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusEditor={_='chatMemberStatusEditor', } +chatMemberStatusEditor={_='chatMemberStatusEditor'} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusKicked.md b/docs/TD_docs/constructors/chatMemberStatusKicked.md index 8d73958c..11880724 100644 --- a/docs/TD_docs/constructors/chatMemberStatusKicked.md +++ b/docs/TD_docs/constructors/chatMemberStatusKicked.md @@ -22,13 +22,13 @@ User was kicked from the chat (and obviously is not a chat member) ### Example: ``` -$chatMemberStatusKicked = ['_' => 'chatMemberStatusKicked', ]; +$chatMemberStatusKicked = ['_' => 'chatMemberStatusKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusKicked"} +{"_": "chatMemberStatusKicked"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusKicked={_='chatMemberStatusKicked', } +chatMemberStatusKicked={_='chatMemberStatusKicked'} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusLeft.md b/docs/TD_docs/constructors/chatMemberStatusLeft.md index 2f017060..002ae472 100644 --- a/docs/TD_docs/constructors/chatMemberStatusLeft.md +++ b/docs/TD_docs/constructors/chatMemberStatusLeft.md @@ -22,13 +22,13 @@ User is not a chat member ### Example: ``` -$chatMemberStatusLeft = ['_' => 'chatMemberStatusLeft', ]; +$chatMemberStatusLeft = ['_' => 'chatMemberStatusLeft']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusLeft"} +{"_": "chatMemberStatusLeft"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusLeft={_='chatMemberStatusLeft', } +chatMemberStatusLeft={_='chatMemberStatusLeft'} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusMember.md b/docs/TD_docs/constructors/chatMemberStatusMember.md index f7319d36..b2bcabc3 100644 --- a/docs/TD_docs/constructors/chatMemberStatusMember.md +++ b/docs/TD_docs/constructors/chatMemberStatusMember.md @@ -22,13 +22,13 @@ User is a member of the chat, but have no any additional privileges ### Example: ``` -$chatMemberStatusMember = ['_' => 'chatMemberStatusMember', ]; +$chatMemberStatusMember = ['_' => 'chatMemberStatusMember']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusMember"} +{"_": "chatMemberStatusMember"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusMember={_='chatMemberStatusMember', } +chatMemberStatusMember={_='chatMemberStatusMember'} ``` diff --git a/docs/TD_docs/constructors/chatMemberStatusModerator.md b/docs/TD_docs/constructors/chatMemberStatusModerator.md index b95a3fed..4fb44ceb 100644 --- a/docs/TD_docs/constructors/chatMemberStatusModerator.md +++ b/docs/TD_docs/constructors/chatMemberStatusModerator.md @@ -22,13 +22,13 @@ Only for channels, member that can delete messages of unprivileged members and k ### Example: ``` -$chatMemberStatusModerator = ['_' => 'chatMemberStatusModerator', ]; +$chatMemberStatusModerator = ['_' => 'chatMemberStatusModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMemberStatusModerator"} +{"_": "chatMemberStatusModerator"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatMemberStatusModerator={_='chatMemberStatusModerator', } +chatMemberStatusModerator={_='chatMemberStatusModerator'} ``` diff --git a/docs/TD_docs/constructors/chatMembers.md b/docs/TD_docs/constructors/chatMembers.md index eeade184..60554df0 100644 --- a/docs/TD_docs/constructors/chatMembers.md +++ b/docs/TD_docs/constructors/chatMembers.md @@ -24,13 +24,13 @@ Contains list of chat members ### Example: ``` -$chatMembers = ['_' => 'chatMembers', 'total_count' => int, 'members' => [chatMember], ]; +$chatMembers = ['_' => 'chatMembers', 'total_count' => int, 'members' => [chatMember]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatMembers","total_count":"int","members":["chatMember"]} +{"_": "chatMembers", "total_count": int, "members": [chatMember]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatMembers={_='chatMembers', total_count=int, members={chatMember}, } +chatMembers={_='chatMembers', total_count=int, members={chatMember}} ``` diff --git a/docs/TD_docs/constructors/chatPhoto.md b/docs/TD_docs/constructors/chatPhoto.md index 83cd7332..772f745c 100644 --- a/docs/TD_docs/constructors/chatPhoto.md +++ b/docs/TD_docs/constructors/chatPhoto.md @@ -24,13 +24,13 @@ Describes chat photo ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'small' => file, 'big' => file, ]; +$chatPhoto = ['_' => 'chatPhoto', 'small' => file, 'big' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","small":"file","big":"file"} +{"_": "chatPhoto", "small": file, "big": file} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', small=file, big=file, } +chatPhoto={_='chatPhoto', small=file, big=file} ``` diff --git a/docs/TD_docs/constructors/chatReportSpamState.md b/docs/TD_docs/constructors/chatReportSpamState.md index b37a0466..ab042958 100644 --- a/docs/TD_docs/constructors/chatReportSpamState.md +++ b/docs/TD_docs/constructors/chatReportSpamState.md @@ -23,13 +23,13 @@ Contains information about chat report spam state ### Example: ``` -$chatReportSpamState = ['_' => 'chatReportSpamState', 'can_report_spam' => Bool, ]; +$chatReportSpamState = ['_' => 'chatReportSpamState', 'can_report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatReportSpamState","can_report_spam":"Bool"} +{"_": "chatReportSpamState", "can_report_spam": Bool} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatReportSpamState={_='chatReportSpamState', can_report_spam=Bool, } +chatReportSpamState={_='chatReportSpamState', can_report_spam=Bool} ``` diff --git a/docs/TD_docs/constructors/chats.md b/docs/TD_docs/constructors/chats.md index b1f28f14..c7a20b2b 100644 --- a/docs/TD_docs/constructors/chats.md +++ b/docs/TD_docs/constructors/chats.md @@ -23,13 +23,13 @@ Contains list of chats ### Example: ``` -$chats = ['_' => 'chats', 'chats' => [chat], ]; +$chats = ['_' => 'chats', 'chats' => [chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chats","chats":["chat"]} +{"_": "chats", "chats": [chat]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chats={_='chats', chats={chat}, } +chats={_='chats', chats={chat}} ``` diff --git a/docs/TD_docs/constructors/contact.md b/docs/TD_docs/constructors/contact.md index 6db6da81..81151564 100644 --- a/docs/TD_docs/constructors/contact.md +++ b/docs/TD_docs/constructors/contact.md @@ -26,13 +26,13 @@ Describes user contact ### Example: ``` -$contact = ['_' => 'contact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$contact = ['_' => 'contact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "contact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -contact={_='contact', phone_number=string, first_name=string, last_name=string, user_id=int, } +contact={_='contact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/docs/TD_docs/constructors/deviceTokenSet.md b/docs/TD_docs/constructors/deviceTokenSet.md index bcd43085..3fa9d587 100644 --- a/docs/TD_docs/constructors/deviceTokenSet.md +++ b/docs/TD_docs/constructors/deviceTokenSet.md @@ -23,13 +23,13 @@ Contains list of device tokens ### Example: ``` -$deviceTokenSet = ['_' => 'deviceTokenSet', 'tokens' => [DeviceToken], ]; +$deviceTokenSet = ['_' => 'deviceTokenSet', 'tokens' => [DeviceToken]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"deviceTokenSet","tokens":["DeviceToken"]} +{"_": "deviceTokenSet", "tokens": [DeviceToken]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -deviceTokenSet={_='deviceTokenSet', tokens={DeviceToken}, } +deviceTokenSet={_='deviceTokenSet', tokens={DeviceToken}} ``` diff --git a/docs/TD_docs/constructors/document.md b/docs/TD_docs/constructors/document.md index ca5c975e..1efa51f6 100644 --- a/docs/TD_docs/constructors/document.md +++ b/docs/TD_docs/constructors/document.md @@ -26,13 +26,13 @@ Describes document of any type ### Example: ``` -$document = ['_' => 'document', 'file_name' => string, 'mime_type' => string, 'thumb' => photoSize, 'document' => file, ]; +$document = ['_' => 'document', 'file_name' => 'string', 'mime_type' => 'string', 'thumb' => photoSize, 'document' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","file_name":"string","mime_type":"string","thumb":"photoSize","document":"file"} +{"_": "document", "file_name": "string", "mime_type": "string", "thumb": photoSize, "document": file} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -document={_='document', file_name=string, mime_type=string, thumb=photoSize, document=file, } +document={_='document', file_name='string', mime_type='string', thumb=photoSize, document=file} ``` diff --git a/docs/TD_docs/constructors/draftMessage.md b/docs/TD_docs/constructors/draftMessage.md index ff720974..0caadcfb 100644 --- a/docs/TD_docs/constructors/draftMessage.md +++ b/docs/TD_docs/constructors/draftMessage.md @@ -24,13 +24,13 @@ Contains information about draft of a message ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'reply_to_message_id' => long, 'input_message_text' => InputMessageContent, ]; +$draftMessage = ['_' => 'draftMessage', 'reply_to_message_id' => long, 'input_message_text' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","reply_to_message_id":"long","input_message_text":"InputMessageContent"} +{"_": "draftMessage", "reply_to_message_id": long, "input_message_text": InputMessageContent} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', reply_to_message_id=long, input_message_text=InputMessageContent, } +draftMessage={_='draftMessage', reply_to_message_id=long, input_message_text=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/error.md b/docs/TD_docs/constructors/error.md index ba348c29..7bf061da 100644 --- a/docs/TD_docs/constructors/error.md +++ b/docs/TD_docs/constructors/error.md @@ -24,13 +24,13 @@ Object of this type may be returned on every function call in case of the error ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'message' => string, ]; +$error = ['_' => 'error', 'code' => int, 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","message":"string"} +{"_": "error", "code": int, "message": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, message=string, } +error={_='error', code=int, message='string'} ``` diff --git a/docs/TD_docs/constructors/file.md b/docs/TD_docs/constructors/file.md index 47fd5060..fd6862e4 100644 --- a/docs/TD_docs/constructors/file.md +++ b/docs/TD_docs/constructors/file.md @@ -26,13 +26,13 @@ Represents a file ### Example: ``` -$file = ['_' => 'file', 'id' => int, 'persistent_id' => string, 'size' => int, 'path' => string, ]; +$file = ['_' => 'file', 'id' => int, 'persistent_id' => 'string', 'size' => int, 'path' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"file","id":"int","persistent_id":"string","size":"int","path":"string"} +{"_": "file", "id": int, "persistent_id": "string", "size": int, "path": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -file={_='file', id=int, persistent_id=string, size=int, path=string, } +file={_='file', id=int, persistent_id='string', size=int, path='string'} ``` diff --git a/docs/TD_docs/constructors/game.md b/docs/TD_docs/constructors/game.md index 679e271b..7e4e64e6 100644 --- a/docs/TD_docs/constructors/game.md +++ b/docs/TD_docs/constructors/game.md @@ -30,13 +30,13 @@ Describes a game ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'short_name' => string, 'title' => string, 'text' => string, 'text_entities' => [MessageEntity], 'description' => string, 'photo' => photo, 'animation' => animation, ]; +$game = ['_' => 'game', 'id' => long, 'short_name' => 'string', 'title' => 'string', 'text' => 'string', 'text_entities' => [MessageEntity], 'description' => 'string', 'photo' => photo, 'animation' => animation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","short_name":"string","title":"string","text":"string","text_entities":["MessageEntity"],"description":"string","photo":"photo","animation":"animation"} +{"_": "game", "id": long, "short_name": "string", "title": "string", "text": "string", "text_entities": [MessageEntity], "description": "string", "photo": photo, "animation": animation} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, short_name=string, title=string, text=string, text_entities={MessageEntity}, description=string, photo=photo, animation=animation, } +game={_='game', id=long, short_name='string', title='string', text='string', text_entities={MessageEntity}, description='string', photo=photo, animation=animation} ``` diff --git a/docs/TD_docs/constructors/gameHighScore.md b/docs/TD_docs/constructors/gameHighScore.md index 25d89346..f5d84436 100644 --- a/docs/TD_docs/constructors/gameHighScore.md +++ b/docs/TD_docs/constructors/gameHighScore.md @@ -25,13 +25,13 @@ Contains one row of the game high scores table ### Example: ``` -$gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int, ]; +$gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"gameHighScore","position":"int","user_id":"int","score":"int"} +{"_": "gameHighScore", "position": int, "user_id": int, "score": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -gameHighScore={_='gameHighScore', position=int, user_id=int, score=int, } +gameHighScore={_='gameHighScore', position=int, user_id=int, score=int} ``` diff --git a/docs/TD_docs/constructors/gameHighScores.md b/docs/TD_docs/constructors/gameHighScores.md index 389f2abd..844d08d1 100644 --- a/docs/TD_docs/constructors/gameHighScores.md +++ b/docs/TD_docs/constructors/gameHighScores.md @@ -23,13 +23,13 @@ Contains list of game high scores ### Example: ``` -$gameHighScores = ['_' => 'gameHighScores', 'scores' => [gameHighScore], ]; +$gameHighScores = ['_' => 'gameHighScores', 'scores' => [gameHighScore]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"gameHighScores","scores":["gameHighScore"]} +{"_": "gameHighScores", "scores": [gameHighScore]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -gameHighScores={_='gameHighScores', scores={gameHighScore}, } +gameHighScores={_='gameHighScores', scores={gameHighScore}} ``` diff --git a/docs/TD_docs/constructors/gcmDeviceToken.md b/docs/TD_docs/constructors/gcmDeviceToken.md index 0c21bd91..c9cff338 100644 --- a/docs/TD_docs/constructors/gcmDeviceToken.md +++ b/docs/TD_docs/constructors/gcmDeviceToken.md @@ -23,13 +23,13 @@ Token for GCM ### Example: ``` -$gcmDeviceToken = ['_' => 'gcmDeviceToken', 'token' => string, ]; +$gcmDeviceToken = ['_' => 'gcmDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"gcmDeviceToken","token":"string"} +{"_": "gcmDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -gcmDeviceToken={_='gcmDeviceToken', token=string, } +gcmDeviceToken={_='gcmDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/group.md b/docs/TD_docs/constructors/group.md index dcee41ed..0c1b6b0d 100644 --- a/docs/TD_docs/constructors/group.md +++ b/docs/TD_docs/constructors/group.md @@ -28,13 +28,13 @@ Represents a group of zero or more other users ### Example: ``` -$group = ['_' => 'group', 'id' => int, 'member_count' => int, 'status' => ChatMemberStatus, 'anyone_can_edit' => Bool, 'is_active' => Bool, 'migrated_to_channel_id' => int, ]; +$group = ['_' => 'group', 'id' => int, 'member_count' => int, 'status' => ChatMemberStatus, 'anyone_can_edit' => Bool, 'is_active' => Bool, 'migrated_to_channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"group","id":"int","member_count":"int","status":"ChatMemberStatus","anyone_can_edit":"Bool","is_active":"Bool","migrated_to_channel_id":"int"} +{"_": "group", "id": int, "member_count": int, "status": ChatMemberStatus, "anyone_can_edit": Bool, "is_active": Bool, "migrated_to_channel_id": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -group={_='group', id=int, member_count=int, status=ChatMemberStatus, anyone_can_edit=Bool, is_active=Bool, migrated_to_channel_id=int, } +group={_='group', id=int, member_count=int, status=ChatMemberStatus, anyone_can_edit=Bool, is_active=Bool, migrated_to_channel_id=int} ``` diff --git a/docs/TD_docs/constructors/groupChatInfo.md b/docs/TD_docs/constructors/groupChatInfo.md index 5008f0c6..515a70cf 100644 --- a/docs/TD_docs/constructors/groupChatInfo.md +++ b/docs/TD_docs/constructors/groupChatInfo.md @@ -23,13 +23,13 @@ Chat with zero or more other users ### Example: ``` -$groupChatInfo = ['_' => 'groupChatInfo', 'group' => group, ]; +$groupChatInfo = ['_' => 'groupChatInfo', 'group' => group]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"groupChatInfo","group":"group"} +{"_": "groupChatInfo", "group": group} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -groupChatInfo={_='groupChatInfo', group=group, } +groupChatInfo={_='groupChatInfo', group=group} ``` diff --git a/docs/TD_docs/constructors/groupFull.md b/docs/TD_docs/constructors/groupFull.md index 77e1054a..ea99f011 100644 --- a/docs/TD_docs/constructors/groupFull.md +++ b/docs/TD_docs/constructors/groupFull.md @@ -26,13 +26,13 @@ Gives full information about a group ### Example: ``` -$groupFull = ['_' => 'groupFull', 'group' => group, 'creator_user_id' => int, 'members' => [chatMember], 'invite_link' => string, ]; +$groupFull = ['_' => 'groupFull', 'group' => group, 'creator_user_id' => int, 'members' => [chatMember], 'invite_link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"groupFull","group":"group","creator_user_id":"int","members":["chatMember"],"invite_link":"string"} +{"_": "groupFull", "group": group, "creator_user_id": int, "members": [chatMember], "invite_link": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -groupFull={_='groupFull', group=group, creator_user_id=int, members={chatMember}, invite_link=string, } +groupFull={_='groupFull', group=group, creator_user_id=int, members={chatMember}, invite_link='string'} ``` diff --git a/docs/TD_docs/constructors/inlineKeyboardButton.md b/docs/TD_docs/constructors/inlineKeyboardButton.md index 2ea97ee6..6c2f4c6b 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButton.md +++ b/docs/TD_docs/constructors/inlineKeyboardButton.md @@ -24,13 +24,13 @@ Represents one button of the inline keyboard ### Example: ``` -$inlineKeyboardButton = ['_' => 'inlineKeyboardButton', 'text' => string, 'type' => InlineKeyboardButtonType, ]; +$inlineKeyboardButton = ['_' => 'inlineKeyboardButton', 'text' => 'string', 'type' => InlineKeyboardButtonType]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineKeyboardButton","text":"string","type":"InlineKeyboardButtonType"} +{"_": "inlineKeyboardButton", "text": "string", "type": InlineKeyboardButtonType} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inlineKeyboardButton={_='inlineKeyboardButton', text=string, type=InlineKeyboardButtonType, } +inlineKeyboardButton={_='inlineKeyboardButton', text='string', type=InlineKeyboardButtonType} ``` diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md index a41e5428..73f807ef 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md @@ -23,13 +23,13 @@ A button which sends to the bot special callback query ### Example: ``` -$inlineKeyboardButtonTypeCallback = ['_' => 'inlineKeyboardButtonTypeCallback', 'data' => bytes, ]; +$inlineKeyboardButtonTypeCallback = ['_' => 'inlineKeyboardButtonTypeCallback', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineKeyboardButtonTypeCallback","data":"bytes"} +{"_": "inlineKeyboardButtonTypeCallback", "data": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inlineKeyboardButtonTypeCallback={_='inlineKeyboardButtonTypeCallback', data=bytes, } +inlineKeyboardButtonTypeCallback={_='inlineKeyboardButtonTypeCallback', data='bytes'} ``` diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md index afa01b6e..c112e7e5 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md @@ -22,13 +22,13 @@ A button with a game which sends to the bot special callback query, must be in t ### Example: ``` -$inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame', ]; +$inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineKeyboardButtonTypeCallbackGame"} +{"_": "inlineKeyboardButtonTypeCallbackGame"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame', } +inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame'} ``` diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md index ddd7a3db..c273fd34 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md @@ -24,13 +24,13 @@ A button which forces inline query to the bot to be substitued in the input fiel ### Example: ``` -$inlineKeyboardButtonTypeSwitchInline = ['_' => 'inlineKeyboardButtonTypeSwitchInline', 'query' => string, 'in_current_chat' => Bool, ]; +$inlineKeyboardButtonTypeSwitchInline = ['_' => 'inlineKeyboardButtonTypeSwitchInline', 'query' => 'string', 'in_current_chat' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineKeyboardButtonTypeSwitchInline","query":"string","in_current_chat":"Bool"} +{"_": "inlineKeyboardButtonTypeSwitchInline", "query": "string", "in_current_chat": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inlineKeyboardButtonTypeSwitchInline={_='inlineKeyboardButtonTypeSwitchInline', query=string, in_current_chat=Bool, } +inlineKeyboardButtonTypeSwitchInline={_='inlineKeyboardButtonTypeSwitchInline', query='string', in_current_chat=Bool} ``` diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md index bb2c47a0..c4256af9 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md @@ -23,13 +23,13 @@ A button which opens the specified URL ### Example: ``` -$inlineKeyboardButtonTypeUrl = ['_' => 'inlineKeyboardButtonTypeUrl', 'url' => string, ]; +$inlineKeyboardButtonTypeUrl = ['_' => 'inlineKeyboardButtonTypeUrl', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineKeyboardButtonTypeUrl","url":"string"} +{"_": "inlineKeyboardButtonTypeUrl", "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inlineKeyboardButtonTypeUrl={_='inlineKeyboardButtonTypeUrl', url=string, } +inlineKeyboardButtonTypeUrl={_='inlineKeyboardButtonTypeUrl', url='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultAnimation.md b/docs/TD_docs/constructors/inlineQueryResultAnimation.md index f9c67612..2602b55d 100644 --- a/docs/TD_docs/constructors/inlineQueryResultAnimation.md +++ b/docs/TD_docs/constructors/inlineQueryResultAnimation.md @@ -25,13 +25,13 @@ Represents an animation cached on the telegram server ### Example: ``` -$inlineQueryResultAnimation = ['_' => 'inlineQueryResultAnimation', 'id' => string, 'animation' => animation, 'title' => string, ]; +$inlineQueryResultAnimation = ['_' => 'inlineQueryResultAnimation', 'id' => 'string', 'animation' => animation, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultAnimation","id":"string","animation":"animation","title":"string"} +{"_": "inlineQueryResultAnimation", "id": "string", "animation": animation, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inlineQueryResultAnimation={_='inlineQueryResultAnimation', id=string, animation=animation, title=string, } +inlineQueryResultAnimation={_='inlineQueryResultAnimation', id='string', animation=animation, title='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultArticle.md b/docs/TD_docs/constructors/inlineQueryResultArticle.md index 1ebfe886..4bbb37b2 100644 --- a/docs/TD_docs/constructors/inlineQueryResultArticle.md +++ b/docs/TD_docs/constructors/inlineQueryResultArticle.md @@ -30,13 +30,13 @@ Represents link to an article or web page ### Example: ``` -$inlineQueryResultArticle = ['_' => 'inlineQueryResultArticle', 'id' => string, 'url' => string, 'hide_url' => Bool, 'title' => string, 'description' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; +$inlineQueryResultArticle = ['_' => 'inlineQueryResultArticle', 'id' => 'string', 'url' => 'string', 'hide_url' => Bool, 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultArticle","id":"string","url":"string","hide_url":"Bool","title":"string","description":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +{"_": "inlineQueryResultArticle", "id": "string", "url": "string", "hide_url": Bool, "title": "string", "description": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -inlineQueryResultArticle={_='inlineQueryResultArticle', id=string, url=string, hide_url=Bool, title=string, description=string, thumb_url=string, thumb_width=int, thumb_height=int, } +inlineQueryResultArticle={_='inlineQueryResultArticle', id='string', url='string', hide_url=Bool, title='string', description='string', thumb_url='string', thumb_width=int, thumb_height=int} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultAudio.md b/docs/TD_docs/constructors/inlineQueryResultAudio.md index f1586a2f..e3c3143f 100644 --- a/docs/TD_docs/constructors/inlineQueryResultAudio.md +++ b/docs/TD_docs/constructors/inlineQueryResultAudio.md @@ -24,13 +24,13 @@ Represents an audio cached on the telegram server ### Example: ``` -$inlineQueryResultAudio = ['_' => 'inlineQueryResultAudio', 'id' => string, 'audio' => audio, ]; +$inlineQueryResultAudio = ['_' => 'inlineQueryResultAudio', 'id' => 'string', 'audio' => audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultAudio","id":"string","audio":"audio"} +{"_": "inlineQueryResultAudio", "id": "string", "audio": audio} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inlineQueryResultAudio={_='inlineQueryResultAudio', id=string, audio=audio, } +inlineQueryResultAudio={_='inlineQueryResultAudio', id='string', audio=audio} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultContact.md b/docs/TD_docs/constructors/inlineQueryResultContact.md index 16dd83c6..184821d2 100644 --- a/docs/TD_docs/constructors/inlineQueryResultContact.md +++ b/docs/TD_docs/constructors/inlineQueryResultContact.md @@ -27,13 +27,13 @@ Represents user contact ### Example: ``` -$inlineQueryResultContact = ['_' => 'inlineQueryResultContact', 'id' => string, 'contact' => contact, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; +$inlineQueryResultContact = ['_' => 'inlineQueryResultContact', 'id' => 'string', 'contact' => contact, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultContact","id":"string","contact":"contact","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +{"_": "inlineQueryResultContact", "id": "string", "contact": contact, "thumb_url": "string", "thumb_width": int, "thumb_height": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inlineQueryResultContact={_='inlineQueryResultContact', id=string, contact=contact, thumb_url=string, thumb_width=int, thumb_height=int, } +inlineQueryResultContact={_='inlineQueryResultContact', id='string', contact=contact, thumb_url='string', thumb_width=int, thumb_height=int} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultDocument.md b/docs/TD_docs/constructors/inlineQueryResultDocument.md index deb30a20..99379823 100644 --- a/docs/TD_docs/constructors/inlineQueryResultDocument.md +++ b/docs/TD_docs/constructors/inlineQueryResultDocument.md @@ -26,13 +26,13 @@ Represents a document cached on the telegram server ### Example: ``` -$inlineQueryResultDocument = ['_' => 'inlineQueryResultDocument', 'id' => string, 'document' => document, 'title' => string, 'description' => string, ]; +$inlineQueryResultDocument = ['_' => 'inlineQueryResultDocument', 'id' => 'string', 'document' => document, 'title' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultDocument","id":"string","document":"document","title":"string","description":"string"} +{"_": "inlineQueryResultDocument", "id": "string", "document": document, "title": "string", "description": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inlineQueryResultDocument={_='inlineQueryResultDocument', id=string, document=document, title=string, description=string, } +inlineQueryResultDocument={_='inlineQueryResultDocument', id='string', document=document, title='string', description='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultGame.md b/docs/TD_docs/constructors/inlineQueryResultGame.md index bb396bf2..01f5bd1b 100644 --- a/docs/TD_docs/constructors/inlineQueryResultGame.md +++ b/docs/TD_docs/constructors/inlineQueryResultGame.md @@ -24,13 +24,13 @@ Represents information about a game ### Example: ``` -$inlineQueryResultGame = ['_' => 'inlineQueryResultGame', 'id' => string, 'game' => game, ]; +$inlineQueryResultGame = ['_' => 'inlineQueryResultGame', 'id' => 'string', 'game' => game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultGame","id":"string","game":"game"} +{"_": "inlineQueryResultGame", "id": "string", "game": game} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inlineQueryResultGame={_='inlineQueryResultGame', id=string, game=game, } +inlineQueryResultGame={_='inlineQueryResultGame', id='string', game=game} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultLocation.md b/docs/TD_docs/constructors/inlineQueryResultLocation.md index b3f30bc9..4968b6ee 100644 --- a/docs/TD_docs/constructors/inlineQueryResultLocation.md +++ b/docs/TD_docs/constructors/inlineQueryResultLocation.md @@ -28,13 +28,13 @@ Represents a point on the map ### Example: ``` -$inlineQueryResultLocation = ['_' => 'inlineQueryResultLocation', 'id' => string, 'location' => location, 'title' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; +$inlineQueryResultLocation = ['_' => 'inlineQueryResultLocation', 'id' => 'string', 'location' => location, 'title' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultLocation","id":"string","location":"location","title":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +{"_": "inlineQueryResultLocation", "id": "string", "location": location, "title": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -inlineQueryResultLocation={_='inlineQueryResultLocation', id=string, location=location, title=string, thumb_url=string, thumb_width=int, thumb_height=int, } +inlineQueryResultLocation={_='inlineQueryResultLocation', id='string', location=location, title='string', thumb_url='string', thumb_width=int, thumb_height=int} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultPhoto.md b/docs/TD_docs/constructors/inlineQueryResultPhoto.md index 98a8436b..6e1499ce 100644 --- a/docs/TD_docs/constructors/inlineQueryResultPhoto.md +++ b/docs/TD_docs/constructors/inlineQueryResultPhoto.md @@ -26,13 +26,13 @@ Represents a photo cached on the telegram server ### Example: ``` -$inlineQueryResultPhoto = ['_' => 'inlineQueryResultPhoto', 'id' => string, 'photo' => photo, 'title' => string, 'description' => string, ]; +$inlineQueryResultPhoto = ['_' => 'inlineQueryResultPhoto', 'id' => 'string', 'photo' => photo, 'title' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultPhoto","id":"string","photo":"photo","title":"string","description":"string"} +{"_": "inlineQueryResultPhoto", "id": "string", "photo": photo, "title": "string", "description": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inlineQueryResultPhoto={_='inlineQueryResultPhoto', id=string, photo=photo, title=string, description=string, } +inlineQueryResultPhoto={_='inlineQueryResultPhoto', id='string', photo=photo, title='string', description='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultSticker.md b/docs/TD_docs/constructors/inlineQueryResultSticker.md index d35dd6b3..e12da880 100644 --- a/docs/TD_docs/constructors/inlineQueryResultSticker.md +++ b/docs/TD_docs/constructors/inlineQueryResultSticker.md @@ -24,13 +24,13 @@ Represents a sticker cached on the telegram server ### Example: ``` -$inlineQueryResultSticker = ['_' => 'inlineQueryResultSticker', 'id' => string, 'sticker' => sticker, ]; +$inlineQueryResultSticker = ['_' => 'inlineQueryResultSticker', 'id' => 'string', 'sticker' => sticker]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultSticker","id":"string","sticker":"sticker"} +{"_": "inlineQueryResultSticker", "id": "string", "sticker": sticker} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inlineQueryResultSticker={_='inlineQueryResultSticker', id=string, sticker=sticker, } +inlineQueryResultSticker={_='inlineQueryResultSticker', id='string', sticker=sticker} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultVenue.md b/docs/TD_docs/constructors/inlineQueryResultVenue.md index 4f4e77bd..59f997b9 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVenue.md +++ b/docs/TD_docs/constructors/inlineQueryResultVenue.md @@ -27,13 +27,13 @@ Represents information about a venue ### Example: ``` -$inlineQueryResultVenue = ['_' => 'inlineQueryResultVenue', 'id' => string, 'venue' => venue, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; +$inlineQueryResultVenue = ['_' => 'inlineQueryResultVenue', 'id' => 'string', 'venue' => venue, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultVenue","id":"string","venue":"venue","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +{"_": "inlineQueryResultVenue", "id": "string", "venue": venue, "thumb_url": "string", "thumb_width": int, "thumb_height": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inlineQueryResultVenue={_='inlineQueryResultVenue', id=string, venue=venue, thumb_url=string, thumb_width=int, thumb_height=int, } +inlineQueryResultVenue={_='inlineQueryResultVenue', id='string', venue=venue, thumb_url='string', thumb_width=int, thumb_height=int} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultVideo.md b/docs/TD_docs/constructors/inlineQueryResultVideo.md index 18c4a63f..ceff1bd8 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVideo.md +++ b/docs/TD_docs/constructors/inlineQueryResultVideo.md @@ -26,13 +26,13 @@ Represents a video cached on the telegram server ### Example: ``` -$inlineQueryResultVideo = ['_' => 'inlineQueryResultVideo', 'id' => string, 'video' => video, 'title' => string, 'description' => string, ]; +$inlineQueryResultVideo = ['_' => 'inlineQueryResultVideo', 'id' => 'string', 'video' => video, 'title' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultVideo","id":"string","video":"video","title":"string","description":"string"} +{"_": "inlineQueryResultVideo", "id": "string", "video": video, "title": "string", "description": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inlineQueryResultVideo={_='inlineQueryResultVideo', id=string, video=video, title=string, description=string, } +inlineQueryResultVideo={_='inlineQueryResultVideo', id='string', video=video, title='string', description='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResultVoice.md b/docs/TD_docs/constructors/inlineQueryResultVoice.md index 7a7fa609..d806a7b4 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVoice.md +++ b/docs/TD_docs/constructors/inlineQueryResultVoice.md @@ -25,13 +25,13 @@ Represents a voice cached on the telegram server ### Example: ``` -$inlineQueryResultVoice = ['_' => 'inlineQueryResultVoice', 'id' => string, 'voice' => voice, 'title' => string, ]; +$inlineQueryResultVoice = ['_' => 'inlineQueryResultVoice', 'id' => 'string', 'voice' => voice, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResultVoice","id":"string","voice":"voice","title":"string"} +{"_": "inlineQueryResultVoice", "id": "string", "voice": voice, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inlineQueryResultVoice={_='inlineQueryResultVoice', id=string, voice=voice, title=string, } +inlineQueryResultVoice={_='inlineQueryResultVoice', id='string', voice=voice, title='string'} ``` diff --git a/docs/TD_docs/constructors/inlineQueryResults.md b/docs/TD_docs/constructors/inlineQueryResults.md index 0b985e60..69da1a5f 100644 --- a/docs/TD_docs/constructors/inlineQueryResults.md +++ b/docs/TD_docs/constructors/inlineQueryResults.md @@ -27,13 +27,13 @@ Represents results of the inline query. Use sendInlineQueryResultMessage to send ### Example: ``` -$inlineQueryResults = ['_' => 'inlineQueryResults', 'inline_query_id' => long, 'next_offset' => string, 'results' => [InlineQueryResult], 'switch_pm_text' => string, 'switch_pm_parameter' => string, ]; +$inlineQueryResults = ['_' => 'inlineQueryResults', 'inline_query_id' => long, 'next_offset' => 'string', 'results' => [InlineQueryResult], 'switch_pm_text' => 'string', 'switch_pm_parameter' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineQueryResults","inline_query_id":"long","next_offset":"string","results":["InlineQueryResult"],"switch_pm_text":"string","switch_pm_parameter":"string"} +{"_": "inlineQueryResults", "inline_query_id": long, "next_offset": "string", "results": [InlineQueryResult], "switch_pm_text": "string", "switch_pm_parameter": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inlineQueryResults={_='inlineQueryResults', inline_query_id=long, next_offset=string, results={InlineQueryResult}, switch_pm_text=string, switch_pm_parameter=string, } +inlineQueryResults={_='inlineQueryResults', inline_query_id=long, next_offset='string', results={InlineQueryResult}, switch_pm_text='string', switch_pm_parameter='string'} ``` diff --git a/docs/TD_docs/constructors/inputFileGenerated.md b/docs/TD_docs/constructors/inputFileGenerated.md index 60a1c27d..02f2f3fc 100644 --- a/docs/TD_docs/constructors/inputFileGenerated.md +++ b/docs/TD_docs/constructors/inputFileGenerated.md @@ -26,13 +26,13 @@ File generated by the client ### Example: ``` -$inputFileGenerated = ['_' => 'inputFileGenerated', 'original_path' => string, 'conversion' => string, 'expected_size' => int, 'should_cache' => Bool, ]; +$inputFileGenerated = ['_' => 'inputFileGenerated', 'original_path' => 'string', 'conversion' => 'string', 'expected_size' => int, 'should_cache' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileGenerated","original_path":"string","conversion":"string","expected_size":"int","should_cache":"Bool"} +{"_": "inputFileGenerated", "original_path": "string", "conversion": "string", "expected_size": int, "should_cache": Bool} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputFileGenerated={_='inputFileGenerated', original_path=string, conversion=string, expected_size=int, should_cache=Bool, } +inputFileGenerated={_='inputFileGenerated', original_path='string', conversion='string', expected_size=int, should_cache=Bool} ``` diff --git a/docs/TD_docs/constructors/inputFileId.md b/docs/TD_docs/constructors/inputFileId.md index c00248c7..5e15d4dd 100644 --- a/docs/TD_docs/constructors/inputFileId.md +++ b/docs/TD_docs/constructors/inputFileId.md @@ -23,13 +23,13 @@ File defined by its id ### Example: ``` -$inputFileId = ['_' => 'inputFileId', 'id' => int, ]; +$inputFileId = ['_' => 'inputFileId', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileId","id":"int"} +{"_": "inputFileId", "id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileId={_='inputFileId', id=int, } +inputFileId={_='inputFileId', id=int} ``` diff --git a/docs/TD_docs/constructors/inputFileLocal.md b/docs/TD_docs/constructors/inputFileLocal.md index 3272e9dc..741205c4 100644 --- a/docs/TD_docs/constructors/inputFileLocal.md +++ b/docs/TD_docs/constructors/inputFileLocal.md @@ -23,13 +23,13 @@ File deifned by local path ### Example: ``` -$inputFileLocal = ['_' => 'inputFileLocal', 'path' => string, ]; +$inputFileLocal = ['_' => 'inputFileLocal', 'path' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocal","path":"string"} +{"_": "inputFileLocal", "path": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocal={_='inputFileLocal', path=string, } +inputFileLocal={_='inputFileLocal', path='string'} ``` diff --git a/docs/TD_docs/constructors/inputFilePersistentId.md b/docs/TD_docs/constructors/inputFilePersistentId.md index 2706ead4..6fab0887 100644 --- a/docs/TD_docs/constructors/inputFilePersistentId.md +++ b/docs/TD_docs/constructors/inputFilePersistentId.md @@ -23,13 +23,13 @@ File defined by its persistent id ### Example: ``` -$inputFilePersistentId = ['_' => 'inputFilePersistentId', 'persistent_id' => string, ]; +$inputFilePersistentId = ['_' => 'inputFilePersistentId', 'persistent_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFilePersistentId","persistent_id":"string"} +{"_": "inputFilePersistentId", "persistent_id": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFilePersistentId={_='inputFilePersistentId', persistent_id=string, } +inputFilePersistentId={_='inputFilePersistentId', persistent_id='string'} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md index 34dc61e5..d0ac6974 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md @@ -30,13 +30,13 @@ Represents link to an animated gif ### Example: ``` -$inputInlineQueryResultAnimatedGif = ['_' => 'inputInlineQueryResultAnimatedGif', 'id' => string, 'title' => string, 'thumb_url' => string, 'gif_url' => string, 'gif_width' => int, 'gif_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultAnimatedGif = ['_' => 'inputInlineQueryResultAnimatedGif', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'gif_url' => 'string', 'gif_width' => int, 'gif_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultAnimatedGif","id":"string","title":"string","thumb_url":"string","gif_url":"string","gif_width":"int","gif_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultAnimatedGif", "id": "string", "title": "string", "thumb_url": "string", "gif_url": "string", "gif_width": int, "gif_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultAnimatedGif={_='inputInlineQueryResultAnimatedGif', id=string, title=string, thumb_url=string, gif_url=string, gif_width=int, gif_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultAnimatedGif={_='inputInlineQueryResultAnimatedGif', id='string', title='string', thumb_url='string', gif_url='string', gif_width=int, gif_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md index e3c164f1..b60de387 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md @@ -30,13 +30,13 @@ Represents link to an animated (i.e. without sound) H.264/MPEG-4 AVC video ### Example: ``` -$inputInlineQueryResultAnimatedMpeg4 = ['_' => 'inputInlineQueryResultAnimatedMpeg4', 'id' => string, 'title' => string, 'thumb_url' => string, 'mpeg4_url' => string, 'mpeg4_width' => int, 'mpeg4_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultAnimatedMpeg4 = ['_' => 'inputInlineQueryResultAnimatedMpeg4', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'mpeg4_url' => 'string', 'mpeg4_width' => int, 'mpeg4_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultAnimatedMpeg4","id":"string","title":"string","thumb_url":"string","mpeg4_url":"string","mpeg4_width":"int","mpeg4_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultAnimatedMpeg4", "id": "string", "title": "string", "thumb_url": "string", "mpeg4_url": "string", "mpeg4_width": int, "mpeg4_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultAnimatedMpeg4={_='inputInlineQueryResultAnimatedMpeg4', id=string, title=string, thumb_url=string, mpeg4_url=string, mpeg4_width=int, mpeg4_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultAnimatedMpeg4={_='inputInlineQueryResultAnimatedMpeg4', id='string', title='string', thumb_url='string', mpeg4_url='string', mpeg4_width=int, mpeg4_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultArticle.md b/docs/TD_docs/constructors/inputInlineQueryResultArticle.md index 846712c1..e3aca42b 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultArticle.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultArticle.md @@ -32,13 +32,13 @@ Represents link to an article or web page ### Example: ``` -$inputInlineQueryResultArticle = ['_' => 'inputInlineQueryResultArticle', 'id' => string, 'url' => string, 'hide_url' => Bool, 'title' => string, 'description' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultArticle = ['_' => 'inputInlineQueryResultArticle', 'id' => 'string', 'url' => 'string', 'hide_url' => Bool, 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultArticle","id":"string","url":"string","hide_url":"Bool","title":"string","description":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultArticle", "id": "string", "url": "string", "hide_url": Bool, "title": "string", "description": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultArticle={_='inputInlineQueryResultArticle', id=string, url=string, hide_url=Bool, title=string, description=string, thumb_url=string, thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultArticle={_='inputInlineQueryResultArticle', id='string', url='string', hide_url=Bool, title='string', description='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAudio.md b/docs/TD_docs/constructors/inputInlineQueryResultAudio.md index 1b083a4b..d1c57306 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAudio.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAudio.md @@ -29,13 +29,13 @@ Represents link to a mp3 audio file ### Example: ``` -$inputInlineQueryResultAudio = ['_' => 'inputInlineQueryResultAudio', 'id' => string, 'title' => string, 'performer' => string, 'audio_url' => string, 'audio_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultAudio = ['_' => 'inputInlineQueryResultAudio', 'id' => 'string', 'title' => 'string', 'performer' => 'string', 'audio_url' => 'string', 'audio_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultAudio","id":"string","title":"string","performer":"string","audio_url":"string","audio_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultAudio", "id": "string", "title": "string", "performer": "string", "audio_url": "string", "audio_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultAudio={_='inputInlineQueryResultAudio', id=string, title=string, performer=string, audio_url=string, audio_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultAudio={_='inputInlineQueryResultAudio', id='string', title='string', performer='string', audio_url='string', audio_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultContact.md b/docs/TD_docs/constructors/inputInlineQueryResultContact.md index a70e4ece..9cda9c9f 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultContact.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultContact.md @@ -29,13 +29,13 @@ Represents user contact ### Example: ``` -$inputInlineQueryResultContact = ['_' => 'inputInlineQueryResultContact', 'id' => string, 'contact' => contact, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultContact = ['_' => 'inputInlineQueryResultContact', 'id' => 'string', 'contact' => contact, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultContact","id":"string","contact":"contact","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultContact", "id": "string", "contact": contact, "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultContact={_='inputInlineQueryResultContact', id=string, contact=contact, thumb_url=string, thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultContact={_='inputInlineQueryResultContact', id='string', contact=contact, thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultDocument.md b/docs/TD_docs/constructors/inputInlineQueryResultDocument.md index f930342a..229a848c 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultDocument.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultDocument.md @@ -32,13 +32,13 @@ Represents link to a file ### Example: ``` -$inputInlineQueryResultDocument = ['_' => 'inputInlineQueryResultDocument', 'id' => string, 'title' => string, 'description' => string, 'document_url' => string, 'mime_type' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultDocument = ['_' => 'inputInlineQueryResultDocument', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'document_url' => 'string', 'mime_type' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultDocument","id":"string","title":"string","description":"string","document_url":"string","mime_type":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultDocument", "id": "string", "title": "string", "description": "string", "document_url": "string", "mime_type": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultDocument={_='inputInlineQueryResultDocument', id=string, title=string, description=string, document_url=string, mime_type=string, thumb_url=string, thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultDocument={_='inputInlineQueryResultDocument', id='string', title='string', description='string', document_url='string', mime_type='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultGame.md b/docs/TD_docs/constructors/inputInlineQueryResultGame.md index 8a945e6b..db272d42 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultGame.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultGame.md @@ -25,13 +25,13 @@ Represents a game ### Example: ``` -$inputInlineQueryResultGame = ['_' => 'inputInlineQueryResultGame', 'id' => string, 'game_short_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputInlineQueryResultGame = ['_' => 'inputInlineQueryResultGame', 'id' => 'string', 'game_short_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultGame","id":"string","game_short_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputInlineQueryResultGame", "id": "string", "game_short_name": "string", "reply_markup": ReplyMarkup} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultGame={_='inputInlineQueryResultGame', id=string, game_short_name=string, reply_markup=ReplyMarkup, } +inputInlineQueryResultGame={_='inputInlineQueryResultGame', id='string', game_short_name='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultLocation.md b/docs/TD_docs/constructors/inputInlineQueryResultLocation.md index bacb4a1a..fbee760c 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultLocation.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultLocation.md @@ -30,13 +30,13 @@ Represents a point on the map ### Example: ``` -$inputInlineQueryResultLocation = ['_' => 'inputInlineQueryResultLocation', 'id' => string, 'location' => location, 'title' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultLocation = ['_' => 'inputInlineQueryResultLocation', 'id' => 'string', 'location' => location, 'title' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultLocation","id":"string","location":"location","title":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultLocation", "id": "string", "location": location, "title": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultLocation={_='inputInlineQueryResultLocation', id=string, location=location, title=string, thumb_url=string, thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultLocation={_='inputInlineQueryResultLocation', id='string', location=location, title='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md b/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md index fc57a2b7..09d44397 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md @@ -31,13 +31,13 @@ Represents link to a jpeg photo ### Example: ``` -$inputInlineQueryResultPhoto = ['_' => 'inputInlineQueryResultPhoto', 'id' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'photo_url' => string, 'photo_width' => int, 'photo_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultPhoto = ['_' => 'inputInlineQueryResultPhoto', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'photo_url' => 'string', 'photo_width' => int, 'photo_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultPhoto","id":"string","title":"string","description":"string","thumb_url":"string","photo_url":"string","photo_width":"int","photo_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultPhoto", "id": "string", "title": "string", "description": "string", "thumb_url": "string", "photo_url": "string", "photo_width": int, "photo_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -45,7 +45,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultPhoto={_='inputInlineQueryResultPhoto', id=string, title=string, description=string, thumb_url=string, photo_url=string, photo_width=int, photo_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultPhoto={_='inputInlineQueryResultPhoto', id='string', title='string', description='string', thumb_url='string', photo_url='string', photo_width=int, photo_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultSticker.md b/docs/TD_docs/constructors/inputInlineQueryResultSticker.md index 2d2b9791..7f13fd6e 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultSticker.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultSticker.md @@ -29,13 +29,13 @@ Represents link to a webp sticker ### Example: ``` -$inputInlineQueryResultSticker = ['_' => 'inputInlineQueryResultSticker', 'id' => string, 'thumb_url' => string, 'sticker_url' => string, 'sticker_width' => int, 'sticker_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultSticker = ['_' => 'inputInlineQueryResultSticker', 'id' => 'string', 'thumb_url' => 'string', 'sticker_url' => 'string', 'sticker_width' => int, 'sticker_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultSticker","id":"string","thumb_url":"string","sticker_url":"string","sticker_width":"int","sticker_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultSticker", "id": "string", "thumb_url": "string", "sticker_url": "string", "sticker_width": int, "sticker_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultSticker={_='inputInlineQueryResultSticker', id=string, thumb_url=string, sticker_url=string, sticker_width=int, sticker_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultSticker={_='inputInlineQueryResultSticker', id='string', thumb_url='string', sticker_url='string', sticker_width=int, sticker_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVenue.md b/docs/TD_docs/constructors/inputInlineQueryResultVenue.md index 8d91589d..011fbfce 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVenue.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVenue.md @@ -29,13 +29,13 @@ Represents information about a venue ### Example: ``` -$inputInlineQueryResultVenue = ['_' => 'inputInlineQueryResultVenue', 'id' => string, 'venue' => venue, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultVenue = ['_' => 'inputInlineQueryResultVenue', 'id' => 'string', 'venue' => venue, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultVenue","id":"string","venue":"venue","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultVenue", "id": "string", "venue": venue, "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultVenue={_='inputInlineQueryResultVenue', id=string, venue=venue, thumb_url=string, thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultVenue={_='inputInlineQueryResultVenue', id='string', venue=venue, thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVideo.md b/docs/TD_docs/constructors/inputInlineQueryResultVideo.md index fc65341e..207bc884 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVideo.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVideo.md @@ -33,13 +33,13 @@ Represents link to a page containing an embedded video player or a video file ### Example: ``` -$inputInlineQueryResultVideo = ['_' => 'inputInlineQueryResultVideo', 'id' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'video_url' => string, 'mime_type' => string, 'video_width' => int, 'video_height' => int, 'video_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultVideo = ['_' => 'inputInlineQueryResultVideo', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'video_url' => 'string', 'mime_type' => 'string', 'video_width' => int, 'video_height' => int, 'video_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultVideo","id":"string","title":"string","description":"string","thumb_url":"string","video_url":"string","mime_type":"string","video_width":"int","video_height":"int","video_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultVideo", "id": "string", "title": "string", "description": "string", "thumb_url": "string", "video_url": "string", "mime_type": "string", "video_width": int, "video_height": int, "video_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultVideo={_='inputInlineQueryResultVideo', id=string, title=string, description=string, thumb_url=string, video_url=string, mime_type=string, video_width=int, video_height=int, video_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultVideo={_='inputInlineQueryResultVideo', id='string', title='string', description='string', thumb_url='string', video_url='string', mime_type='string', video_width=int, video_height=int, video_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVoice.md b/docs/TD_docs/constructors/inputInlineQueryResultVoice.md index 8138dccf..1b6c88f4 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVoice.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVoice.md @@ -28,13 +28,13 @@ Represents link to a opus encoded audio file in ogg container ### Example: ``` -$inputInlineQueryResultVoice = ['_' => 'inputInlineQueryResultVoice', 'id' => string, 'title' => string, 'voice_url' => string, 'voice_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; +$inputInlineQueryResultVoice = ['_' => 'inputInlineQueryResultVoice', 'id' => 'string', 'title' => 'string', 'voice_url' => 'string', 'voice_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputInlineQueryResultVoice","id":"string","title":"string","voice_url":"string","voice_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +{"_": "inputInlineQueryResultVoice", "id": "string", "title": "string", "voice_url": "string", "voice_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -inputInlineQueryResultVoice={_='inputInlineQueryResultVoice', id=string, title=string, voice_url=string, voice_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, } +inputInlineQueryResultVoice={_='inputInlineQueryResultVoice', id='string', title='string', voice_url='string', voice_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent} ``` diff --git a/docs/TD_docs/constructors/inputMessageAnimation.md b/docs/TD_docs/constructors/inputMessageAnimation.md index e7c408a3..a7b841e9 100644 --- a/docs/TD_docs/constructors/inputMessageAnimation.md +++ b/docs/TD_docs/constructors/inputMessageAnimation.md @@ -27,13 +27,13 @@ Animation message ### Example: ``` -$inputMessageAnimation = ['_' => 'inputMessageAnimation', 'animation' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, 'caption' => string, ]; +$inputMessageAnimation = ['_' => 'inputMessageAnimation', 'animation' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageAnimation","animation":"InputFile","thumb":"InputThumb","width":"int","height":"int","caption":"string"} +{"_": "inputMessageAnimation", "animation": InputFile, "thumb": InputThumb, "width": int, "height": int, "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMessageAnimation={_='inputMessageAnimation', animation=InputFile, thumb=InputThumb, width=int, height=int, caption=string, } +inputMessageAnimation={_='inputMessageAnimation', animation=InputFile, thumb=InputThumb, width=int, height=int, caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageAudio.md b/docs/TD_docs/constructors/inputMessageAudio.md index 06e84a38..4b70da89 100644 --- a/docs/TD_docs/constructors/inputMessageAudio.md +++ b/docs/TD_docs/constructors/inputMessageAudio.md @@ -28,13 +28,13 @@ Audio message ### Example: ``` -$inputMessageAudio = ['_' => 'inputMessageAudio', 'audio' => InputFile, 'album_cover_thumb' => InputThumb, 'duration' => int, 'title' => string, 'performer' => string, 'caption' => string, ]; +$inputMessageAudio = ['_' => 'inputMessageAudio', 'audio' => InputFile, 'album_cover_thumb' => InputThumb, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageAudio","audio":"InputFile","album_cover_thumb":"InputThumb","duration":"int","title":"string","performer":"string","caption":"string"} +{"_": "inputMessageAudio", "audio": InputFile, "album_cover_thumb": InputThumb, "duration": int, "title": "string", "performer": "string", "caption": "string"} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -inputMessageAudio={_='inputMessageAudio', audio=InputFile, album_cover_thumb=InputThumb, duration=int, title=string, performer=string, caption=string, } +inputMessageAudio={_='inputMessageAudio', audio=InputFile, album_cover_thumb=InputThumb, duration=int, title='string', performer='string', caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageContact.md b/docs/TD_docs/constructors/inputMessageContact.md index 0199bdab..fad01831 100644 --- a/docs/TD_docs/constructors/inputMessageContact.md +++ b/docs/TD_docs/constructors/inputMessageContact.md @@ -23,13 +23,13 @@ User contact message ### Example: ``` -$inputMessageContact = ['_' => 'inputMessageContact', 'contact' => contact, ]; +$inputMessageContact = ['_' => 'inputMessageContact', 'contact' => contact]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageContact","contact":"contact"} +{"_": "inputMessageContact", "contact": contact} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageContact={_='inputMessageContact', contact=contact, } +inputMessageContact={_='inputMessageContact', contact=contact} ``` diff --git a/docs/TD_docs/constructors/inputMessageDocument.md b/docs/TD_docs/constructors/inputMessageDocument.md index c5f51ff1..78b72290 100644 --- a/docs/TD_docs/constructors/inputMessageDocument.md +++ b/docs/TD_docs/constructors/inputMessageDocument.md @@ -25,13 +25,13 @@ Document message ### Example: ``` -$inputMessageDocument = ['_' => 'inputMessageDocument', 'document' => InputFile, 'thumb' => InputThumb, 'caption' => string, ]; +$inputMessageDocument = ['_' => 'inputMessageDocument', 'document' => InputFile, 'thumb' => InputThumb, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageDocument","document":"InputFile","thumb":"InputThumb","caption":"string"} +{"_": "inputMessageDocument", "document": InputFile, "thumb": InputThumb, "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMessageDocument={_='inputMessageDocument', document=InputFile, thumb=InputThumb, caption=string, } +inputMessageDocument={_='inputMessageDocument', document=InputFile, thumb=InputThumb, caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageForwarded.md b/docs/TD_docs/constructors/inputMessageForwarded.md index f57feecf..384e8364 100644 --- a/docs/TD_docs/constructors/inputMessageForwarded.md +++ b/docs/TD_docs/constructors/inputMessageForwarded.md @@ -25,13 +25,13 @@ Forwarded message ### Example: ``` -$inputMessageForwarded = ['_' => 'inputMessageForwarded', 'from_chat_id' => long, 'message_id' => long, 'in_game_share' => Bool, ]; +$inputMessageForwarded = ['_' => 'inputMessageForwarded', 'from_chat_id' => long, 'message_id' => long, 'in_game_share' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageForwarded","from_chat_id":"long","message_id":"long","in_game_share":"Bool"} +{"_": "inputMessageForwarded", "from_chat_id": long, "message_id": long, "in_game_share": Bool} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMessageForwarded={_='inputMessageForwarded', from_chat_id=long, message_id=long, in_game_share=Bool, } +inputMessageForwarded={_='inputMessageForwarded', from_chat_id=long, message_id=long, in_game_share=Bool} ``` diff --git a/docs/TD_docs/constructors/inputMessageGame.md b/docs/TD_docs/constructors/inputMessageGame.md index e7d5e328..896b0ac0 100644 --- a/docs/TD_docs/constructors/inputMessageGame.md +++ b/docs/TD_docs/constructors/inputMessageGame.md @@ -24,13 +24,13 @@ Message with a game, can't be used in broadcast channels and secret chats ### Example: ``` -$inputMessageGame = ['_' => 'inputMessageGame', 'bot_user_id' => int, 'game_short_name' => string, ]; +$inputMessageGame = ['_' => 'inputMessageGame', 'bot_user_id' => int, 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageGame","bot_user_id":"int","game_short_name":"string"} +{"_": "inputMessageGame", "bot_user_id": int, "game_short_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMessageGame={_='inputMessageGame', bot_user_id=int, game_short_name=string, } +inputMessageGame={_='inputMessageGame', bot_user_id=int, game_short_name='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageLocation.md b/docs/TD_docs/constructors/inputMessageLocation.md index fcbf9677..6e06c654 100644 --- a/docs/TD_docs/constructors/inputMessageLocation.md +++ b/docs/TD_docs/constructors/inputMessageLocation.md @@ -23,13 +23,13 @@ Message with location ### Example: ``` -$inputMessageLocation = ['_' => 'inputMessageLocation', 'location' => location, ]; +$inputMessageLocation = ['_' => 'inputMessageLocation', 'location' => location]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageLocation","location":"location"} +{"_": "inputMessageLocation", "location": location} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageLocation={_='inputMessageLocation', location=location, } +inputMessageLocation={_='inputMessageLocation', location=location} ``` diff --git a/docs/TD_docs/constructors/inputMessagePhoto.md b/docs/TD_docs/constructors/inputMessagePhoto.md index 40043ba0..8190eaeb 100644 --- a/docs/TD_docs/constructors/inputMessagePhoto.md +++ b/docs/TD_docs/constructors/inputMessagePhoto.md @@ -28,13 +28,13 @@ Photo message ### Example: ``` -$inputMessagePhoto = ['_' => 'inputMessagePhoto', 'photo' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'width' => int, 'height' => int, 'caption' => string, ]; +$inputMessagePhoto = ['_' => 'inputMessagePhoto', 'photo' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'width' => int, 'height' => int, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagePhoto","photo":"InputFile","thumb":"InputThumb","added_sticker_file_ids":["int"],"width":"int","height":"int","caption":"string"} +{"_": "inputMessagePhoto", "photo": InputFile, "thumb": InputThumb, "added_sticker_file_ids": [int], "width": int, "height": int, "caption": "string"} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -inputMessagePhoto={_='inputMessagePhoto', photo=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, width=int, height=int, caption=string, } +inputMessagePhoto={_='inputMessagePhoto', photo=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, width=int, height=int, caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageSticker.md b/docs/TD_docs/constructors/inputMessageSticker.md index 88045bcd..32c746a5 100644 --- a/docs/TD_docs/constructors/inputMessageSticker.md +++ b/docs/TD_docs/constructors/inputMessageSticker.md @@ -26,13 +26,13 @@ Sticker message ### Example: ``` -$inputMessageSticker = ['_' => 'inputMessageSticker', 'sticker' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, ]; +$inputMessageSticker = ['_' => 'inputMessageSticker', 'sticker' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageSticker","sticker":"InputFile","thumb":"InputThumb","width":"int","height":"int"} +{"_": "inputMessageSticker", "sticker": InputFile, "thumb": InputThumb, "width": int, "height": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMessageSticker={_='inputMessageSticker', sticker=InputFile, thumb=InputThumb, width=int, height=int, } +inputMessageSticker={_='inputMessageSticker', sticker=InputFile, thumb=InputThumb, width=int, height=int} ``` diff --git a/docs/TD_docs/constructors/inputMessageText.md b/docs/TD_docs/constructors/inputMessageText.md index 998b3a70..d4ea70b3 100644 --- a/docs/TD_docs/constructors/inputMessageText.md +++ b/docs/TD_docs/constructors/inputMessageText.md @@ -27,13 +27,13 @@ Text message ### Example: ``` -$inputMessageText = ['_' => 'inputMessageText', 'text' => string, 'disable_web_page_preview' => Bool, 'clear_draft' => Bool, 'entities' => [MessageEntity], 'parse_mode' => TextParseMode, ]; +$inputMessageText = ['_' => 'inputMessageText', 'text' => 'string', 'disable_web_page_preview' => Bool, 'clear_draft' => Bool, 'entities' => [MessageEntity], 'parse_mode' => TextParseMode]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageText","text":"string","disable_web_page_preview":"Bool","clear_draft":"Bool","entities":["MessageEntity"],"parse_mode":"TextParseMode"} +{"_": "inputMessageText", "text": "string", "disable_web_page_preview": Bool, "clear_draft": Bool, "entities": [MessageEntity], "parse_mode": TextParseMode} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMessageText={_='inputMessageText', text=string, disable_web_page_preview=Bool, clear_draft=Bool, entities={MessageEntity}, parse_mode=TextParseMode, } +inputMessageText={_='inputMessageText', text='string', disable_web_page_preview=Bool, clear_draft=Bool, entities={MessageEntity}, parse_mode=TextParseMode} ``` diff --git a/docs/TD_docs/constructors/inputMessageVenue.md b/docs/TD_docs/constructors/inputMessageVenue.md index 5fad4f9c..ffbd0361 100644 --- a/docs/TD_docs/constructors/inputMessageVenue.md +++ b/docs/TD_docs/constructors/inputMessageVenue.md @@ -23,13 +23,13 @@ Message with information about venue ### Example: ``` -$inputMessageVenue = ['_' => 'inputMessageVenue', 'venue' => venue, ]; +$inputMessageVenue = ['_' => 'inputMessageVenue', 'venue' => venue]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageVenue","venue":"venue"} +{"_": "inputMessageVenue", "venue": venue} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageVenue={_='inputMessageVenue', venue=venue, } +inputMessageVenue={_='inputMessageVenue', venue=venue} ``` diff --git a/docs/TD_docs/constructors/inputMessageVideo.md b/docs/TD_docs/constructors/inputMessageVideo.md index b6f7965e..7bb78283 100644 --- a/docs/TD_docs/constructors/inputMessageVideo.md +++ b/docs/TD_docs/constructors/inputMessageVideo.md @@ -29,13 +29,13 @@ Video message ### Example: ``` -$inputMessageVideo = ['_' => 'inputMessageVideo', 'video' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'duration' => int, 'width' => int, 'height' => int, 'caption' => string, ]; +$inputMessageVideo = ['_' => 'inputMessageVideo', 'video' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'duration' => int, 'width' => int, 'height' => int, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageVideo","video":"InputFile","thumb":"InputThumb","added_sticker_file_ids":["int"],"duration":"int","width":"int","height":"int","caption":"string"} +{"_": "inputMessageVideo", "video": InputFile, "thumb": InputThumb, "added_sticker_file_ids": [int], "duration": int, "width": int, "height": int, "caption": "string"} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -inputMessageVideo={_='inputMessageVideo', video=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, duration=int, width=int, height=int, caption=string, } +inputMessageVideo={_='inputMessageVideo', video=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, duration=int, width=int, height=int, caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputMessageVoice.md b/docs/TD_docs/constructors/inputMessageVoice.md index ec2fd1d7..540d059d 100644 --- a/docs/TD_docs/constructors/inputMessageVoice.md +++ b/docs/TD_docs/constructors/inputMessageVoice.md @@ -26,13 +26,13 @@ Voice message ### Example: ``` -$inputMessageVoice = ['_' => 'inputMessageVoice', 'voice' => InputFile, 'duration' => int, 'waveform' => bytes, 'caption' => string, ]; +$inputMessageVoice = ['_' => 'inputMessageVoice', 'voice' => InputFile, 'duration' => int, 'waveform' => 'bytes', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageVoice","voice":"InputFile","duration":"int","waveform":"bytes","caption":"string"} +{"_": "inputMessageVoice", "voice": InputFile, "duration": int, "waveform": "bytes", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMessageVoice={_='inputMessageVoice', voice=InputFile, duration=int, waveform=bytes, caption=string, } +inputMessageVoice={_='inputMessageVoice', voice=InputFile, duration=int, waveform='bytes', caption='string'} ``` diff --git a/docs/TD_docs/constructors/inputThumbGenerated.md b/docs/TD_docs/constructors/inputThumbGenerated.md index cd0351ff..ade3cfc5 100644 --- a/docs/TD_docs/constructors/inputThumbGenerated.md +++ b/docs/TD_docs/constructors/inputThumbGenerated.md @@ -26,13 +26,13 @@ Generated thumb ### Example: ``` -$inputThumbGenerated = ['_' => 'inputThumbGenerated', 'original_path' => string, 'conversion' => string, 'width' => int, 'height' => int, ]; +$inputThumbGenerated = ['_' => 'inputThumbGenerated', 'original_path' => 'string', 'conversion' => 'string', 'width' => int, 'height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputThumbGenerated","original_path":"string","conversion":"string","width":"int","height":"int"} +{"_": "inputThumbGenerated", "original_path": "string", "conversion": "string", "width": int, "height": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputThumbGenerated={_='inputThumbGenerated', original_path=string, conversion=string, width=int, height=int, } +inputThumbGenerated={_='inputThumbGenerated', original_path='string', conversion='string', width=int, height=int} ``` diff --git a/docs/TD_docs/constructors/inputThumbLocal.md b/docs/TD_docs/constructors/inputThumbLocal.md index 1ad89627..5453307d 100644 --- a/docs/TD_docs/constructors/inputThumbLocal.md +++ b/docs/TD_docs/constructors/inputThumbLocal.md @@ -25,13 +25,13 @@ Local file with the thumb ### Example: ``` -$inputThumbLocal = ['_' => 'inputThumbLocal', 'path' => string, 'width' => int, 'height' => int, ]; +$inputThumbLocal = ['_' => 'inputThumbLocal', 'path' => 'string', 'width' => int, 'height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputThumbLocal","path":"string","width":"int","height":"int"} +{"_": "inputThumbLocal", "path": "string", "width": int, "height": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputThumbLocal={_='inputThumbLocal', path=string, width=int, height=int, } +inputThumbLocal={_='inputThumbLocal', path='string', width=int, height=int} ``` diff --git a/docs/TD_docs/constructors/keyboardButton.md b/docs/TD_docs/constructors/keyboardButton.md index f6a2ef40..b7bb976d 100644 --- a/docs/TD_docs/constructors/keyboardButton.md +++ b/docs/TD_docs/constructors/keyboardButton.md @@ -24,13 +24,13 @@ Represents one button of the bot keyboard ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, 'type' => KeyboardButtonType, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string', 'type' => KeyboardButtonType]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string","type":"KeyboardButtonType"} +{"_": "keyboardButton", "text": "string", "type": KeyboardButtonType} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, type=KeyboardButtonType, } +keyboardButton={_='keyboardButton', text='string', type=KeyboardButtonType} ``` diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md index 99e8158c..4f7472bd 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md @@ -22,13 +22,13 @@ A button which sends user location when pressed, available only in private chats ### Example: ``` -$keyboardButtonTypeRequestLocation = ['_' => 'keyboardButtonTypeRequestLocation', ]; +$keyboardButtonTypeRequestLocation = ['_' => 'keyboardButtonTypeRequestLocation']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonTypeRequestLocation"} +{"_": "keyboardButtonTypeRequestLocation"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonTypeRequestLocation={_='keyboardButtonTypeRequestLocation', } +keyboardButtonTypeRequestLocation={_='keyboardButtonTypeRequestLocation'} ``` diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md index 24b8e6a2..1d51cab7 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md @@ -22,13 +22,13 @@ A button which sends user's phone number when pressed, available only in private ### Example: ``` -$keyboardButtonTypeRequestPhoneNumber = ['_' => 'keyboardButtonTypeRequestPhoneNumber', ]; +$keyboardButtonTypeRequestPhoneNumber = ['_' => 'keyboardButtonTypeRequestPhoneNumber']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonTypeRequestPhoneNumber"} +{"_": "keyboardButtonTypeRequestPhoneNumber"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonTypeRequestPhoneNumber={_='keyboardButtonTypeRequestPhoneNumber', } +keyboardButtonTypeRequestPhoneNumber={_='keyboardButtonTypeRequestPhoneNumber'} ``` diff --git a/docs/TD_docs/constructors/keyboardButtonTypeText.md b/docs/TD_docs/constructors/keyboardButtonTypeText.md index 7079858a..fa64b50a 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeText.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeText.md @@ -22,13 +22,13 @@ Simple button with a text, which should be sent when the button is pressed ### Example: ``` -$keyboardButtonTypeText = ['_' => 'keyboardButtonTypeText', ]; +$keyboardButtonTypeText = ['_' => 'keyboardButtonTypeText']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonTypeText"} +{"_": "keyboardButtonTypeText"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonTypeText={_='keyboardButtonTypeText', } +keyboardButtonTypeText={_='keyboardButtonTypeText'} ``` diff --git a/docs/TD_docs/constructors/linkStateContact.md b/docs/TD_docs/constructors/linkStateContact.md index 9144afa0..82f9b461 100644 --- a/docs/TD_docs/constructors/linkStateContact.md +++ b/docs/TD_docs/constructors/linkStateContact.md @@ -22,13 +22,13 @@ Other user is in contacts list, particularly its phone number is known ### Example: ``` -$linkStateContact = ['_' => 'linkStateContact', ]; +$linkStateContact = ['_' => 'linkStateContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"linkStateContact"} +{"_": "linkStateContact"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -linkStateContact={_='linkStateContact', } +linkStateContact={_='linkStateContact'} ``` diff --git a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md index b86e179f..eb3ab7d7 100644 --- a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md +++ b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md @@ -22,13 +22,13 @@ Other user's phone number is known but user not in contacts list ### Example: ``` -$linkStateKnowsPhoneNumber = ['_' => 'linkStateKnowsPhoneNumber', ]; +$linkStateKnowsPhoneNumber = ['_' => 'linkStateKnowsPhoneNumber']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"linkStateKnowsPhoneNumber"} +{"_": "linkStateKnowsPhoneNumber"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -linkStateKnowsPhoneNumber={_='linkStateKnowsPhoneNumber', } +linkStateKnowsPhoneNumber={_='linkStateKnowsPhoneNumber'} ``` diff --git a/docs/TD_docs/constructors/linkStateNone.md b/docs/TD_docs/constructors/linkStateNone.md index 7626300e..2d2d9cad 100644 --- a/docs/TD_docs/constructors/linkStateNone.md +++ b/docs/TD_docs/constructors/linkStateNone.md @@ -22,13 +22,13 @@ Other user's phone number doesn't known ### Example: ``` -$linkStateNone = ['_' => 'linkStateNone', ]; +$linkStateNone = ['_' => 'linkStateNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"linkStateNone"} +{"_": "linkStateNone"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -linkStateNone={_='linkStateNone', } +linkStateNone={_='linkStateNone'} ``` diff --git a/docs/TD_docs/constructors/location.md b/docs/TD_docs/constructors/location.md index c74c1d87..292a1715 100644 --- a/docs/TD_docs/constructors/location.md +++ b/docs/TD_docs/constructors/location.md @@ -24,13 +24,13 @@ Describes location on Earth ### Example: ``` -$location = ['_' => 'location', 'latitude' => double, 'longitude' => double, ]; +$location = ['_' => 'location', 'latitude' => double, 'longitude' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"location","latitude":"double","longitude":"double"} +{"_": "location", "latitude": double, "longitude": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -location={_='location', latitude=double, longitude=double, } +location={_='location', latitude=double, longitude=double} ``` diff --git a/docs/TD_docs/constructors/maskPosition.md b/docs/TD_docs/constructors/maskPosition.md index ba19e6b9..a212d1b3 100644 --- a/docs/TD_docs/constructors/maskPosition.md +++ b/docs/TD_docs/constructors/maskPosition.md @@ -26,13 +26,13 @@ Position on a photo where a mask should be placed ### Example: ``` -$maskPosition = ['_' => 'maskPosition', 'point' => int, 'x_shift' => double, 'y_shift' => double, 'zoom' => double, ]; +$maskPosition = ['_' => 'maskPosition', 'point' => int, 'x_shift' => double, 'y_shift' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskPosition","point":"int","x_shift":"double","y_shift":"double","zoom":"double"} +{"_": "maskPosition", "point": int, "x_shift": double, "y_shift": double, "zoom": double} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -maskPosition={_='maskPosition', point=int, x_shift=double, y_shift=double, zoom=double, } +maskPosition={_='maskPosition', point=int, x_shift=double, y_shift=double, zoom=double} ``` diff --git a/docs/TD_docs/constructors/message.md b/docs/TD_docs/constructors/message.md index 1146ea09..95d1e1d0 100644 --- a/docs/TD_docs/constructors/message.md +++ b/docs/TD_docs/constructors/message.md @@ -39,13 +39,13 @@ Describes message ### Example: ``` -$message = ['_' => 'message', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'send_state' => MessageSendState, 'can_be_edited' => Bool, 'can_be_deleted' => Bool, 'is_post' => Bool, 'date' => int, 'edit_date' => int, 'forward_info' => MessageForwardInfo, 'reply_to_message_id' => long, 'ttl' => int, 'ttl_expires_in' => double, 'via_bot_user_id' => int, 'views' => int, 'content' => MessageContent, 'reply_markup' => ReplyMarkup, ]; +$message = ['_' => 'message', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'send_state' => MessageSendState, 'can_be_edited' => Bool, 'can_be_deleted' => Bool, 'is_post' => Bool, 'date' => int, 'edit_date' => int, 'forward_info' => MessageForwardInfo, 'reply_to_message_id' => long, 'ttl' => int, 'ttl_expires_in' => double, 'via_bot_user_id' => int, 'views' => int, 'content' => MessageContent, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"message","id":"long","sender_user_id":"int","chat_id":"long","send_state":"MessageSendState","can_be_edited":"Bool","can_be_deleted":"Bool","is_post":"Bool","date":"int","edit_date":"int","forward_info":"MessageForwardInfo","reply_to_message_id":"long","ttl":"int","ttl_expires_in":"double","via_bot_user_id":"int","views":"int","content":"MessageContent","reply_markup":"ReplyMarkup"} +{"_": "message", "id": long, "sender_user_id": int, "chat_id": long, "send_state": MessageSendState, "can_be_edited": Bool, "can_be_deleted": Bool, "is_post": Bool, "date": int, "edit_date": int, "forward_info": MessageForwardInfo, "reply_to_message_id": long, "ttl": int, "ttl_expires_in": double, "via_bot_user_id": int, "views": int, "content": MessageContent, "reply_markup": ReplyMarkup} ``` @@ -53,7 +53,7 @@ Or, if you're into Lua: ``` -message={_='message', id=long, sender_user_id=int, chat_id=long, send_state=MessageSendState, can_be_edited=Bool, can_be_deleted=Bool, is_post=Bool, date=int, edit_date=int, forward_info=MessageForwardInfo, reply_to_message_id=long, ttl=int, ttl_expires_in=double, via_bot_user_id=int, views=int, content=MessageContent, reply_markup=ReplyMarkup, } +message={_='message', id=long, sender_user_id=int, chat_id=long, send_state=MessageSendState, can_be_edited=Bool, can_be_deleted=Bool, is_post=Bool, date=int, edit_date=int, forward_info=MessageForwardInfo, reply_to_message_id=long, ttl=int, ttl_expires_in=double, via_bot_user_id=int, views=int, content=MessageContent, reply_markup=ReplyMarkup} ``` diff --git a/docs/TD_docs/constructors/messageAnimation.md b/docs/TD_docs/constructors/messageAnimation.md index d33aa064..b6962a16 100644 --- a/docs/TD_docs/constructors/messageAnimation.md +++ b/docs/TD_docs/constructors/messageAnimation.md @@ -24,13 +24,13 @@ Animation message ### Example: ``` -$messageAnimation = ['_' => 'messageAnimation', 'animation' => animation, 'caption' => string, ]; +$messageAnimation = ['_' => 'messageAnimation', 'animation' => animation, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageAnimation","animation":"animation","caption":"string"} +{"_": "messageAnimation", "animation": animation, "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageAnimation={_='messageAnimation', animation=animation, caption=string, } +messageAnimation={_='messageAnimation', animation=animation, caption='string'} ``` diff --git a/docs/TD_docs/constructors/messageAudio.md b/docs/TD_docs/constructors/messageAudio.md index 7d9d704d..81306d8d 100644 --- a/docs/TD_docs/constructors/messageAudio.md +++ b/docs/TD_docs/constructors/messageAudio.md @@ -25,13 +25,13 @@ Audio message ### Example: ``` -$messageAudio = ['_' => 'messageAudio', 'audio' => audio, 'caption' => string, 'is_listened' => Bool, ]; +$messageAudio = ['_' => 'messageAudio', 'audio' => audio, 'caption' => 'string', 'is_listened' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageAudio","audio":"audio","caption":"string","is_listened":"Bool"} +{"_": "messageAudio", "audio": audio, "caption": "string", "is_listened": Bool} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageAudio={_='messageAudio', audio=audio, caption=string, is_listened=Bool, } +messageAudio={_='messageAudio', audio=audio, caption='string', is_listened=Bool} ``` diff --git a/docs/TD_docs/constructors/messageChannelChatCreate.md b/docs/TD_docs/constructors/messageChannelChatCreate.md index 874f9801..38f0c112 100644 --- a/docs/TD_docs/constructors/messageChannelChatCreate.md +++ b/docs/TD_docs/constructors/messageChannelChatCreate.md @@ -23,13 +23,13 @@ New channel chat created ### Example: ``` -$messageChannelChatCreate = ['_' => 'messageChannelChatCreate', 'title' => string, ]; +$messageChannelChatCreate = ['_' => 'messageChannelChatCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChannelChatCreate","title":"string"} +{"_": "messageChannelChatCreate", "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChannelChatCreate={_='messageChannelChatCreate', title=string, } +messageChannelChatCreate={_='messageChannelChatCreate', title='string'} ``` diff --git a/docs/TD_docs/constructors/messageChatAddMembers.md b/docs/TD_docs/constructors/messageChatAddMembers.md index a86e1616..2a454515 100644 --- a/docs/TD_docs/constructors/messageChatAddMembers.md +++ b/docs/TD_docs/constructors/messageChatAddMembers.md @@ -23,13 +23,13 @@ Chat members added ### Example: ``` -$messageChatAddMembers = ['_' => 'messageChatAddMembers', 'members' => [user], ]; +$messageChatAddMembers = ['_' => 'messageChatAddMembers', 'members' => [user]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatAddMembers","members":["user"]} +{"_": "messageChatAddMembers", "members": [user]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatAddMembers={_='messageChatAddMembers', members={user}, } +messageChatAddMembers={_='messageChatAddMembers', members={user}} ``` diff --git a/docs/TD_docs/constructors/messageChatChangePhoto.md b/docs/TD_docs/constructors/messageChatChangePhoto.md index 9e09a9d2..7c9fdaee 100644 --- a/docs/TD_docs/constructors/messageChatChangePhoto.md +++ b/docs/TD_docs/constructors/messageChatChangePhoto.md @@ -23,13 +23,13 @@ Chat photo changed ### Example: ``` -$messageChatChangePhoto = ['_' => 'messageChatChangePhoto', 'photo' => photo, ]; +$messageChatChangePhoto = ['_' => 'messageChatChangePhoto', 'photo' => photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatChangePhoto","photo":"photo"} +{"_": "messageChatChangePhoto", "photo": photo} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatChangePhoto={_='messageChatChangePhoto', photo=photo, } +messageChatChangePhoto={_='messageChatChangePhoto', photo=photo} ``` diff --git a/docs/TD_docs/constructors/messageChatChangeTitle.md b/docs/TD_docs/constructors/messageChatChangeTitle.md index 3559ef30..656c299c 100644 --- a/docs/TD_docs/constructors/messageChatChangeTitle.md +++ b/docs/TD_docs/constructors/messageChatChangeTitle.md @@ -23,13 +23,13 @@ Chat title changed ### Example: ``` -$messageChatChangeTitle = ['_' => 'messageChatChangeTitle', 'title' => string, ]; +$messageChatChangeTitle = ['_' => 'messageChatChangeTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatChangeTitle","title":"string"} +{"_": "messageChatChangeTitle", "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatChangeTitle={_='messageChatChangeTitle', title=string, } +messageChatChangeTitle={_='messageChatChangeTitle', title='string'} ``` diff --git a/docs/TD_docs/constructors/messageChatDeleteMember.md b/docs/TD_docs/constructors/messageChatDeleteMember.md index 4c3b2af2..c7bbb0f5 100644 --- a/docs/TD_docs/constructors/messageChatDeleteMember.md +++ b/docs/TD_docs/constructors/messageChatDeleteMember.md @@ -23,13 +23,13 @@ Chat member deleted ### Example: ``` -$messageChatDeleteMember = ['_' => 'messageChatDeleteMember', 'user' => user, ]; +$messageChatDeleteMember = ['_' => 'messageChatDeleteMember', 'user' => user]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatDeleteMember","user":"user"} +{"_": "messageChatDeleteMember", "user": user} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatDeleteMember={_='messageChatDeleteMember', user=user, } +messageChatDeleteMember={_='messageChatDeleteMember', user=user} ``` diff --git a/docs/TD_docs/constructors/messageChatDeletePhoto.md b/docs/TD_docs/constructors/messageChatDeletePhoto.md index 0f9550f8..e042679b 100644 --- a/docs/TD_docs/constructors/messageChatDeletePhoto.md +++ b/docs/TD_docs/constructors/messageChatDeletePhoto.md @@ -22,13 +22,13 @@ Chat photo deleted ### Example: ``` -$messageChatDeletePhoto = ['_' => 'messageChatDeletePhoto', ]; +$messageChatDeletePhoto = ['_' => 'messageChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatDeletePhoto"} +{"_": "messageChatDeletePhoto"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageChatDeletePhoto={_='messageChatDeletePhoto', } +messageChatDeletePhoto={_='messageChatDeletePhoto'} ``` diff --git a/docs/TD_docs/constructors/messageChatJoinByLink.md b/docs/TD_docs/constructors/messageChatJoinByLink.md index 54f94f3d..bd1a1be1 100644 --- a/docs/TD_docs/constructors/messageChatJoinByLink.md +++ b/docs/TD_docs/constructors/messageChatJoinByLink.md @@ -22,13 +22,13 @@ Chat member joined by invite link ### Example: ``` -$messageChatJoinByLink = ['_' => 'messageChatJoinByLink', ]; +$messageChatJoinByLink = ['_' => 'messageChatJoinByLink']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatJoinByLink"} +{"_": "messageChatJoinByLink"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageChatJoinByLink={_='messageChatJoinByLink', } +messageChatJoinByLink={_='messageChatJoinByLink'} ``` diff --git a/docs/TD_docs/constructors/messageChatMigrateFrom.md b/docs/TD_docs/constructors/messageChatMigrateFrom.md index 085493cd..805c1a11 100644 --- a/docs/TD_docs/constructors/messageChatMigrateFrom.md +++ b/docs/TD_docs/constructors/messageChatMigrateFrom.md @@ -24,13 +24,13 @@ Supergroup channel is created from group chat ### Example: ``` -$messageChatMigrateFrom = ['_' => 'messageChatMigrateFrom', 'title' => string, 'group_id' => int, ]; +$messageChatMigrateFrom = ['_' => 'messageChatMigrateFrom', 'title' => 'string', 'group_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatMigrateFrom","title":"string","group_id":"int"} +{"_": "messageChatMigrateFrom", "title": "string", "group_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageChatMigrateFrom={_='messageChatMigrateFrom', title=string, group_id=int, } +messageChatMigrateFrom={_='messageChatMigrateFrom', title='string', group_id=int} ``` diff --git a/docs/TD_docs/constructors/messageChatMigrateTo.md b/docs/TD_docs/constructors/messageChatMigrateTo.md index 0ce392c8..e9fd168a 100644 --- a/docs/TD_docs/constructors/messageChatMigrateTo.md +++ b/docs/TD_docs/constructors/messageChatMigrateTo.md @@ -23,13 +23,13 @@ Group chat is migrated to supergroup channel and deactivated ### Example: ``` -$messageChatMigrateTo = ['_' => 'messageChatMigrateTo', 'channel_id' => int, ]; +$messageChatMigrateTo = ['_' => 'messageChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatMigrateTo","channel_id":"int"} +{"_": "messageChatMigrateTo", "channel_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatMigrateTo={_='messageChatMigrateTo', channel_id=int, } +messageChatMigrateTo={_='messageChatMigrateTo', channel_id=int} ``` diff --git a/docs/TD_docs/constructors/messageChatSetTtl.md b/docs/TD_docs/constructors/messageChatSetTtl.md index 75ba615e..88259e2a 100644 --- a/docs/TD_docs/constructors/messageChatSetTtl.md +++ b/docs/TD_docs/constructors/messageChatSetTtl.md @@ -23,13 +23,13 @@ Messages ttl setting in secret chat has changed ### Example: ``` -$messageChatSetTtl = ['_' => 'messageChatSetTtl', 'ttl' => int, ]; +$messageChatSetTtl = ['_' => 'messageChatSetTtl', 'ttl' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageChatSetTtl","ttl":"int"} +{"_": "messageChatSetTtl", "ttl": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageChatSetTtl={_='messageChatSetTtl', ttl=int, } +messageChatSetTtl={_='messageChatSetTtl', ttl=int} ``` diff --git a/docs/TD_docs/constructors/messageContact.md b/docs/TD_docs/constructors/messageContact.md index 29ec09c9..bfe1a0c5 100644 --- a/docs/TD_docs/constructors/messageContact.md +++ b/docs/TD_docs/constructors/messageContact.md @@ -23,13 +23,13 @@ User contact message ### Example: ``` -$messageContact = ['_' => 'messageContact', 'contact' => contact, ]; +$messageContact = ['_' => 'messageContact', 'contact' => contact]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageContact","contact":"contact"} +{"_": "messageContact", "contact": contact} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageContact={_='messageContact', contact=contact, } +messageContact={_='messageContact', contact=contact} ``` diff --git a/docs/TD_docs/constructors/messageDocument.md b/docs/TD_docs/constructors/messageDocument.md index 3febd8b1..d1338123 100644 --- a/docs/TD_docs/constructors/messageDocument.md +++ b/docs/TD_docs/constructors/messageDocument.md @@ -24,13 +24,13 @@ Document message ### Example: ``` -$messageDocument = ['_' => 'messageDocument', 'document' => document, 'caption' => string, ]; +$messageDocument = ['_' => 'messageDocument', 'document' => document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageDocument","document":"document","caption":"string"} +{"_": "messageDocument", "document": document, "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageDocument={_='messageDocument', document=document, caption=string, } +messageDocument={_='messageDocument', document=document, caption='string'} ``` diff --git a/docs/TD_docs/constructors/messageEntityBold.md b/docs/TD_docs/constructors/messageEntityBold.md index 7f10315f..32132485 100644 --- a/docs/TD_docs/constructors/messageEntityBold.md +++ b/docs/TD_docs/constructors/messageEntityBold.md @@ -24,13 +24,13 @@ Bold text ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityBotCommand.md b/docs/TD_docs/constructors/messageEntityBotCommand.md index 4910ef16..23760e84 100644 --- a/docs/TD_docs/constructors/messageEntityBotCommand.md +++ b/docs/TD_docs/constructors/messageEntityBotCommand.md @@ -24,13 +24,13 @@ Bot command beginning with / ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityCode.md b/docs/TD_docs/constructors/messageEntityCode.md index a3866f0e..1144d429 100644 --- a/docs/TD_docs/constructors/messageEntityCode.md +++ b/docs/TD_docs/constructors/messageEntityCode.md @@ -24,13 +24,13 @@ Text needs to be formatted as inside of code HTML tag ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityEmail.md b/docs/TD_docs/constructors/messageEntityEmail.md index 3234baab..ebbac2f7 100644 --- a/docs/TD_docs/constructors/messageEntityEmail.md +++ b/docs/TD_docs/constructors/messageEntityEmail.md @@ -24,13 +24,13 @@ Email ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityHashtag.md b/docs/TD_docs/constructors/messageEntityHashtag.md index 83683fe1..10425c9a 100644 --- a/docs/TD_docs/constructors/messageEntityHashtag.md +++ b/docs/TD_docs/constructors/messageEntityHashtag.md @@ -24,13 +24,13 @@ Hashtag beginning with # ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityItalic.md b/docs/TD_docs/constructors/messageEntityItalic.md index a8a5004c..78158ba0 100644 --- a/docs/TD_docs/constructors/messageEntityItalic.md +++ b/docs/TD_docs/constructors/messageEntityItalic.md @@ -24,13 +24,13 @@ Italic text ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityMention.md b/docs/TD_docs/constructors/messageEntityMention.md index 9fc33026..a0bd1b60 100644 --- a/docs/TD_docs/constructors/messageEntityMention.md +++ b/docs/TD_docs/constructors/messageEntityMention.md @@ -24,13 +24,13 @@ Mention of the user by his username ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityMentionName.md b/docs/TD_docs/constructors/messageEntityMentionName.md index a4b7a506..ba47577c 100644 --- a/docs/TD_docs/constructors/messageEntityMentionName.md +++ b/docs/TD_docs/constructors/messageEntityMentionName.md @@ -25,13 +25,13 @@ Mention of the user by some text ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityPre.md b/docs/TD_docs/constructors/messageEntityPre.md index f05e9e7b..9601a034 100644 --- a/docs/TD_docs/constructors/messageEntityPre.md +++ b/docs/TD_docs/constructors/messageEntityPre.md @@ -24,13 +24,13 @@ Text needs to be formatted as inside of pre HTML tag ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int"} +{"_": "messageEntityPre", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, } +messageEntityPre={_='messageEntityPre', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageEntityPreCode.md b/docs/TD_docs/constructors/messageEntityPreCode.md index addc4389..aef29e67 100644 --- a/docs/TD_docs/constructors/messageEntityPreCode.md +++ b/docs/TD_docs/constructors/messageEntityPreCode.md @@ -25,13 +25,13 @@ Text needs to be formatted as inside of pre and code HTML tags ### Example: ``` -$messageEntityPreCode = ['_' => 'messageEntityPreCode', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPreCode = ['_' => 'messageEntityPreCode', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPreCode","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPreCode", "offset": int, "length": int, "language": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageEntityPreCode={_='messageEntityPreCode', offset=int, length=int, language=string, } +messageEntityPreCode={_='messageEntityPreCode', offset=int, length=int, language='string'} ``` diff --git a/docs/TD_docs/constructors/messageEntityTextUrl.md b/docs/TD_docs/constructors/messageEntityTextUrl.md index daa95d45..1625fbda 100644 --- a/docs/TD_docs/constructors/messageEntityTextUrl.md +++ b/docs/TD_docs/constructors/messageEntityTextUrl.md @@ -25,13 +25,13 @@ Text description showed instead of the url ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/docs/TD_docs/constructors/messageEntityUrl.md b/docs/TD_docs/constructors/messageEntityUrl.md index 6c5411f0..682820bc 100644 --- a/docs/TD_docs/constructors/messageEntityUrl.md +++ b/docs/TD_docs/constructors/messageEntityUrl.md @@ -24,13 +24,13 @@ Url beginning with http ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/docs/TD_docs/constructors/messageForwardedFromUser.md b/docs/TD_docs/constructors/messageForwardedFromUser.md index 6ad9f364..ac48a340 100644 --- a/docs/TD_docs/constructors/messageForwardedFromUser.md +++ b/docs/TD_docs/constructors/messageForwardedFromUser.md @@ -24,13 +24,13 @@ Message is originally written by known user ### Example: ``` -$messageForwardedFromUser = ['_' => 'messageForwardedFromUser', 'sender_user_id' => int, 'date' => int, ]; +$messageForwardedFromUser = ['_' => 'messageForwardedFromUser', 'sender_user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageForwardedFromUser","sender_user_id":"int","date":"int"} +{"_": "messageForwardedFromUser", "sender_user_id": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageForwardedFromUser={_='messageForwardedFromUser', sender_user_id=int, date=int, } +messageForwardedFromUser={_='messageForwardedFromUser', sender_user_id=int, date=int} ``` diff --git a/docs/TD_docs/constructors/messageForwardedPost.md b/docs/TD_docs/constructors/messageForwardedPost.md index 7cc58a51..ad1c2604 100644 --- a/docs/TD_docs/constructors/messageForwardedPost.md +++ b/docs/TD_docs/constructors/messageForwardedPost.md @@ -26,13 +26,13 @@ Message is orifinally a channel post ### Example: ``` -$messageForwardedPost = ['_' => 'messageForwardedPost', 'chat_id' => long, 'sender_user_id' => int, 'date' => int, 'message_id' => long, ]; +$messageForwardedPost = ['_' => 'messageForwardedPost', 'chat_id' => long, 'sender_user_id' => int, 'date' => int, 'message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageForwardedPost","chat_id":"long","sender_user_id":"int","date":"int","message_id":"long"} +{"_": "messageForwardedPost", "chat_id": long, "sender_user_id": int, "date": int, "message_id": long} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messageForwardedPost={_='messageForwardedPost', chat_id=long, sender_user_id=int, date=int, message_id=long, } +messageForwardedPost={_='messageForwardedPost', chat_id=long, sender_user_id=int, date=int, message_id=long} ``` diff --git a/docs/TD_docs/constructors/messageGame.md b/docs/TD_docs/constructors/messageGame.md index d377ad75..97e470ba 100644 --- a/docs/TD_docs/constructors/messageGame.md +++ b/docs/TD_docs/constructors/messageGame.md @@ -23,13 +23,13 @@ Message with a game ### Example: ``` -$messageGame = ['_' => 'messageGame', 'game' => game, ]; +$messageGame = ['_' => 'messageGame', 'game' => game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGame","game":"game"} +{"_": "messageGame", "game": game} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageGame={_='messageGame', game=game, } +messageGame={_='messageGame', game=game} ``` diff --git a/docs/TD_docs/constructors/messageGameScore.md b/docs/TD_docs/constructors/messageGameScore.md index 30b1b16b..34ba372d 100644 --- a/docs/TD_docs/constructors/messageGameScore.md +++ b/docs/TD_docs/constructors/messageGameScore.md @@ -25,13 +25,13 @@ New high score was achieved in a game ### Example: ``` -$messageGameScore = ['_' => 'messageGameScore', 'game_message_id' => long, 'game_id' => long, 'score' => int, ]; +$messageGameScore = ['_' => 'messageGameScore', 'game_message_id' => long, 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGameScore","game_message_id":"long","game_id":"long","score":"int"} +{"_": "messageGameScore", "game_message_id": long, "game_id": long, "score": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageGameScore={_='messageGameScore', game_message_id=long, game_id=long, score=int, } +messageGameScore={_='messageGameScore', game_message_id=long, game_id=long, score=int} ``` diff --git a/docs/TD_docs/constructors/messageGroupChatCreate.md b/docs/TD_docs/constructors/messageGroupChatCreate.md index c89c8171..3d0a71d4 100644 --- a/docs/TD_docs/constructors/messageGroupChatCreate.md +++ b/docs/TD_docs/constructors/messageGroupChatCreate.md @@ -24,13 +24,13 @@ New group chat created ### Example: ``` -$messageGroupChatCreate = ['_' => 'messageGroupChatCreate', 'title' => string, 'members' => [user], ]; +$messageGroupChatCreate = ['_' => 'messageGroupChatCreate', 'title' => 'string', 'members' => [user]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroupChatCreate","title":"string","members":["user"]} +{"_": "messageGroupChatCreate", "title": "string", "members": [user]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroupChatCreate={_='messageGroupChatCreate', title=string, members={user}, } +messageGroupChatCreate={_='messageGroupChatCreate', title='string', members={user}} ``` diff --git a/docs/TD_docs/constructors/messageIsBeingSent.md b/docs/TD_docs/constructors/messageIsBeingSent.md index c09d2c7a..c29eb3ce 100644 --- a/docs/TD_docs/constructors/messageIsBeingSent.md +++ b/docs/TD_docs/constructors/messageIsBeingSent.md @@ -22,13 +22,13 @@ Message is outgoing but is yet not delivered to the server ### Example: ``` -$messageIsBeingSent = ['_' => 'messageIsBeingSent', ]; +$messageIsBeingSent = ['_' => 'messageIsBeingSent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageIsBeingSent"} +{"_": "messageIsBeingSent"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageIsBeingSent={_='messageIsBeingSent', } +messageIsBeingSent={_='messageIsBeingSent'} ``` diff --git a/docs/TD_docs/constructors/messageIsFailedToSend.md b/docs/TD_docs/constructors/messageIsFailedToSend.md index 8a4555a3..50108924 100644 --- a/docs/TD_docs/constructors/messageIsFailedToSend.md +++ b/docs/TD_docs/constructors/messageIsFailedToSend.md @@ -22,13 +22,13 @@ Message is failed to send ### Example: ``` -$messageIsFailedToSend = ['_' => 'messageIsFailedToSend', ]; +$messageIsFailedToSend = ['_' => 'messageIsFailedToSend']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageIsFailedToSend"} +{"_": "messageIsFailedToSend"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageIsFailedToSend={_='messageIsFailedToSend', } +messageIsFailedToSend={_='messageIsFailedToSend'} ``` diff --git a/docs/TD_docs/constructors/messageIsIncoming.md b/docs/TD_docs/constructors/messageIsIncoming.md index cfac42cd..ff17c90e 100644 --- a/docs/TD_docs/constructors/messageIsIncoming.md +++ b/docs/TD_docs/constructors/messageIsIncoming.md @@ -22,13 +22,13 @@ Message is incoming ### Example: ``` -$messageIsIncoming = ['_' => 'messageIsIncoming', ]; +$messageIsIncoming = ['_' => 'messageIsIncoming']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageIsIncoming"} +{"_": "messageIsIncoming"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageIsIncoming={_='messageIsIncoming', } +messageIsIncoming={_='messageIsIncoming'} ``` diff --git a/docs/TD_docs/constructors/messageIsSuccessfullySent.md b/docs/TD_docs/constructors/messageIsSuccessfullySent.md index 2bcfb092..6c091ae0 100644 --- a/docs/TD_docs/constructors/messageIsSuccessfullySent.md +++ b/docs/TD_docs/constructors/messageIsSuccessfullySent.md @@ -22,13 +22,13 @@ Message was synchronized with the server ### Example: ``` -$messageIsSuccessfullySent = ['_' => 'messageIsSuccessfullySent', ]; +$messageIsSuccessfullySent = ['_' => 'messageIsSuccessfullySent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageIsSuccessfullySent"} +{"_": "messageIsSuccessfullySent"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageIsSuccessfullySent={_='messageIsSuccessfullySent', } +messageIsSuccessfullySent={_='messageIsSuccessfullySent'} ``` diff --git a/docs/TD_docs/constructors/messageLocation.md b/docs/TD_docs/constructors/messageLocation.md index 64095201..3e633eee 100644 --- a/docs/TD_docs/constructors/messageLocation.md +++ b/docs/TD_docs/constructors/messageLocation.md @@ -23,13 +23,13 @@ Message with location ### Example: ``` -$messageLocation = ['_' => 'messageLocation', 'location' => location, ]; +$messageLocation = ['_' => 'messageLocation', 'location' => location]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageLocation","location":"location"} +{"_": "messageLocation", "location": location} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageLocation={_='messageLocation', location=location, } +messageLocation={_='messageLocation', location=location} ``` diff --git a/docs/TD_docs/constructors/messagePhoto.md b/docs/TD_docs/constructors/messagePhoto.md index a60e8358..cdf97314 100644 --- a/docs/TD_docs/constructors/messagePhoto.md +++ b/docs/TD_docs/constructors/messagePhoto.md @@ -24,13 +24,13 @@ Photo message ### Example: ``` -$messagePhoto = ['_' => 'messagePhoto', 'photo' => photo, 'caption' => string, ]; +$messagePhoto = ['_' => 'messagePhoto', 'photo' => photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messagePhoto","photo":"photo","caption":"string"} +{"_": "messagePhoto", "photo": photo, "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messagePhoto={_='messagePhoto', photo=photo, caption=string, } +messagePhoto={_='messagePhoto', photo=photo, caption='string'} ``` diff --git a/docs/TD_docs/constructors/messagePinMessage.md b/docs/TD_docs/constructors/messagePinMessage.md index a715c9a8..5665d6f8 100644 --- a/docs/TD_docs/constructors/messagePinMessage.md +++ b/docs/TD_docs/constructors/messagePinMessage.md @@ -23,13 +23,13 @@ Some message was pinned ### Example: ``` -$messagePinMessage = ['_' => 'messagePinMessage', 'message_id' => long, ]; +$messagePinMessage = ['_' => 'messagePinMessage', 'message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messagePinMessage","message_id":"long"} +{"_": "messagePinMessage", "message_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messagePinMessage={_='messagePinMessage', message_id=long, } +messagePinMessage={_='messagePinMessage', message_id=long} ``` diff --git a/docs/TD_docs/constructors/messageScreenshotTaken.md b/docs/TD_docs/constructors/messageScreenshotTaken.md index 2a8d95f6..81f06e6d 100644 --- a/docs/TD_docs/constructors/messageScreenshotTaken.md +++ b/docs/TD_docs/constructors/messageScreenshotTaken.md @@ -22,13 +22,13 @@ Screenshot of messages in secret chat was taken ### Example: ``` -$messageScreenshotTaken = ['_' => 'messageScreenshotTaken', ]; +$messageScreenshotTaken = ['_' => 'messageScreenshotTaken']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageScreenshotTaken"} +{"_": "messageScreenshotTaken"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageScreenshotTaken={_='messageScreenshotTaken', } +messageScreenshotTaken={_='messageScreenshotTaken'} ``` diff --git a/docs/TD_docs/constructors/messageSticker.md b/docs/TD_docs/constructors/messageSticker.md index 82f4b13c..18594932 100644 --- a/docs/TD_docs/constructors/messageSticker.md +++ b/docs/TD_docs/constructors/messageSticker.md @@ -23,13 +23,13 @@ Sticker message ### Example: ``` -$messageSticker = ['_' => 'messageSticker', 'sticker' => sticker, ]; +$messageSticker = ['_' => 'messageSticker', 'sticker' => sticker]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageSticker","sticker":"sticker"} +{"_": "messageSticker", "sticker": sticker} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageSticker={_='messageSticker', sticker=sticker, } +messageSticker={_='messageSticker', sticker=sticker} ``` diff --git a/docs/TD_docs/constructors/messageText.md b/docs/TD_docs/constructors/messageText.md index 2ebbce7e..43392edd 100644 --- a/docs/TD_docs/constructors/messageText.md +++ b/docs/TD_docs/constructors/messageText.md @@ -25,13 +25,13 @@ Text message ### Example: ``` -$messageText = ['_' => 'messageText', 'text' => string, 'entities' => [MessageEntity], 'web_page' => webPage, ]; +$messageText = ['_' => 'messageText', 'text' => 'string', 'entities' => [MessageEntity], 'web_page' => webPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageText","text":"string","entities":["MessageEntity"],"web_page":"webPage"} +{"_": "messageText", "text": "string", "entities": [MessageEntity], "web_page": webPage} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageText={_='messageText', text=string, entities={MessageEntity}, web_page=webPage, } +messageText={_='messageText', text='string', entities={MessageEntity}, web_page=webPage} ``` diff --git a/docs/TD_docs/constructors/messageUnsupported.md b/docs/TD_docs/constructors/messageUnsupported.md index 41aa9cf0..11ec80e1 100644 --- a/docs/TD_docs/constructors/messageUnsupported.md +++ b/docs/TD_docs/constructors/messageUnsupported.md @@ -22,13 +22,13 @@ Unsupported message content ### Example: ``` -$messageUnsupported = ['_' => 'messageUnsupported', ]; +$messageUnsupported = ['_' => 'messageUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageUnsupported"} +{"_": "messageUnsupported"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageUnsupported={_='messageUnsupported', } +messageUnsupported={_='messageUnsupported'} ``` diff --git a/docs/TD_docs/constructors/messageVenue.md b/docs/TD_docs/constructors/messageVenue.md index 8f81f25a..3b576735 100644 --- a/docs/TD_docs/constructors/messageVenue.md +++ b/docs/TD_docs/constructors/messageVenue.md @@ -23,13 +23,13 @@ Message with information about venue ### Example: ``` -$messageVenue = ['_' => 'messageVenue', 'venue' => venue, ]; +$messageVenue = ['_' => 'messageVenue', 'venue' => venue]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageVenue","venue":"venue"} +{"_": "messageVenue", "venue": venue} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageVenue={_='messageVenue', venue=venue, } +messageVenue={_='messageVenue', venue=venue} ``` diff --git a/docs/TD_docs/constructors/messageVideo.md b/docs/TD_docs/constructors/messageVideo.md index 8ff991fe..601d4854 100644 --- a/docs/TD_docs/constructors/messageVideo.md +++ b/docs/TD_docs/constructors/messageVideo.md @@ -24,13 +24,13 @@ Video message ### Example: ``` -$messageVideo = ['_' => 'messageVideo', 'video' => video, 'caption' => string, ]; +$messageVideo = ['_' => 'messageVideo', 'video' => video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageVideo","video":"video","caption":"string"} +{"_": "messageVideo", "video": video, "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageVideo={_='messageVideo', video=video, caption=string, } +messageVideo={_='messageVideo', video=video, caption='string'} ``` diff --git a/docs/TD_docs/constructors/messageVoice.md b/docs/TD_docs/constructors/messageVoice.md index bf955b38..8270da51 100644 --- a/docs/TD_docs/constructors/messageVoice.md +++ b/docs/TD_docs/constructors/messageVoice.md @@ -25,13 +25,13 @@ Voice message ### Example: ``` -$messageVoice = ['_' => 'messageVoice', 'voice' => voice, 'caption' => string, 'is_listened' => Bool, ]; +$messageVoice = ['_' => 'messageVoice', 'voice' => voice, 'caption' => 'string', 'is_listened' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageVoice","voice":"voice","caption":"string","is_listened":"Bool"} +{"_": "messageVoice", "voice": voice, "caption": "string", "is_listened": Bool} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageVoice={_='messageVoice', voice=voice, caption=string, is_listened=Bool, } +messageVoice={_='messageVoice', voice=voice, caption='string', is_listened=Bool} ``` diff --git a/docs/TD_docs/constructors/messages.md b/docs/TD_docs/constructors/messages.md index 8cfd8877..edc5ff8c 100644 --- a/docs/TD_docs/constructors/messages.md +++ b/docs/TD_docs/constructors/messages.md @@ -24,13 +24,13 @@ Contains list of messages ### Example: ``` -$messages = ['_' => 'messages', 'total_count' => int, 'messages' => [message], ]; +$messages = ['_' => 'messages', 'total_count' => int, 'messages' => [message]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages","total_count":"int","messages":["message"]} +{"_": "messages", "total_count": int, "messages": [message]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages={_='messages', total_count=int, messages={message}, } +messages={_='messages', total_count=int, messages={message}} ``` diff --git a/docs/TD_docs/constructors/mpnsDeviceToken.md b/docs/TD_docs/constructors/mpnsDeviceToken.md index 06a0bae1..0fcac755 100644 --- a/docs/TD_docs/constructors/mpnsDeviceToken.md +++ b/docs/TD_docs/constructors/mpnsDeviceToken.md @@ -23,13 +23,13 @@ Token for MPNS ### Example: ``` -$mpnsDeviceToken = ['_' => 'mpnsDeviceToken', 'token' => string, ]; +$mpnsDeviceToken = ['_' => 'mpnsDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"mpnsDeviceToken","token":"string"} +{"_": "mpnsDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -mpnsDeviceToken={_='mpnsDeviceToken', token=string, } +mpnsDeviceToken={_='mpnsDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/notificationSettings.md b/docs/TD_docs/constructors/notificationSettings.md index 13c0b478..f439462f 100644 --- a/docs/TD_docs/constructors/notificationSettings.md +++ b/docs/TD_docs/constructors/notificationSettings.md @@ -25,13 +25,13 @@ Contains information about notification settings for chat or chats ### Example: ``` -$notificationSettings = ['_' => 'notificationSettings', 'mute_for' => int, 'sound' => string, 'show_preview' => Bool, ]; +$notificationSettings = ['_' => 'notificationSettings', 'mute_for' => int, 'sound' => 'string', 'show_preview' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notificationSettings","mute_for":"int","sound":"string","show_preview":"Bool"} +{"_": "notificationSettings", "mute_for": int, "sound": "string", "show_preview": Bool} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -notificationSettings={_='notificationSettings', mute_for=int, sound=string, show_preview=Bool, } +notificationSettings={_='notificationSettings', mute_for=int, sound='string', show_preview=Bool} ``` diff --git a/docs/TD_docs/constructors/notificationSettingsForAllChats.md b/docs/TD_docs/constructors/notificationSettingsForAllChats.md index 266ded28..02518e6c 100644 --- a/docs/TD_docs/constructors/notificationSettingsForAllChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForAllChats.md @@ -22,13 +22,13 @@ Notification settings applied to all chats ### Example: ``` -$notificationSettingsForAllChats = ['_' => 'notificationSettingsForAllChats', ]; +$notificationSettingsForAllChats = ['_' => 'notificationSettingsForAllChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notificationSettingsForAllChats"} +{"_": "notificationSettingsForAllChats"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -notificationSettingsForAllChats={_='notificationSettingsForAllChats', } +notificationSettingsForAllChats={_='notificationSettingsForAllChats'} ``` diff --git a/docs/TD_docs/constructors/notificationSettingsForChat.md b/docs/TD_docs/constructors/notificationSettingsForChat.md index cfa09099..6b28f7b4 100644 --- a/docs/TD_docs/constructors/notificationSettingsForChat.md +++ b/docs/TD_docs/constructors/notificationSettingsForChat.md @@ -23,13 +23,13 @@ Notification settings applied to particular chat ### Example: ``` -$notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long, ]; +$notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notificationSettingsForChat","chat_id":"long"} +{"_": "notificationSettingsForChat", "chat_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -notificationSettingsForChat={_='notificationSettingsForChat', chat_id=long, } +notificationSettingsForChat={_='notificationSettingsForChat', chat_id=long} ``` diff --git a/docs/TD_docs/constructors/notificationSettingsForGroupChats.md b/docs/TD_docs/constructors/notificationSettingsForGroupChats.md index 7e98c2ff..95d04255 100644 --- a/docs/TD_docs/constructors/notificationSettingsForGroupChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForGroupChats.md @@ -22,13 +22,13 @@ Notification settings applied to all group and broadcast channel chats (supergro ### Example: ``` -$notificationSettingsForGroupChats = ['_' => 'notificationSettingsForGroupChats', ]; +$notificationSettingsForGroupChats = ['_' => 'notificationSettingsForGroupChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notificationSettingsForGroupChats"} +{"_": "notificationSettingsForGroupChats"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -notificationSettingsForGroupChats={_='notificationSettingsForGroupChats', } +notificationSettingsForGroupChats={_='notificationSettingsForGroupChats'} ``` diff --git a/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md b/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md index 3ea1824d..a9ca04a2 100644 --- a/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md @@ -22,13 +22,13 @@ Notification settings applied to all private chats ### Example: ``` -$notificationSettingsForPrivateChats = ['_' => 'notificationSettingsForPrivateChats', ]; +$notificationSettingsForPrivateChats = ['_' => 'notificationSettingsForPrivateChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notificationSettingsForPrivateChats"} +{"_": "notificationSettingsForPrivateChats"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -notificationSettingsForPrivateChats={_='notificationSettingsForPrivateChats', } +notificationSettingsForPrivateChats={_='notificationSettingsForPrivateChats'} ``` diff --git a/docs/TD_docs/constructors/ok.md b/docs/TD_docs/constructors/ok.md index efb4bfed..e85eae70 100644 --- a/docs/TD_docs/constructors/ok.md +++ b/docs/TD_docs/constructors/ok.md @@ -22,13 +22,13 @@ Object of this type returns on successful function call for some functions ### Example: ``` -$ok = ['_' => 'ok', ]; +$ok = ['_' => 'ok']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"ok"} +{"_": "ok"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -ok={_='ok', } +ok={_='ok'} ``` diff --git a/docs/TD_docs/constructors/optionBoolean.md b/docs/TD_docs/constructors/optionBoolean.md index 2cee20b6..c6334f63 100644 --- a/docs/TD_docs/constructors/optionBoolean.md +++ b/docs/TD_docs/constructors/optionBoolean.md @@ -23,13 +23,13 @@ Boolean option ### Example: ``` -$optionBoolean = ['_' => 'optionBoolean', 'value' => Bool, ]; +$optionBoolean = ['_' => 'optionBoolean', 'value' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"optionBoolean","value":"Bool"} +{"_": "optionBoolean", "value": Bool} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -optionBoolean={_='optionBoolean', value=Bool, } +optionBoolean={_='optionBoolean', value=Bool} ``` diff --git a/docs/TD_docs/constructors/optionEmpty.md b/docs/TD_docs/constructors/optionEmpty.md index 1e9bf373..03165680 100644 --- a/docs/TD_docs/constructors/optionEmpty.md +++ b/docs/TD_docs/constructors/optionEmpty.md @@ -22,13 +22,13 @@ Unknown option or option having default value ### Example: ``` -$optionEmpty = ['_' => 'optionEmpty', ]; +$optionEmpty = ['_' => 'optionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"optionEmpty"} +{"_": "optionEmpty"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -optionEmpty={_='optionEmpty', } +optionEmpty={_='optionEmpty'} ``` diff --git a/docs/TD_docs/constructors/optionInteger.md b/docs/TD_docs/constructors/optionInteger.md index 6f699cb9..de881452 100644 --- a/docs/TD_docs/constructors/optionInteger.md +++ b/docs/TD_docs/constructors/optionInteger.md @@ -23,13 +23,13 @@ Integer option ### Example: ``` -$optionInteger = ['_' => 'optionInteger', 'value' => int, ]; +$optionInteger = ['_' => 'optionInteger', 'value' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"optionInteger","value":"int"} +{"_": "optionInteger", "value": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -optionInteger={_='optionInteger', value=int, } +optionInteger={_='optionInteger', value=int} ``` diff --git a/docs/TD_docs/constructors/optionString.md b/docs/TD_docs/constructors/optionString.md index 5b5e791b..26404618 100644 --- a/docs/TD_docs/constructors/optionString.md +++ b/docs/TD_docs/constructors/optionString.md @@ -23,13 +23,13 @@ String option ### Example: ``` -$optionString = ['_' => 'optionString', 'value' => string, ]; +$optionString = ['_' => 'optionString', 'value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"optionString","value":"string"} +{"_": "optionString", "value": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -optionString={_='optionString', value=string, } +optionString={_='optionString', value='string'} ``` diff --git a/docs/TD_docs/constructors/passwordRecoveryInfo.md b/docs/TD_docs/constructors/passwordRecoveryInfo.md index f8edcb0a..9414e3cc 100644 --- a/docs/TD_docs/constructors/passwordRecoveryInfo.md +++ b/docs/TD_docs/constructors/passwordRecoveryInfo.md @@ -23,13 +23,13 @@ Contains information available to the user after requesting password recovery ### Example: ``` -$passwordRecoveryInfo = ['_' => 'passwordRecoveryInfo', 'recovery_email_pattern' => string, ]; +$passwordRecoveryInfo = ['_' => 'passwordRecoveryInfo', 'recovery_email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"passwordRecoveryInfo","recovery_email_pattern":"string"} +{"_": "passwordRecoveryInfo", "recovery_email_pattern": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -passwordRecoveryInfo={_='passwordRecoveryInfo', recovery_email_pattern=string, } +passwordRecoveryInfo={_='passwordRecoveryInfo', recovery_email_pattern='string'} ``` diff --git a/docs/TD_docs/constructors/passwordState.md b/docs/TD_docs/constructors/passwordState.md index 057bdbf9..2950f2e6 100644 --- a/docs/TD_docs/constructors/passwordState.md +++ b/docs/TD_docs/constructors/passwordState.md @@ -26,13 +26,13 @@ Represents current state of the two-step verification ### Example: ``` -$passwordState = ['_' => 'passwordState', 'has_password' => Bool, 'password_hint' => string, 'has_recovery_email' => Bool, 'unconfirmed_recovery_email_pattern' => string, ]; +$passwordState = ['_' => 'passwordState', 'has_password' => Bool, 'password_hint' => 'string', 'has_recovery_email' => Bool, 'unconfirmed_recovery_email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"passwordState","has_password":"Bool","password_hint":"string","has_recovery_email":"Bool","unconfirmed_recovery_email_pattern":"string"} +{"_": "passwordState", "has_password": Bool, "password_hint": "string", "has_recovery_email": Bool, "unconfirmed_recovery_email_pattern": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -passwordState={_='passwordState', has_password=Bool, password_hint=string, has_recovery_email=Bool, unconfirmed_recovery_email_pattern=string, } +passwordState={_='passwordState', has_password=Bool, password_hint='string', has_recovery_email=Bool, unconfirmed_recovery_email_pattern='string'} ``` diff --git a/docs/TD_docs/constructors/photo.md b/docs/TD_docs/constructors/photo.md index c98e46c9..1015b63e 100644 --- a/docs/TD_docs/constructors/photo.md +++ b/docs/TD_docs/constructors/photo.md @@ -25,13 +25,13 @@ Describes photo ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'has_stickers' => Bool, 'sizes' => [photoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'has_stickers' => Bool, 'sizes' => [photoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","has_stickers":"Bool","sizes":["photoSize"]} +{"_": "photo", "id": long, "has_stickers": Bool, "sizes": [photoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, has_stickers=Bool, sizes={photoSize}, } +photo={_='photo', id=long, has_stickers=Bool, sizes={photoSize}} ``` diff --git a/docs/TD_docs/constructors/photoSize.md b/docs/TD_docs/constructors/photoSize.md index ffa08366..5a7fbace 100644 --- a/docs/TD_docs/constructors/photoSize.md +++ b/docs/TD_docs/constructors/photoSize.md @@ -26,13 +26,13 @@ Photo description ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'photo' => file, 'width' => int, 'height' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'photo' => file, 'width' => int, 'height' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","photo":"file","width":"int","height":"int"} +{"_": "photoSize", "type": "string", "photo": file, "width": int, "height": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, photo=file, width=int, height=int, } +photoSize={_='photoSize', type='string', photo=file, width=int, height=int} ``` diff --git a/docs/TD_docs/constructors/privacyKeyChatInvite.md b/docs/TD_docs/constructors/privacyKeyChatInvite.md index 334bcd65..f91390f3 100644 --- a/docs/TD_docs/constructors/privacyKeyChatInvite.md +++ b/docs/TD_docs/constructors/privacyKeyChatInvite.md @@ -22,13 +22,13 @@ Privacy key for managing ability of invitation of the user to chats ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/docs/TD_docs/constructors/privacyKeyUserStatus.md b/docs/TD_docs/constructors/privacyKeyUserStatus.md index 13ba56f2..fd5d0fb6 100644 --- a/docs/TD_docs/constructors/privacyKeyUserStatus.md +++ b/docs/TD_docs/constructors/privacyKeyUserStatus.md @@ -22,13 +22,13 @@ Privacy key for managing visibility of the user status ### Example: ``` -$privacyKeyUserStatus = ['_' => 'privacyKeyUserStatus', ]; +$privacyKeyUserStatus = ['_' => 'privacyKeyUserStatus']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyUserStatus"} +{"_": "privacyKeyUserStatus"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyKeyUserStatus={_='privacyKeyUserStatus', } +privacyKeyUserStatus={_='privacyKeyUserStatus'} ``` diff --git a/docs/TD_docs/constructors/privacyRuleAllowAll.md b/docs/TD_docs/constructors/privacyRuleAllowAll.md index 1b4ffcb0..5dbf04dd 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowAll.md +++ b/docs/TD_docs/constructors/privacyRuleAllowAll.md @@ -22,13 +22,13 @@ Rule to allow all users ### Example: ``` -$privacyRuleAllowAll = ['_' => 'privacyRuleAllowAll', ]; +$privacyRuleAllowAll = ['_' => 'privacyRuleAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleAllowAll"} +{"_": "privacyRuleAllowAll"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyRuleAllowAll={_='privacyRuleAllowAll', } +privacyRuleAllowAll={_='privacyRuleAllowAll'} ``` diff --git a/docs/TD_docs/constructors/privacyRuleAllowContacts.md b/docs/TD_docs/constructors/privacyRuleAllowContacts.md index 315765a7..35cf4d71 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleAllowContacts.md @@ -22,13 +22,13 @@ Rule to allow all user contacts ### Example: ``` -$privacyRuleAllowContacts = ['_' => 'privacyRuleAllowContacts', ]; +$privacyRuleAllowContacts = ['_' => 'privacyRuleAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleAllowContacts"} +{"_": "privacyRuleAllowContacts"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyRuleAllowContacts={_='privacyRuleAllowContacts', } +privacyRuleAllowContacts={_='privacyRuleAllowContacts'} ``` diff --git a/docs/TD_docs/constructors/privacyRuleAllowUsers.md b/docs/TD_docs/constructors/privacyRuleAllowUsers.md index b481376a..1721ed39 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowUsers.md +++ b/docs/TD_docs/constructors/privacyRuleAllowUsers.md @@ -23,13 +23,13 @@ Rule to allow specified users ### Example: ``` -$privacyRuleAllowUsers = ['_' => 'privacyRuleAllowUsers', 'user_ids' => [int], ]; +$privacyRuleAllowUsers = ['_' => 'privacyRuleAllowUsers', 'user_ids' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleAllowUsers","user_ids":["int"]} +{"_": "privacyRuleAllowUsers", "user_ids": [int]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -privacyRuleAllowUsers={_='privacyRuleAllowUsers', user_ids={int}, } +privacyRuleAllowUsers={_='privacyRuleAllowUsers', user_ids={int}} ``` diff --git a/docs/TD_docs/constructors/privacyRuleDisallowAll.md b/docs/TD_docs/constructors/privacyRuleDisallowAll.md index 22f799f4..819276bf 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowAll.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowAll.md @@ -22,13 +22,13 @@ Rule to disallow all users ### Example: ``` -$privacyRuleDisallowAll = ['_' => 'privacyRuleDisallowAll', ]; +$privacyRuleDisallowAll = ['_' => 'privacyRuleDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleDisallowAll"} +{"_": "privacyRuleDisallowAll"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyRuleDisallowAll={_='privacyRuleDisallowAll', } +privacyRuleDisallowAll={_='privacyRuleDisallowAll'} ``` diff --git a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md index 206c0cd3..e01e4b65 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md @@ -22,13 +22,13 @@ Rule to disallow all user contacts ### Example: ``` -$privacyRuleDisallowContacts = ['_' => 'privacyRuleDisallowContacts', ]; +$privacyRuleDisallowContacts = ['_' => 'privacyRuleDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleDisallowContacts"} +{"_": "privacyRuleDisallowContacts"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -privacyRuleDisallowContacts={_='privacyRuleDisallowContacts', } +privacyRuleDisallowContacts={_='privacyRuleDisallowContacts'} ``` diff --git a/docs/TD_docs/constructors/privacyRuleDisallowUsers.md b/docs/TD_docs/constructors/privacyRuleDisallowUsers.md index 31f5deb2..30c150f9 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowUsers.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowUsers.md @@ -23,13 +23,13 @@ Rule to disallow all specified users ### Example: ``` -$privacyRuleDisallowUsers = ['_' => 'privacyRuleDisallowUsers', 'user_ids' => [int], ]; +$privacyRuleDisallowUsers = ['_' => 'privacyRuleDisallowUsers', 'user_ids' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRuleDisallowUsers","user_ids":["int"]} +{"_": "privacyRuleDisallowUsers", "user_ids": [int]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -privacyRuleDisallowUsers={_='privacyRuleDisallowUsers', user_ids={int}, } +privacyRuleDisallowUsers={_='privacyRuleDisallowUsers', user_ids={int}} ``` diff --git a/docs/TD_docs/constructors/privacyRules.md b/docs/TD_docs/constructors/privacyRules.md index 62ccd1e2..a9338cd0 100644 --- a/docs/TD_docs/constructors/privacyRules.md +++ b/docs/TD_docs/constructors/privacyRules.md @@ -23,13 +23,13 @@ List of privacy rules. Rules are matched in the specified order. First matched r ### Example: ``` -$privacyRules = ['_' => 'privacyRules', 'rules' => [PrivacyRule], ]; +$privacyRules = ['_' => 'privacyRules', 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyRules","rules":["PrivacyRule"]} +{"_": "privacyRules", "rules": [PrivacyRule]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -privacyRules={_='privacyRules', rules={PrivacyRule}, } +privacyRules={_='privacyRules', rules={PrivacyRule}} ``` diff --git a/docs/TD_docs/constructors/privateChatInfo.md b/docs/TD_docs/constructors/privateChatInfo.md index 7445cc33..3cfebd3c 100644 --- a/docs/TD_docs/constructors/privateChatInfo.md +++ b/docs/TD_docs/constructors/privateChatInfo.md @@ -23,13 +23,13 @@ Ordinary chat with one user ### Example: ``` -$privateChatInfo = ['_' => 'privateChatInfo', 'user' => user, ]; +$privateChatInfo = ['_' => 'privateChatInfo', 'user' => user]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privateChatInfo","user":"user"} +{"_": "privateChatInfo", "user": user} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -privateChatInfo={_='privateChatInfo', user=user, } +privateChatInfo={_='privateChatInfo', user=user} ``` diff --git a/docs/TD_docs/constructors/profilePhoto.md b/docs/TD_docs/constructors/profilePhoto.md index e561ae23..cbf76bfd 100644 --- a/docs/TD_docs/constructors/profilePhoto.md +++ b/docs/TD_docs/constructors/profilePhoto.md @@ -25,13 +25,13 @@ Describes user profile photo ### Example: ``` -$profilePhoto = ['_' => 'profilePhoto', 'id' => long, 'small' => file, 'big' => file, ]; +$profilePhoto = ['_' => 'profilePhoto', 'id' => long, 'small' => file, 'big' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"profilePhoto","id":"long","small":"file","big":"file"} +{"_": "profilePhoto", "id": long, "small": file, "big": file} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -profilePhoto={_='profilePhoto', id=long, small=file, big=file, } +profilePhoto={_='profilePhoto', id=long, small=file, big=file} ``` diff --git a/docs/TD_docs/constructors/recoveryEmail.md b/docs/TD_docs/constructors/recoveryEmail.md index 093265f1..87aff2a1 100644 --- a/docs/TD_docs/constructors/recoveryEmail.md +++ b/docs/TD_docs/constructors/recoveryEmail.md @@ -23,13 +23,13 @@ Contains information about set up recovery email ### Example: ``` -$recoveryEmail = ['_' => 'recoveryEmail', 'recovery_email' => string, ]; +$recoveryEmail = ['_' => 'recoveryEmail', 'recovery_email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"recoveryEmail","recovery_email":"string"} +{"_": "recoveryEmail", "recovery_email": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -recoveryEmail={_='recoveryEmail', recovery_email=string, } +recoveryEmail={_='recoveryEmail', recovery_email='string'} ``` diff --git a/docs/TD_docs/constructors/replyMarkupForceReply.md b/docs/TD_docs/constructors/replyMarkupForceReply.md index 520b22a7..4dd2be54 100644 --- a/docs/TD_docs/constructors/replyMarkupForceReply.md +++ b/docs/TD_docs/constructors/replyMarkupForceReply.md @@ -23,13 +23,13 @@ Instruct clients to force reply to this message ### Example: ``` -$replyMarkupForceReply = ['_' => 'replyMarkupForceReply', 'personal' => Bool, ]; +$replyMarkupForceReply = ['_' => 'replyMarkupForceReply', 'personal' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyMarkupForceReply","personal":"Bool"} +{"_": "replyMarkupForceReply", "personal": Bool} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -replyMarkupForceReply={_='replyMarkupForceReply', personal=Bool, } +replyMarkupForceReply={_='replyMarkupForceReply', personal=Bool} ``` diff --git a/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md b/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md index d849183c..f8e6fec5 100644 --- a/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md @@ -23,13 +23,13 @@ Contains inline keyboard layout ### Example: ``` -$replyMarkupInlineKeyboard = ['_' => 'replyMarkupInlineKeyboard', 'rows' => [inlineKeyboardButton>], ]; +$replyMarkupInlineKeyboard = ['_' => 'replyMarkupInlineKeyboard', 'rows' => [inlineKeyboardButton>]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyMarkupInlineKeyboard","rows":["inlineKeyboardButton>"]} +{"_": "replyMarkupInlineKeyboard", "rows": [inlineKeyboardButton>]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -replyMarkupInlineKeyboard={_='replyMarkupInlineKeyboard', rows={inlineKeyboardButton>}, } +replyMarkupInlineKeyboard={_='replyMarkupInlineKeyboard', rows={inlineKeyboardButton>}} ``` diff --git a/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md b/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md index 2810c264..2d23f693 100644 --- a/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md @@ -23,13 +23,13 @@ Instruct clients to remove keyboard after receiving this message. This kind of k ### Example: ``` -$replyMarkupRemoveKeyboard = ['_' => 'replyMarkupRemoveKeyboard', 'personal' => Bool, ]; +$replyMarkupRemoveKeyboard = ['_' => 'replyMarkupRemoveKeyboard', 'personal' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyMarkupRemoveKeyboard","personal":"Bool"} +{"_": "replyMarkupRemoveKeyboard", "personal": Bool} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -replyMarkupRemoveKeyboard={_='replyMarkupRemoveKeyboard', personal=Bool, } +replyMarkupRemoveKeyboard={_='replyMarkupRemoveKeyboard', personal=Bool} ``` diff --git a/docs/TD_docs/constructors/replyMarkupShowKeyboard.md b/docs/TD_docs/constructors/replyMarkupShowKeyboard.md index 312f21df..05a28088 100644 --- a/docs/TD_docs/constructors/replyMarkupShowKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupShowKeyboard.md @@ -26,13 +26,13 @@ Contains custom keyboard layout for fast reply to bot ### Example: ``` -$replyMarkupShowKeyboard = ['_' => 'replyMarkupShowKeyboard', 'rows' => [keyboardButton>], 'resize_keyboard' => Bool, 'one_time' => Bool, 'personal' => Bool, ]; +$replyMarkupShowKeyboard = ['_' => 'replyMarkupShowKeyboard', 'rows' => [keyboardButton>], 'resize_keyboard' => Bool, 'one_time' => Bool, 'personal' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyMarkupShowKeyboard","rows":["keyboardButton>"],"resize_keyboard":"Bool","one_time":"Bool","personal":"Bool"} +{"_": "replyMarkupShowKeyboard", "rows": [keyboardButton>], "resize_keyboard": Bool, "one_time": Bool, "personal": Bool} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -replyMarkupShowKeyboard={_='replyMarkupShowKeyboard', rows={keyboardButton>}, resize_keyboard=Bool, one_time=Bool, personal=Bool, } +replyMarkupShowKeyboard={_='replyMarkupShowKeyboard', rows={keyboardButton>}, resize_keyboard=Bool, one_time=Bool, personal=Bool} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md index dff392c4..3db8cde0 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md @@ -22,13 +22,13 @@ Return only animation messages ### Example: ``` -$searchMessagesFilterAnimation = ['_' => 'searchMessagesFilterAnimation', ]; +$searchMessagesFilterAnimation = ['_' => 'searchMessagesFilterAnimation']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterAnimation"} +{"_": "searchMessagesFilterAnimation"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterAnimation={_='searchMessagesFilterAnimation', } +searchMessagesFilterAnimation={_='searchMessagesFilterAnimation'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterAudio.md b/docs/TD_docs/constructors/searchMessagesFilterAudio.md index 0f493e84..4a037307 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAudio.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAudio.md @@ -22,13 +22,13 @@ Return only audio messages ### Example: ``` -$searchMessagesFilterAudio = ['_' => 'searchMessagesFilterAudio', ]; +$searchMessagesFilterAudio = ['_' => 'searchMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterAudio"} +{"_": "searchMessagesFilterAudio"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterAudio={_='searchMessagesFilterAudio', } +searchMessagesFilterAudio={_='searchMessagesFilterAudio'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md index c2189a70..f7ecfbb6 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md @@ -22,13 +22,13 @@ Return only messages containing chat photos ### Example: ``` -$searchMessagesFilterChatPhoto = ['_' => 'searchMessagesFilterChatPhoto', ]; +$searchMessagesFilterChatPhoto = ['_' => 'searchMessagesFilterChatPhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterChatPhoto"} +{"_": "searchMessagesFilterChatPhoto"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterChatPhoto={_='searchMessagesFilterChatPhoto', } +searchMessagesFilterChatPhoto={_='searchMessagesFilterChatPhoto'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterDocument.md b/docs/TD_docs/constructors/searchMessagesFilterDocument.md index 2f8d2410..1937f3fb 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterDocument.md +++ b/docs/TD_docs/constructors/searchMessagesFilterDocument.md @@ -22,13 +22,13 @@ Return only document messages ### Example: ``` -$searchMessagesFilterDocument = ['_' => 'searchMessagesFilterDocument', ]; +$searchMessagesFilterDocument = ['_' => 'searchMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterDocument"} +{"_": "searchMessagesFilterDocument"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterDocument={_='searchMessagesFilterDocument', } +searchMessagesFilterDocument={_='searchMessagesFilterDocument'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md index 07644f53..94f03dd7 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md +++ b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md @@ -22,13 +22,13 @@ Return all found messages ### Example: ``` -$searchMessagesFilterEmpty = ['_' => 'searchMessagesFilterEmpty', ]; +$searchMessagesFilterEmpty = ['_' => 'searchMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterEmpty"} +{"_": "searchMessagesFilterEmpty"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterEmpty={_='searchMessagesFilterEmpty', } +searchMessagesFilterEmpty={_='searchMessagesFilterEmpty'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md index f98f35db..c1305aed 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md @@ -22,13 +22,13 @@ Return only photo messages ### Example: ``` -$searchMessagesFilterPhoto = ['_' => 'searchMessagesFilterPhoto', ]; +$searchMessagesFilterPhoto = ['_' => 'searchMessagesFilterPhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterPhoto"} +{"_": "searchMessagesFilterPhoto"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterPhoto={_='searchMessagesFilterPhoto', } +searchMessagesFilterPhoto={_='searchMessagesFilterPhoto'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md index 2f4bcc6a..491dd2a2 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md @@ -22,13 +22,13 @@ Return only photo and video messages ### Example: ``` -$searchMessagesFilterPhotoAndVideo = ['_' => 'searchMessagesFilterPhotoAndVideo', ]; +$searchMessagesFilterPhotoAndVideo = ['_' => 'searchMessagesFilterPhotoAndVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterPhotoAndVideo"} +{"_": "searchMessagesFilterPhotoAndVideo"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterPhotoAndVideo={_='searchMessagesFilterPhotoAndVideo', } +searchMessagesFilterPhotoAndVideo={_='searchMessagesFilterPhotoAndVideo'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterUrl.md b/docs/TD_docs/constructors/searchMessagesFilterUrl.md index 5ea5c398..83963ac3 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterUrl.md +++ b/docs/TD_docs/constructors/searchMessagesFilterUrl.md @@ -22,13 +22,13 @@ Return only messages containing url ### Example: ``` -$searchMessagesFilterUrl = ['_' => 'searchMessagesFilterUrl', ]; +$searchMessagesFilterUrl = ['_' => 'searchMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterUrl"} +{"_": "searchMessagesFilterUrl"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterUrl={_='searchMessagesFilterUrl', } +searchMessagesFilterUrl={_='searchMessagesFilterUrl'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterVideo.md b/docs/TD_docs/constructors/searchMessagesFilterVideo.md index b7bbd8e4..941e2013 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVideo.md @@ -22,13 +22,13 @@ Return only video messages ### Example: ``` -$searchMessagesFilterVideo = ['_' => 'searchMessagesFilterVideo', ]; +$searchMessagesFilterVideo = ['_' => 'searchMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterVideo"} +{"_": "searchMessagesFilterVideo"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterVideo={_='searchMessagesFilterVideo', } +searchMessagesFilterVideo={_='searchMessagesFilterVideo'} ``` diff --git a/docs/TD_docs/constructors/searchMessagesFilterVoice.md b/docs/TD_docs/constructors/searchMessagesFilterVoice.md index 7c9f42b5..b568baa7 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVoice.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVoice.md @@ -22,13 +22,13 @@ Return only voice messages ### Example: ``` -$searchMessagesFilterVoice = ['_' => 'searchMessagesFilterVoice', ]; +$searchMessagesFilterVoice = ['_' => 'searchMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"searchMessagesFilterVoice"} +{"_": "searchMessagesFilterVoice"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -searchMessagesFilterVoice={_='searchMessagesFilterVoice', } +searchMessagesFilterVoice={_='searchMessagesFilterVoice'} ``` diff --git a/docs/TD_docs/constructors/secretChat.md b/docs/TD_docs/constructors/secretChat.md index b1c7ecf9..2d033c4b 100644 --- a/docs/TD_docs/constructors/secretChat.md +++ b/docs/TD_docs/constructors/secretChat.md @@ -28,13 +28,13 @@ Represents a secret chat ### Example: ``` -$secretChat = ['_' => 'secretChat', 'id' => int, 'user_id' => int, 'state' => int, 'is_outbound' => Bool, 'ttl' => int, 'key_hash' => bytes, ]; +$secretChat = ['_' => 'secretChat', 'id' => int, 'user_id' => int, 'state' => int, 'is_outbound' => Bool, 'ttl' => int, 'key_hash' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"secretChat","id":"int","user_id":"int","state":"int","is_outbound":"Bool","ttl":"int","key_hash":"bytes"} +{"_": "secretChat", "id": int, "user_id": int, "state": int, "is_outbound": Bool, "ttl": int, "key_hash": "bytes"} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -secretChat={_='secretChat', id=int, user_id=int, state=int, is_outbound=Bool, ttl=int, key_hash=bytes, } +secretChat={_='secretChat', id=int, user_id=int, state=int, is_outbound=Bool, ttl=int, key_hash='bytes'} ``` diff --git a/docs/TD_docs/constructors/secretChatInfo.md b/docs/TD_docs/constructors/secretChatInfo.md index f437468b..34ec951c 100644 --- a/docs/TD_docs/constructors/secretChatInfo.md +++ b/docs/TD_docs/constructors/secretChatInfo.md @@ -23,13 +23,13 @@ Secret chat with one user ### Example: ``` -$secretChatInfo = ['_' => 'secretChatInfo', 'secret_chat' => secretChat, ]; +$secretChatInfo = ['_' => 'secretChatInfo', 'secret_chat' => secretChat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"secretChatInfo","secret_chat":"secretChat"} +{"_": "secretChatInfo", "secret_chat": secretChat} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -secretChatInfo={_='secretChatInfo', secret_chat=secretChat, } +secretChatInfo={_='secretChatInfo', secret_chat=secretChat} ``` diff --git a/docs/TD_docs/constructors/sendMessageCancelAction.md b/docs/TD_docs/constructors/sendMessageCancelAction.md index 368da243..21987038 100644 --- a/docs/TD_docs/constructors/sendMessageCancelAction.md +++ b/docs/TD_docs/constructors/sendMessageCancelAction.md @@ -22,13 +22,13 @@ User cancels typing ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageChooseContactAction.md b/docs/TD_docs/constructors/sendMessageChooseContactAction.md index 4ffa3b26..a7a3dae1 100644 --- a/docs/TD_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/TD_docs/constructors/sendMessageChooseContactAction.md @@ -22,13 +22,13 @@ User chooses contact to send ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageGeoLocationAction.md b/docs/TD_docs/constructors/sendMessageGeoLocationAction.md index 7d7f452d..842d18ba 100644 --- a/docs/TD_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/TD_docs/constructors/sendMessageGeoLocationAction.md @@ -22,13 +22,13 @@ User sends geolocation ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageRecordVideoAction.md b/docs/TD_docs/constructors/sendMessageRecordVideoAction.md index fa88ccff..b2f86688 100644 --- a/docs/TD_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/TD_docs/constructors/sendMessageRecordVideoAction.md @@ -22,13 +22,13 @@ User records a video ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md b/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md index 27e94d1c..d4d668cb 100644 --- a/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md +++ b/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md @@ -22,13 +22,13 @@ User records voice message ### Example: ``` -$sendMessageRecordVoiceAction = ['_' => 'sendMessageRecordVoiceAction', ]; +$sendMessageRecordVoiceAction = ['_' => 'sendMessageRecordVoiceAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVoiceAction"} +{"_": "sendMessageRecordVoiceAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVoiceAction={_='sendMessageRecordVoiceAction', } +sendMessageRecordVoiceAction={_='sendMessageRecordVoiceAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md b/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md index b789446d..e1e48c4e 100644 --- a/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md +++ b/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md @@ -22,13 +22,13 @@ User starts to play a game ### Example: ``` -$sendMessageStartPlayGameAction = ['_' => 'sendMessageStartPlayGameAction', ]; +$sendMessageStartPlayGameAction = ['_' => 'sendMessageStartPlayGameAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageStartPlayGameAction"} +{"_": "sendMessageStartPlayGameAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageStartPlayGameAction={_='sendMessageStartPlayGameAction', } +sendMessageStartPlayGameAction={_='sendMessageStartPlayGameAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageTypingAction.md b/docs/TD_docs/constructors/sendMessageTypingAction.md index b53a5d2a..01c525a7 100644 --- a/docs/TD_docs/constructors/sendMessageTypingAction.md +++ b/docs/TD_docs/constructors/sendMessageTypingAction.md @@ -22,13 +22,13 @@ User typing message ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md b/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md index 1a2d1344..1ab0fd6e 100644 --- a/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md @@ -23,13 +23,13 @@ User uploads a document ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md b/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md index cdb5153f..8d8b9e0c 100644 --- a/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md @@ -23,13 +23,13 @@ User uploads a photo ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/docs/TD_docs/constructors/sendMessageUploadVideoAction.md b/docs/TD_docs/constructors/sendMessageUploadVideoAction.md index be0e0b2a..af56375e 100644 --- a/docs/TD_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadVideoAction.md @@ -23,13 +23,13 @@ User uploads a video ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md b/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md index b193823a..ece31707 100644 --- a/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md @@ -23,13 +23,13 @@ User uploads voice message ### Example: ``` -$sendMessageUploadVoiceAction = ['_' => 'sendMessageUploadVoiceAction', 'progress' => int, ]; +$sendMessageUploadVoiceAction = ['_' => 'sendMessageUploadVoiceAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVoiceAction","progress":"int"} +{"_": "sendMessageUploadVoiceAction", "progress": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVoiceAction={_='sendMessageUploadVoiceAction', progress=int, } +sendMessageUploadVoiceAction={_='sendMessageUploadVoiceAction', progress=int} ``` diff --git a/docs/TD_docs/constructors/session.md b/docs/TD_docs/constructors/session.md index a9c5ee39..b6d0063b 100644 --- a/docs/TD_docs/constructors/session.md +++ b/docs/TD_docs/constructors/session.md @@ -36,13 +36,13 @@ Contains information about one session in some application used by the user ### Example: ``` -$session = ['_' => 'session', 'id' => long, 'is_current' => Bool, 'app_id' => int, 'app_name' => string, 'app_version' => string, 'is_official_app' => Bool, 'device_model' => string, 'platform' => string, 'system_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$session = ['_' => 'session', 'id' => long, 'is_current' => Bool, 'app_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'is_official_app' => Bool, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"session","id":"long","is_current":"Bool","app_id":"int","app_name":"string","app_version":"string","is_official_app":"Bool","device_model":"string","platform":"string","system_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "session", "id": long, "is_current": Bool, "app_id": int, "app_name": "string", "app_version": "string", "is_official_app": Bool, "device_model": "string", "platform": "string", "system_version": "string", "date_created": int, "date_active": int, "ip": "string", "country": "string", "region": "string"} ``` @@ -50,7 +50,7 @@ Or, if you're into Lua: ``` -session={_='session', id=long, is_current=Bool, app_id=int, app_name=string, app_version=string, is_official_app=Bool, device_model=string, platform=string, system_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +session={_='session', id=long, is_current=Bool, app_id=int, app_name='string', app_version='string', is_official_app=Bool, device_model='string', platform='string', system_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/docs/TD_docs/constructors/sessions.md b/docs/TD_docs/constructors/sessions.md index e947362a..6ad87867 100644 --- a/docs/TD_docs/constructors/sessions.md +++ b/docs/TD_docs/constructors/sessions.md @@ -23,13 +23,13 @@ Contains list of sessions ### Example: ``` -$sessions = ['_' => 'sessions', 'sessions' => [session], ]; +$sessions = ['_' => 'sessions', 'sessions' => [session]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sessions","sessions":["session"]} +{"_": "sessions", "sessions": [session]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -sessions={_='sessions', sessions={session}, } +sessions={_='sessions', sessions={session}} ``` diff --git a/docs/TD_docs/constructors/simplePushDeviceToken.md b/docs/TD_docs/constructors/simplePushDeviceToken.md index 47e16014..88aaa494 100644 --- a/docs/TD_docs/constructors/simplePushDeviceToken.md +++ b/docs/TD_docs/constructors/simplePushDeviceToken.md @@ -23,13 +23,13 @@ Token for simple push ### Example: ``` -$simplePushDeviceToken = ['_' => 'simplePushDeviceToken', 'token' => string, ]; +$simplePushDeviceToken = ['_' => 'simplePushDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"simplePushDeviceToken","token":"string"} +{"_": "simplePushDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -simplePushDeviceToken={_='simplePushDeviceToken', token=string, } +simplePushDeviceToken={_='simplePushDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/sticker.md b/docs/TD_docs/constructors/sticker.md index 6771a0fb..9b836e56 100644 --- a/docs/TD_docs/constructors/sticker.md +++ b/docs/TD_docs/constructors/sticker.md @@ -30,13 +30,13 @@ Describes sticker ### Example: ``` -$sticker = ['_' => 'sticker', 'set_id' => long, 'width' => int, 'height' => int, 'emoji' => string, 'is_mask' => Bool, 'mask_position' => maskPosition, 'thumb' => photoSize, 'sticker' => file, ]; +$sticker = ['_' => 'sticker', 'set_id' => long, 'width' => int, 'height' => int, 'emoji' => 'string', 'is_mask' => Bool, 'mask_position' => maskPosition, 'thumb' => photoSize, 'sticker' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sticker","set_id":"long","width":"int","height":"int","emoji":"string","is_mask":"Bool","mask_position":"maskPosition","thumb":"photoSize","sticker":"file"} +{"_": "sticker", "set_id": long, "width": int, "height": int, "emoji": "string", "is_mask": Bool, "mask_position": maskPosition, "thumb": photoSize, "sticker": file} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -sticker={_='sticker', set_id=long, width=int, height=int, emoji=string, is_mask=Bool, mask_position=maskPosition, thumb=photoSize, sticker=file, } +sticker={_='sticker', set_id=long, width=int, height=int, emoji='string', is_mask=Bool, mask_position=maskPosition, thumb=photoSize, sticker=file} ``` diff --git a/docs/TD_docs/constructors/stickerEmojis.md b/docs/TD_docs/constructors/stickerEmojis.md index 6a5c65a2..171262df 100644 --- a/docs/TD_docs/constructors/stickerEmojis.md +++ b/docs/TD_docs/constructors/stickerEmojis.md @@ -23,13 +23,13 @@ Represents list of all emojis corresponding to a sticker in a sticker set. The l ### Example: ``` -$stickerEmojis = ['_' => 'stickerEmojis', 'emojis' => [string], ]; +$stickerEmojis = ['_' => 'stickerEmojis', 'emojis' => ['string']]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerEmojis","emojis":["string"]} +{"_": "stickerEmojis", "emojis": ["string"]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -stickerEmojis={_='stickerEmojis', emojis={string}, } +stickerEmojis={_='stickerEmojis', emojis={'string'}} ``` diff --git a/docs/TD_docs/constructors/stickerSet.md b/docs/TD_docs/constructors/stickerSet.md index e1d6ff28..076e5401 100644 --- a/docs/TD_docs/constructors/stickerSet.md +++ b/docs/TD_docs/constructors/stickerSet.md @@ -32,13 +32,13 @@ Represents sticker set ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'stickers' => [sticker], 'emojis' => [stickerEmojis], ]; +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'title' => 'string', 'name' => 'string', 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'stickers' => [sticker], 'emojis' => [stickerEmojis]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","id":"long","title":"string","name":"string","is_installed":"Bool","is_archived":"Bool","is_official":"Bool","is_masks":"Bool","is_viewed":"Bool","stickers":["sticker"],"emojis":["stickerEmojis"]} +{"_": "stickerSet", "id": long, "title": "string", "name": "string", "is_installed": Bool, "is_archived": Bool, "is_official": Bool, "is_masks": Bool, "is_viewed": Bool, "stickers": [sticker], "emojis": [stickerEmojis]} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', id=long, title=string, name=string, is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, stickers={sticker}, emojis={stickerEmojis}, } +stickerSet={_='stickerSet', id=long, title='string', name='string', is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, stickers={sticker}, emojis={stickerEmojis}} ``` diff --git a/docs/TD_docs/constructors/stickerSetInfo.md b/docs/TD_docs/constructors/stickerSetInfo.md index c1751b31..4ff3275b 100644 --- a/docs/TD_docs/constructors/stickerSetInfo.md +++ b/docs/TD_docs/constructors/stickerSetInfo.md @@ -32,13 +32,13 @@ Represents short information about sticker set ### Example: ``` -$stickerSetInfo = ['_' => 'stickerSetInfo', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'size' => int, 'covers' => [sticker], ]; +$stickerSetInfo = ['_' => 'stickerSetInfo', 'id' => long, 'title' => 'string', 'name' => 'string', 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'size' => int, 'covers' => [sticker]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetInfo","id":"long","title":"string","name":"string","is_installed":"Bool","is_archived":"Bool","is_official":"Bool","is_masks":"Bool","is_viewed":"Bool","size":"int","covers":["sticker"]} +{"_": "stickerSetInfo", "id": long, "title": "string", "name": "string", "is_installed": Bool, "is_archived": Bool, "is_official": Bool, "is_masks": Bool, "is_viewed": Bool, "size": int, "covers": [sticker]} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -stickerSetInfo={_='stickerSetInfo', id=long, title=string, name=string, is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, size=int, covers={sticker}, } +stickerSetInfo={_='stickerSetInfo', id=long, title='string', name='string', is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, size=int, covers={sticker}} ``` diff --git a/docs/TD_docs/constructors/stickerSets.md b/docs/TD_docs/constructors/stickerSets.md index 2b818e52..f5eb4663 100644 --- a/docs/TD_docs/constructors/stickerSets.md +++ b/docs/TD_docs/constructors/stickerSets.md @@ -24,13 +24,13 @@ Represents list of sticker sets ### Example: ``` -$stickerSets = ['_' => 'stickerSets', 'total_count' => int, 'sets' => [stickerSetInfo], ]; +$stickerSets = ['_' => 'stickerSets', 'total_count' => int, 'sets' => [stickerSetInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSets","total_count":"int","sets":["stickerSetInfo"]} +{"_": "stickerSets", "total_count": int, "sets": [stickerSetInfo]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -stickerSets={_='stickerSets', total_count=int, sets={stickerSetInfo}, } +stickerSets={_='stickerSets', total_count=int, sets={stickerSetInfo}} ``` diff --git a/docs/TD_docs/constructors/stickers.md b/docs/TD_docs/constructors/stickers.md index 447796df..8eff0067 100644 --- a/docs/TD_docs/constructors/stickers.md +++ b/docs/TD_docs/constructors/stickers.md @@ -23,13 +23,13 @@ Represents list of stickers ### Example: ``` -$stickers = ['_' => 'stickers', 'stickers' => [sticker], ]; +$stickers = ['_' => 'stickers', 'stickers' => [sticker]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickers","stickers":["sticker"]} +{"_": "stickers", "stickers": [sticker]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -stickers={_='stickers', stickers={sticker}, } +stickers={_='stickers', stickers={sticker}} ``` diff --git a/docs/TD_docs/constructors/test_bytes.md b/docs/TD_docs/constructors/test_bytes.md index e7355b6f..bbc4156a 100644 --- a/docs/TD_docs/constructors/test_bytes.md +++ b/docs/TD_docs/constructors/test_bytes.md @@ -21,13 +21,13 @@ description: test_bytes attributes, type and example ### Example: ``` -$test_bytes = ['_' => 'test.bytes', 'value' => bytes, ]; +$test_bytes = ['_' => 'test.bytes', 'value' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.bytes","value":"bytes"} +{"_": "test.bytes", "value": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_bytes={_='test.bytes', value=bytes, } +test_bytes={_='test.bytes', value='bytes'} ``` diff --git a/docs/TD_docs/constructors/test_empty.md b/docs/TD_docs/constructors/test_empty.md index a15fd6ba..0c1183b9 100644 --- a/docs/TD_docs/constructors/test_empty.md +++ b/docs/TD_docs/constructors/test_empty.md @@ -16,13 +16,13 @@ description: test_empty attributes, type and example ### Example: ``` -$test_empty = ['_' => 'test.empty', ]; +$test_empty = ['_' => 'test.empty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.empty"} +{"_": "test.empty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -test_empty={_='test.empty', } +test_empty={_='test.empty'} ``` diff --git a/docs/TD_docs/constructors/test_int.md b/docs/TD_docs/constructors/test_int.md index 83b534f4..a06d4a30 100644 --- a/docs/TD_docs/constructors/test_int.md +++ b/docs/TD_docs/constructors/test_int.md @@ -21,13 +21,13 @@ description: test_int attributes, type and example ### Example: ``` -$test_int = ['_' => 'test.int', 'value' => int, ]; +$test_int = ['_' => 'test.int', 'value' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.int","value":"int"} +{"_": "test.int", "value": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_int={_='test.int', value=int, } +test_int={_='test.int', value=int} ``` diff --git a/docs/TD_docs/constructors/test_string.md b/docs/TD_docs/constructors/test_string.md index 7001a753..d64ca24f 100644 --- a/docs/TD_docs/constructors/test_string.md +++ b/docs/TD_docs/constructors/test_string.md @@ -21,13 +21,13 @@ description: test_string attributes, type and example ### Example: ``` -$test_string = ['_' => 'test.string', 'value' => string, ]; +$test_string = ['_' => 'test.string', 'value' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.string","value":"string"} +{"_": "test.string", "value": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_string={_='test.string', value=string, } +test_string={_='test.string', value='string'} ``` diff --git a/docs/TD_docs/constructors/test_vectorInt.md b/docs/TD_docs/constructors/test_vectorInt.md index 517158b6..dfdcfcc5 100644 --- a/docs/TD_docs/constructors/test_vectorInt.md +++ b/docs/TD_docs/constructors/test_vectorInt.md @@ -21,13 +21,13 @@ description: test_vectorInt attributes, type and example ### Example: ``` -$test_vectorInt = ['_' => 'test.vectorInt', 'value' => [int], ]; +$test_vectorInt = ['_' => 'test.vectorInt', 'value' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.vectorInt","value":["int"]} +{"_": "test.vectorInt", "value": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_vectorInt={_='test.vectorInt', value={int}, } +test_vectorInt={_='test.vectorInt', value={int}} ``` diff --git a/docs/TD_docs/constructors/test_vectorIntObject.md b/docs/TD_docs/constructors/test_vectorIntObject.md index 7b5db67d..277f7eda 100644 --- a/docs/TD_docs/constructors/test_vectorIntObject.md +++ b/docs/TD_docs/constructors/test_vectorIntObject.md @@ -21,13 +21,13 @@ description: test_vectorIntObject attributes, type and example ### Example: ``` -$test_vectorIntObject = ['_' => 'test.vectorIntObject', 'value' => [test_Int], ]; +$test_vectorIntObject = ['_' => 'test.vectorIntObject', 'value' => [test_Int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.vectorIntObject","value":["test_Int"]} +{"_": "test.vectorIntObject", "value": [test_Int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_vectorIntObject={_='test.vectorIntObject', value={test_Int}, } +test_vectorIntObject={_='test.vectorIntObject', value={test_Int}} ``` diff --git a/docs/TD_docs/constructors/test_vectorString.md b/docs/TD_docs/constructors/test_vectorString.md index ceb5f991..fdc9d1f6 100644 --- a/docs/TD_docs/constructors/test_vectorString.md +++ b/docs/TD_docs/constructors/test_vectorString.md @@ -21,13 +21,13 @@ description: test_vectorString attributes, type and example ### Example: ``` -$test_vectorString = ['_' => 'test.vectorString', 'value' => [string], ]; +$test_vectorString = ['_' => 'test.vectorString', 'value' => ['string']]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.vectorString","value":["string"]} +{"_": "test.vectorString", "value": ["string"]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_vectorString={_='test.vectorString', value={string}, } +test_vectorString={_='test.vectorString', value={'string'}} ``` diff --git a/docs/TD_docs/constructors/test_vectorStringObject.md b/docs/TD_docs/constructors/test_vectorStringObject.md index e1483ab7..c1db7889 100644 --- a/docs/TD_docs/constructors/test_vectorStringObject.md +++ b/docs/TD_docs/constructors/test_vectorStringObject.md @@ -21,13 +21,13 @@ description: test_vectorStringObject attributes, type and example ### Example: ``` -$test_vectorStringObject = ['_' => 'test.vectorStringObject', 'value' => [test_String], ]; +$test_vectorStringObject = ['_' => 'test.vectorStringObject', 'value' => [test_String]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"test.vectorStringObject","value":["test_String"]} +{"_": "test.vectorStringObject", "value": [test_String]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -test_vectorStringObject={_='test.vectorStringObject', value={test_String}, } +test_vectorStringObject={_='test.vectorStringObject', value={test_String}} ``` diff --git a/docs/TD_docs/constructors/textParseModeHTML.md b/docs/TD_docs/constructors/textParseModeHTML.md index 7ab218db..eb348f0d 100644 --- a/docs/TD_docs/constructors/textParseModeHTML.md +++ b/docs/TD_docs/constructors/textParseModeHTML.md @@ -22,13 +22,13 @@ Text should be parsed in the HTML-style way ### Example: ``` -$textParseModeHTML = ['_' => 'textParseModeHTML', ]; +$textParseModeHTML = ['_' => 'textParseModeHTML']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textParseModeHTML"} +{"_": "textParseModeHTML"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textParseModeHTML={_='textParseModeHTML', } +textParseModeHTML={_='textParseModeHTML'} ``` diff --git a/docs/TD_docs/constructors/textParseModeMarkdown.md b/docs/TD_docs/constructors/textParseModeMarkdown.md index 98aa531c..5b319dc8 100644 --- a/docs/TD_docs/constructors/textParseModeMarkdown.md +++ b/docs/TD_docs/constructors/textParseModeMarkdown.md @@ -22,13 +22,13 @@ Text should be parsed in markdown-style way ### Example: ``` -$textParseModeMarkdown = ['_' => 'textParseModeMarkdown', ]; +$textParseModeMarkdown = ['_' => 'textParseModeMarkdown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textParseModeMarkdown"} +{"_": "textParseModeMarkdown"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textParseModeMarkdown={_='textParseModeMarkdown', } +textParseModeMarkdown={_='textParseModeMarkdown'} ``` diff --git a/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md b/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md index 076389ed..036fd302 100644 --- a/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md +++ b/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md @@ -23,13 +23,13 @@ Token for Ubuntu Push Service ### Example: ``` -$ubuntuPhoneDeviceToken = ['_' => 'ubuntuPhoneDeviceToken', 'token' => string, ]; +$ubuntuPhoneDeviceToken = ['_' => 'ubuntuPhoneDeviceToken', 'token' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"ubuntuPhoneDeviceToken","token":"string"} +{"_": "ubuntuPhoneDeviceToken", "token": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -ubuntuPhoneDeviceToken={_='ubuntuPhoneDeviceToken', token=string, } +ubuntuPhoneDeviceToken={_='ubuntuPhoneDeviceToken', token='string'} ``` diff --git a/docs/TD_docs/constructors/updateAuthState.md b/docs/TD_docs/constructors/updateAuthState.md index 99db69f8..f90e5aaa 100644 --- a/docs/TD_docs/constructors/updateAuthState.md +++ b/docs/TD_docs/constructors/updateAuthState.md @@ -23,13 +23,13 @@ User authorization state has changed ### Example: ``` -$updateAuthState = ['_' => 'updateAuthState', 'auth_state' => AuthState, ]; +$updateAuthState = ['_' => 'updateAuthState', 'auth_state' => AuthState]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateAuthState","auth_state":"AuthState"} +{"_": "updateAuthState", "auth_state": AuthState} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateAuthState={_='updateAuthState', auth_state=AuthState, } +updateAuthState={_='updateAuthState', auth_state=AuthState} ``` diff --git a/docs/TD_docs/constructors/updateChannel.md b/docs/TD_docs/constructors/updateChannel.md index 703b31af..0b4931db 100644 --- a/docs/TD_docs/constructors/updateChannel.md +++ b/docs/TD_docs/constructors/updateChannel.md @@ -23,13 +23,13 @@ Some data about a channel has been changed ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel' => channel, ]; +$updateChannel = ['_' => 'updateChannel', 'channel' => channel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel":"channel"} +{"_": "updateChannel", "channel": channel} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel=channel, } +updateChannel={_='updateChannel', channel=channel} ``` diff --git a/docs/TD_docs/constructors/updateChannelFull.md b/docs/TD_docs/constructors/updateChannelFull.md index 1b8a8038..2d2e0d11 100644 --- a/docs/TD_docs/constructors/updateChannelFull.md +++ b/docs/TD_docs/constructors/updateChannelFull.md @@ -23,13 +23,13 @@ Some data from channelFull has been changed ### Example: ``` -$updateChannelFull = ['_' => 'updateChannelFull', 'channel_full' => channelFull, ]; +$updateChannelFull = ['_' => 'updateChannelFull', 'channel_full' => channelFull]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelFull","channel_full":"channelFull"} +{"_": "updateChannelFull", "channel_full": channelFull} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelFull={_='updateChannelFull', channel_full=channelFull, } +updateChannelFull={_='updateChannelFull', channel_full=channelFull} ``` diff --git a/docs/TD_docs/constructors/updateChat.md b/docs/TD_docs/constructors/updateChat.md index f122b9e5..7aec440c 100644 --- a/docs/TD_docs/constructors/updateChat.md +++ b/docs/TD_docs/constructors/updateChat.md @@ -23,13 +23,13 @@ Some date about chat has been changed ### Example: ``` -$updateChat = ['_' => 'updateChat', 'chat' => chat, ]; +$updateChat = ['_' => 'updateChat', 'chat' => chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChat","chat":"chat"} +{"_": "updateChat", "chat": chat} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChat={_='updateChat', chat=chat, } +updateChat={_='updateChat', chat=chat} ``` diff --git a/docs/TD_docs/constructors/updateChatDraftMessage.md b/docs/TD_docs/constructors/updateChatDraftMessage.md index 1f111cf5..e8deca6b 100644 --- a/docs/TD_docs/constructors/updateChatDraftMessage.md +++ b/docs/TD_docs/constructors/updateChatDraftMessage.md @@ -24,13 +24,13 @@ Chat draft has changed. Be aware that the update may come in the currently open ### Example: ``` -$updateChatDraftMessage = ['_' => 'updateChatDraftMessage', 'chat_id' => long, 'draft_message' => draftMessage, ]; +$updateChatDraftMessage = ['_' => 'updateChatDraftMessage', 'chat_id' => long, 'draft_message' => draftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatDraftMessage","chat_id":"long","draft_message":"draftMessage"} +{"_": "updateChatDraftMessage", "chat_id": long, "draft_message": draftMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatDraftMessage={_='updateChatDraftMessage', chat_id=long, draft_message=draftMessage, } +updateChatDraftMessage={_='updateChatDraftMessage', chat_id=long, draft_message=draftMessage} ``` diff --git a/docs/TD_docs/constructors/updateChatOrder.md b/docs/TD_docs/constructors/updateChatOrder.md index 34531c64..33c58b8c 100644 --- a/docs/TD_docs/constructors/updateChatOrder.md +++ b/docs/TD_docs/constructors/updateChatOrder.md @@ -24,13 +24,13 @@ Order of the chat in the chat list has changed ### Example: ``` -$updateChatOrder = ['_' => 'updateChatOrder', 'chat_id' => long, 'order' => long, ]; +$updateChatOrder = ['_' => 'updateChatOrder', 'chat_id' => long, 'order' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatOrder","chat_id":"long","order":"long"} +{"_": "updateChatOrder", "chat_id": long, "order": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatOrder={_='updateChatOrder', chat_id=long, order=long, } +updateChatOrder={_='updateChatOrder', chat_id=long, order=long} ``` diff --git a/docs/TD_docs/constructors/updateChatPhoto.md b/docs/TD_docs/constructors/updateChatPhoto.md index 4398ac2c..4362cb34 100644 --- a/docs/TD_docs/constructors/updateChatPhoto.md +++ b/docs/TD_docs/constructors/updateChatPhoto.md @@ -24,13 +24,13 @@ Chat photo was changed ### Example: ``` -$updateChatPhoto = ['_' => 'updateChatPhoto', 'chat_id' => long, 'photo' => chatPhoto, ]; +$updateChatPhoto = ['_' => 'updateChatPhoto', 'chat_id' => long, 'photo' => chatPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatPhoto","chat_id":"long","photo":"chatPhoto"} +{"_": "updateChatPhoto", "chat_id": long, "photo": chatPhoto} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatPhoto={_='updateChatPhoto', chat_id=long, photo=chatPhoto, } +updateChatPhoto={_='updateChatPhoto', chat_id=long, photo=chatPhoto} ``` diff --git a/docs/TD_docs/constructors/updateChatReadInbox.md b/docs/TD_docs/constructors/updateChatReadInbox.md index ad68e9e7..e6efcf19 100644 --- a/docs/TD_docs/constructors/updateChatReadInbox.md +++ b/docs/TD_docs/constructors/updateChatReadInbox.md @@ -25,13 +25,13 @@ Some incoming messages was read ### Example: ``` -$updateChatReadInbox = ['_' => 'updateChatReadInbox', 'chat_id' => long, 'last_read_inbox_message_id' => long, 'unread_count' => int, ]; +$updateChatReadInbox = ['_' => 'updateChatReadInbox', 'chat_id' => long, 'last_read_inbox_message_id' => long, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatReadInbox","chat_id":"long","last_read_inbox_message_id":"long","unread_count":"int"} +{"_": "updateChatReadInbox", "chat_id": long, "last_read_inbox_message_id": long, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatReadInbox={_='updateChatReadInbox', chat_id=long, last_read_inbox_message_id=long, unread_count=int, } +updateChatReadInbox={_='updateChatReadInbox', chat_id=long, last_read_inbox_message_id=long, unread_count=int} ``` diff --git a/docs/TD_docs/constructors/updateChatReadOutbox.md b/docs/TD_docs/constructors/updateChatReadOutbox.md index b55fd877..3997131e 100644 --- a/docs/TD_docs/constructors/updateChatReadOutbox.md +++ b/docs/TD_docs/constructors/updateChatReadOutbox.md @@ -24,13 +24,13 @@ Some outcoming messages was read ### Example: ``` -$updateChatReadOutbox = ['_' => 'updateChatReadOutbox', 'chat_id' => long, 'last_read_outbox_message_id' => long, ]; +$updateChatReadOutbox = ['_' => 'updateChatReadOutbox', 'chat_id' => long, 'last_read_outbox_message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatReadOutbox","chat_id":"long","last_read_outbox_message_id":"long"} +{"_": "updateChatReadOutbox", "chat_id": long, "last_read_outbox_message_id": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatReadOutbox={_='updateChatReadOutbox', chat_id=long, last_read_outbox_message_id=long, } +updateChatReadOutbox={_='updateChatReadOutbox', chat_id=long, last_read_outbox_message_id=long} ``` diff --git a/docs/TD_docs/constructors/updateChatReplyMarkup.md b/docs/TD_docs/constructors/updateChatReplyMarkup.md index 16e61555..96fb338c 100644 --- a/docs/TD_docs/constructors/updateChatReplyMarkup.md +++ b/docs/TD_docs/constructors/updateChatReplyMarkup.md @@ -24,13 +24,13 @@ Default chat reply markup has changed. It can happen because new message with re ### Example: ``` -$updateChatReplyMarkup = ['_' => 'updateChatReplyMarkup', 'chat_id' => long, 'reply_markup_message_id' => long, ]; +$updateChatReplyMarkup = ['_' => 'updateChatReplyMarkup', 'chat_id' => long, 'reply_markup_message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatReplyMarkup","chat_id":"long","reply_markup_message_id":"long"} +{"_": "updateChatReplyMarkup", "chat_id": long, "reply_markup_message_id": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatReplyMarkup={_='updateChatReplyMarkup', chat_id=long, reply_markup_message_id=long, } +updateChatReplyMarkup={_='updateChatReplyMarkup', chat_id=long, reply_markup_message_id=long} ``` diff --git a/docs/TD_docs/constructors/updateChatTitle.md b/docs/TD_docs/constructors/updateChatTitle.md index 0d033cd8..e45ec0b6 100644 --- a/docs/TD_docs/constructors/updateChatTitle.md +++ b/docs/TD_docs/constructors/updateChatTitle.md @@ -24,13 +24,13 @@ Title of chat was changed ### Example: ``` -$updateChatTitle = ['_' => 'updateChatTitle', 'chat_id' => long, 'title' => string, ]; +$updateChatTitle = ['_' => 'updateChatTitle', 'chat_id' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatTitle","chat_id":"long","title":"string"} +{"_": "updateChatTitle", "chat_id": long, "title": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatTitle={_='updateChatTitle', chat_id=long, title=string, } +updateChatTitle={_='updateChatTitle', chat_id=long, title='string'} ``` diff --git a/docs/TD_docs/constructors/updateChatTopMessage.md b/docs/TD_docs/constructors/updateChatTopMessage.md index 890a1bc4..8fa37b1a 100644 --- a/docs/TD_docs/constructors/updateChatTopMessage.md +++ b/docs/TD_docs/constructors/updateChatTopMessage.md @@ -24,13 +24,13 @@ Top message of the chat has changed ### Example: ``` -$updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message, ]; +$updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatTopMessage","chat_id":"long","top_message":"message"} +{"_": "updateChatTopMessage", "chat_id": long, "top_message": message} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message, } +updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message} ``` diff --git a/docs/TD_docs/constructors/updateDeleteMessages.md b/docs/TD_docs/constructors/updateDeleteMessages.md index 72dd796c..9b9ec405 100644 --- a/docs/TD_docs/constructors/updateDeleteMessages.md +++ b/docs/TD_docs/constructors/updateDeleteMessages.md @@ -24,13 +24,13 @@ Some messages was deleted ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'chat_id' => long, 'message_ids' => [long], ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'chat_id' => long, 'message_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","chat_id":"long","message_ids":["long"]} +{"_": "updateDeleteMessages", "chat_id": long, "message_ids": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', chat_id=long, message_ids={long}, } +updateDeleteMessages={_='updateDeleteMessages', chat_id=long, message_ids={long}} ``` diff --git a/docs/TD_docs/constructors/updateFile.md b/docs/TD_docs/constructors/updateFile.md index d961116f..68e51f79 100644 --- a/docs/TD_docs/constructors/updateFile.md +++ b/docs/TD_docs/constructors/updateFile.md @@ -23,13 +23,13 @@ File is downloaded/uploaded ### Example: ``` -$updateFile = ['_' => 'updateFile', 'file' => file, ]; +$updateFile = ['_' => 'updateFile', 'file' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateFile","file":"file"} +{"_": "updateFile", "file": file} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateFile={_='updateFile', file=file, } +updateFile={_='updateFile', file=file} ``` diff --git a/docs/TD_docs/constructors/updateFileGenerationFinish.md b/docs/TD_docs/constructors/updateFileGenerationFinish.md index 03b91031..b906a62a 100644 --- a/docs/TD_docs/constructors/updateFileGenerationFinish.md +++ b/docs/TD_docs/constructors/updateFileGenerationFinish.md @@ -23,13 +23,13 @@ File generation is finished ### Example: ``` -$updateFileGenerationFinish = ['_' => 'updateFileGenerationFinish', 'file' => file, ]; +$updateFileGenerationFinish = ['_' => 'updateFileGenerationFinish', 'file' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateFileGenerationFinish","file":"file"} +{"_": "updateFileGenerationFinish", "file": file} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateFileGenerationFinish={_='updateFileGenerationFinish', file=file, } +updateFileGenerationFinish={_='updateFileGenerationFinish', file=file} ``` diff --git a/docs/TD_docs/constructors/updateFileGenerationProgress.md b/docs/TD_docs/constructors/updateFileGenerationProgress.md index 2a2524c1..0b7402cc 100644 --- a/docs/TD_docs/constructors/updateFileGenerationProgress.md +++ b/docs/TD_docs/constructors/updateFileGenerationProgress.md @@ -25,13 +25,13 @@ Informs that a file is being generated ### Example: ``` -$updateFileGenerationProgress = ['_' => 'updateFileGenerationProgress', 'file_id' => int, 'size' => int, 'ready' => int, ]; +$updateFileGenerationProgress = ['_' => 'updateFileGenerationProgress', 'file_id' => int, 'size' => int, 'ready' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateFileGenerationProgress","file_id":"int","size":"int","ready":"int"} +{"_": "updateFileGenerationProgress", "file_id": int, "size": int, "ready": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateFileGenerationProgress={_='updateFileGenerationProgress', file_id=int, size=int, ready=int, } +updateFileGenerationProgress={_='updateFileGenerationProgress', file_id=int, size=int, ready=int} ``` diff --git a/docs/TD_docs/constructors/updateFileGenerationStart.md b/docs/TD_docs/constructors/updateFileGenerationStart.md index 0fc8bf4a..1e2c27ed 100644 --- a/docs/TD_docs/constructors/updateFileGenerationStart.md +++ b/docs/TD_docs/constructors/updateFileGenerationStart.md @@ -26,13 +26,13 @@ File generation process need to be started by the client ### Example: ``` -$updateFileGenerationStart = ['_' => 'updateFileGenerationStart', 'generation_id' => long, 'original_path' => string, 'destination_path' => string, 'conversion' => string, ]; +$updateFileGenerationStart = ['_' => 'updateFileGenerationStart', 'generation_id' => long, 'original_path' => 'string', 'destination_path' => 'string', 'conversion' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateFileGenerationStart","generation_id":"long","original_path":"string","destination_path":"string","conversion":"string"} +{"_": "updateFileGenerationStart", "generation_id": long, "original_path": "string", "destination_path": "string", "conversion": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateFileGenerationStart={_='updateFileGenerationStart', generation_id=long, original_path=string, destination_path=string, conversion=string, } +updateFileGenerationStart={_='updateFileGenerationStart', generation_id=long, original_path='string', destination_path='string', conversion='string'} ``` diff --git a/docs/TD_docs/constructors/updateFileProgress.md b/docs/TD_docs/constructors/updateFileProgress.md index 520a087a..8b5f38de 100644 --- a/docs/TD_docs/constructors/updateFileProgress.md +++ b/docs/TD_docs/constructors/updateFileProgress.md @@ -25,13 +25,13 @@ File is partly downloaded/uploaded ### Example: ``` -$updateFileProgress = ['_' => 'updateFileProgress', 'file_id' => int, 'size' => int, 'ready' => int, ]; +$updateFileProgress = ['_' => 'updateFileProgress', 'file_id' => int, 'size' => int, 'ready' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateFileProgress","file_id":"int","size":"int","ready":"int"} +{"_": "updateFileProgress", "file_id": int, "size": int, "ready": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateFileProgress={_='updateFileProgress', file_id=int, size=int, ready=int, } +updateFileProgress={_='updateFileProgress', file_id=int, size=int, ready=int} ``` diff --git a/docs/TD_docs/constructors/updateGroup.md b/docs/TD_docs/constructors/updateGroup.md index befbf8e6..0e737271 100644 --- a/docs/TD_docs/constructors/updateGroup.md +++ b/docs/TD_docs/constructors/updateGroup.md @@ -23,13 +23,13 @@ Some data about a group has been changed ### Example: ``` -$updateGroup = ['_' => 'updateGroup', 'group' => group, ]; +$updateGroup = ['_' => 'updateGroup', 'group' => group]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateGroup","group":"group"} +{"_": "updateGroup", "group": group} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateGroup={_='updateGroup', group=group, } +updateGroup={_='updateGroup', group=group} ``` diff --git a/docs/TD_docs/constructors/updateMessageContent.md b/docs/TD_docs/constructors/updateMessageContent.md index 8872af03..aa3a6762 100644 --- a/docs/TD_docs/constructors/updateMessageContent.md +++ b/docs/TD_docs/constructors/updateMessageContent.md @@ -25,13 +25,13 @@ Sent message gets new content ### Example: ``` -$updateMessageContent = ['_' => 'updateMessageContent', 'chat_id' => long, 'message_id' => long, 'new_content' => MessageContent, ]; +$updateMessageContent = ['_' => 'updateMessageContent', 'chat_id' => long, 'message_id' => long, 'new_content' => MessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageContent","chat_id":"long","message_id":"long","new_content":"MessageContent"} +{"_": "updateMessageContent", "chat_id": long, "message_id": long, "new_content": MessageContent} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateMessageContent={_='updateMessageContent', chat_id=long, message_id=long, new_content=MessageContent, } +updateMessageContent={_='updateMessageContent', chat_id=long, message_id=long, new_content=MessageContent} ``` diff --git a/docs/TD_docs/constructors/updateMessageEdited.md b/docs/TD_docs/constructors/updateMessageEdited.md index 8aa2c41e..2cabdd5c 100644 --- a/docs/TD_docs/constructors/updateMessageEdited.md +++ b/docs/TD_docs/constructors/updateMessageEdited.md @@ -26,13 +26,13 @@ Message was edited. Changes in the message content will come in a separate updat ### Example: ``` -$updateMessageEdited = ['_' => 'updateMessageEdited', 'chat_id' => long, 'message_id' => long, 'edit_date' => int, 'reply_markup' => ReplyMarkup, ]; +$updateMessageEdited = ['_' => 'updateMessageEdited', 'chat_id' => long, 'message_id' => long, 'edit_date' => int, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageEdited","chat_id":"long","message_id":"long","edit_date":"int","reply_markup":"ReplyMarkup"} +{"_": "updateMessageEdited", "chat_id": long, "message_id": long, "edit_date": int, "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateMessageEdited={_='updateMessageEdited', chat_id=long, message_id=long, edit_date=int, reply_markup=ReplyMarkup, } +updateMessageEdited={_='updateMessageEdited', chat_id=long, message_id=long, edit_date=int, reply_markup=ReplyMarkup} ``` diff --git a/docs/TD_docs/constructors/updateMessageSendFailed.md b/docs/TD_docs/constructors/updateMessageSendFailed.md index 208fbb18..82d70256 100644 --- a/docs/TD_docs/constructors/updateMessageSendFailed.md +++ b/docs/TD_docs/constructors/updateMessageSendFailed.md @@ -26,13 +26,13 @@ Message fails to send. Be aware that some being sent messages can be irrecoverab ### Example: ``` -$updateMessageSendFailed = ['_' => 'updateMessageSendFailed', 'chat_id' => long, 'message_id' => long, 'error_code' => int, 'error_message' => string, ]; +$updateMessageSendFailed = ['_' => 'updateMessageSendFailed', 'chat_id' => long, 'message_id' => long, 'error_code' => int, 'error_message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageSendFailed","chat_id":"long","message_id":"long","error_code":"int","error_message":"string"} +{"_": "updateMessageSendFailed", "chat_id": long, "message_id": long, "error_code": int, "error_message": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateMessageSendFailed={_='updateMessageSendFailed', chat_id=long, message_id=long, error_code=int, error_message=string, } +updateMessageSendFailed={_='updateMessageSendFailed', chat_id=long, message_id=long, error_code=int, error_message='string'} ``` diff --git a/docs/TD_docs/constructors/updateMessageSendSucceeded.md b/docs/TD_docs/constructors/updateMessageSendSucceeded.md index 3c51e6ac..cae054f1 100644 --- a/docs/TD_docs/constructors/updateMessageSendSucceeded.md +++ b/docs/TD_docs/constructors/updateMessageSendSucceeded.md @@ -24,13 +24,13 @@ Message is successfully sent ### Example: ``` -$updateMessageSendSucceeded = ['_' => 'updateMessageSendSucceeded', 'message' => message, 'old_message_id' => long, ]; +$updateMessageSendSucceeded = ['_' => 'updateMessageSendSucceeded', 'message' => message, 'old_message_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageSendSucceeded","message":"message","old_message_id":"long"} +{"_": "updateMessageSendSucceeded", "message": message, "old_message_id": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateMessageSendSucceeded={_='updateMessageSendSucceeded', message=message, old_message_id=long, } +updateMessageSendSucceeded={_='updateMessageSendSucceeded', message=message, old_message_id=long} ``` diff --git a/docs/TD_docs/constructors/updateMessageViews.md b/docs/TD_docs/constructors/updateMessageViews.md index c98a988c..90cd3a19 100644 --- a/docs/TD_docs/constructors/updateMessageViews.md +++ b/docs/TD_docs/constructors/updateMessageViews.md @@ -25,13 +25,13 @@ View count of the message has changed ### Example: ``` -$updateMessageViews = ['_' => 'updateMessageViews', 'chat_id' => long, 'message_id' => long, 'views' => int, ]; +$updateMessageViews = ['_' => 'updateMessageViews', 'chat_id' => long, 'message_id' => long, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageViews","chat_id":"long","message_id":"long","views":"int"} +{"_": "updateMessageViews", "chat_id": long, "message_id": long, "views": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateMessageViews={_='updateMessageViews', chat_id=long, message_id=long, views=int, } +updateMessageViews={_='updateMessageViews', chat_id=long, message_id=long, views=int} ``` diff --git a/docs/TD_docs/constructors/updateNewCallbackQuery.md b/docs/TD_docs/constructors/updateNewCallbackQuery.md index b275b13e..581785c9 100644 --- a/docs/TD_docs/constructors/updateNewCallbackQuery.md +++ b/docs/TD_docs/constructors/updateNewCallbackQuery.md @@ -28,13 +28,13 @@ Bots only. New incoming callback query ### Example: ``` -$updateNewCallbackQuery = ['_' => 'updateNewCallbackQuery', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'message_id' => long, 'chat_instance' => long, 'payload' => CallbackQueryPayload, ]; +$updateNewCallbackQuery = ['_' => 'updateNewCallbackQuery', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'message_id' => long, 'chat_instance' => long, 'payload' => CallbackQueryPayload]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewCallbackQuery","id":"long","sender_user_id":"int","chat_id":"long","message_id":"long","chat_instance":"long","payload":"CallbackQueryPayload"} +{"_": "updateNewCallbackQuery", "id": long, "sender_user_id": int, "chat_id": long, "message_id": long, "chat_instance": long, "payload": CallbackQueryPayload} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateNewCallbackQuery={_='updateNewCallbackQuery', id=long, sender_user_id=int, chat_id=long, message_id=long, chat_instance=long, payload=CallbackQueryPayload, } +updateNewCallbackQuery={_='updateNewCallbackQuery', id=long, sender_user_id=int, chat_id=long, message_id=long, chat_instance=long, payload=CallbackQueryPayload} ``` diff --git a/docs/TD_docs/constructors/updateNewChosenInlineResult.md b/docs/TD_docs/constructors/updateNewChosenInlineResult.md index cfe2ccf0..cde6ae52 100644 --- a/docs/TD_docs/constructors/updateNewChosenInlineResult.md +++ b/docs/TD_docs/constructors/updateNewChosenInlineResult.md @@ -27,13 +27,13 @@ Bots only. User has chosen a result of the inline query ### Example: ``` -$updateNewChosenInlineResult = ['_' => 'updateNewChosenInlineResult', 'sender_user_id' => int, 'user_location' => location, 'query' => string, 'result_id' => string, 'inline_message_id' => string, ]; +$updateNewChosenInlineResult = ['_' => 'updateNewChosenInlineResult', 'sender_user_id' => int, 'user_location' => location, 'query' => 'string', 'result_id' => 'string', 'inline_message_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChosenInlineResult","sender_user_id":"int","user_location":"location","query":"string","result_id":"string","inline_message_id":"string"} +{"_": "updateNewChosenInlineResult", "sender_user_id": int, "user_location": location, "query": "string", "result_id": "string", "inline_message_id": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateNewChosenInlineResult={_='updateNewChosenInlineResult', sender_user_id=int, user_location=location, query=string, result_id=string, inline_message_id=string, } +updateNewChosenInlineResult={_='updateNewChosenInlineResult', sender_user_id=int, user_location=location, query='string', result_id='string', inline_message_id='string'} ``` diff --git a/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md b/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md index 7a8359d2..efbac822 100644 --- a/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md +++ b/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md @@ -27,13 +27,13 @@ Bots only. New incoming callback query from message sent via bot ### Example: ``` -$updateNewInlineCallbackQuery = ['_' => 'updateNewInlineCallbackQuery', 'id' => long, 'sender_user_id' => int, 'inline_message_id' => string, 'chat_instance' => long, 'payload' => CallbackQueryPayload, ]; +$updateNewInlineCallbackQuery = ['_' => 'updateNewInlineCallbackQuery', 'id' => long, 'sender_user_id' => int, 'inline_message_id' => 'string', 'chat_instance' => long, 'payload' => CallbackQueryPayload]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewInlineCallbackQuery","id":"long","sender_user_id":"int","inline_message_id":"string","chat_instance":"long","payload":"CallbackQueryPayload"} +{"_": "updateNewInlineCallbackQuery", "id": long, "sender_user_id": int, "inline_message_id": "string", "chat_instance": long, "payload": CallbackQueryPayload} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateNewInlineCallbackQuery={_='updateNewInlineCallbackQuery', id=long, sender_user_id=int, inline_message_id=string, chat_instance=long, payload=CallbackQueryPayload, } +updateNewInlineCallbackQuery={_='updateNewInlineCallbackQuery', id=long, sender_user_id=int, inline_message_id='string', chat_instance=long, payload=CallbackQueryPayload} ``` diff --git a/docs/TD_docs/constructors/updateNewInlineQuery.md b/docs/TD_docs/constructors/updateNewInlineQuery.md index 8d11aac5..bb7a1283 100644 --- a/docs/TD_docs/constructors/updateNewInlineQuery.md +++ b/docs/TD_docs/constructors/updateNewInlineQuery.md @@ -27,13 +27,13 @@ Bots only. New incoming inline query ### Example: ``` -$updateNewInlineQuery = ['_' => 'updateNewInlineQuery', 'id' => long, 'sender_user_id' => int, 'user_location' => location, 'query' => string, 'offset' => string, ]; +$updateNewInlineQuery = ['_' => 'updateNewInlineQuery', 'id' => long, 'sender_user_id' => int, 'user_location' => location, 'query' => 'string', 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewInlineQuery","id":"long","sender_user_id":"int","user_location":"location","query":"string","offset":"string"} +{"_": "updateNewInlineQuery", "id": long, "sender_user_id": int, "user_location": location, "query": "string", "offset": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateNewInlineQuery={_='updateNewInlineQuery', id=long, sender_user_id=int, user_location=location, query=string, offset=string, } +updateNewInlineQuery={_='updateNewInlineQuery', id=long, sender_user_id=int, user_location=location, query='string', offset='string'} ``` diff --git a/docs/TD_docs/constructors/updateNewMessage.md b/docs/TD_docs/constructors/updateNewMessage.md index a71ac937..b691ca65 100644 --- a/docs/TD_docs/constructors/updateNewMessage.md +++ b/docs/TD_docs/constructors/updateNewMessage.md @@ -24,13 +24,13 @@ New message received, maybe outcoming message sent from other device ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => message, 'disable_notification' => Bool, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => message, 'disable_notification' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"message","disable_notification":"Bool"} +{"_": "updateNewMessage", "message": message, "disable_notification": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=message, disable_notification=Bool, } +updateNewMessage={_='updateNewMessage', message=message, disable_notification=Bool} ``` diff --git a/docs/TD_docs/constructors/updateNotificationSettings.md b/docs/TD_docs/constructors/updateNotificationSettings.md index 0e812c74..6fbf5303 100644 --- a/docs/TD_docs/constructors/updateNotificationSettings.md +++ b/docs/TD_docs/constructors/updateNotificationSettings.md @@ -24,13 +24,13 @@ Notification settings for some chats was updated ### Example: ``` -$updateNotificationSettings = ['_' => 'updateNotificationSettings', 'scope' => NotificationSettingsScope, 'notification_settings' => notificationSettings, ]; +$updateNotificationSettings = ['_' => 'updateNotificationSettings', 'scope' => NotificationSettingsScope, 'notification_settings' => notificationSettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotificationSettings","scope":"NotificationSettingsScope","notification_settings":"notificationSettings"} +{"_": "updateNotificationSettings", "scope": NotificationSettingsScope, "notification_settings": notificationSettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNotificationSettings={_='updateNotificationSettings', scope=NotificationSettingsScope, notification_settings=notificationSettings, } +updateNotificationSettings={_='updateNotificationSettings', scope=NotificationSettingsScope, notification_settings=notificationSettings} ``` diff --git a/docs/TD_docs/constructors/updateOption.md b/docs/TD_docs/constructors/updateOption.md index 9fc9f366..0a027df4 100644 --- a/docs/TD_docs/constructors/updateOption.md +++ b/docs/TD_docs/constructors/updateOption.md @@ -24,13 +24,13 @@ Some option changed its value ### Example: ``` -$updateOption = ['_' => 'updateOption', 'name' => string, 'value' => OptionValue, ]; +$updateOption = ['_' => 'updateOption', 'name' => 'string', 'value' => OptionValue]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateOption","name":"string","value":"OptionValue"} +{"_": "updateOption", "name": "string", "value": OptionValue} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateOption={_='updateOption', name=string, value=OptionValue, } +updateOption={_='updateOption', name='string', value=OptionValue} ``` diff --git a/docs/TD_docs/constructors/updatePrivacy.md b/docs/TD_docs/constructors/updatePrivacy.md index 09410213..4dd8cb9a 100644 --- a/docs/TD_docs/constructors/updatePrivacy.md +++ b/docs/TD_docs/constructors/updatePrivacy.md @@ -24,13 +24,13 @@ Some privacy settings has changed ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => privacyRules, ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => privacyRules]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":"privacyRules"} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": privacyRules} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules=privacyRules, } +updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules=privacyRules} ``` diff --git a/docs/TD_docs/constructors/updateRecentStickers.md b/docs/TD_docs/constructors/updateRecentStickers.md index 7d7d9698..a87441a6 100644 --- a/docs/TD_docs/constructors/updateRecentStickers.md +++ b/docs/TD_docs/constructors/updateRecentStickers.md @@ -24,13 +24,13 @@ List of recently used stickers was updated ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', 'is_attached' => Bool, 'sticker_ids' => [int], ]; +$updateRecentStickers = ['_' => 'updateRecentStickers', 'is_attached' => Bool, 'sticker_ids' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers","is_attached":"Bool","sticker_ids":["int"]} +{"_": "updateRecentStickers", "is_attached": Bool, "sticker_ids": [int]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', is_attached=Bool, sticker_ids={int}, } +updateRecentStickers={_='updateRecentStickers', is_attached=Bool, sticker_ids={int}} ``` diff --git a/docs/TD_docs/constructors/updateSavedAnimations.md b/docs/TD_docs/constructors/updateSavedAnimations.md index 27c4b28f..b480b1ad 100644 --- a/docs/TD_docs/constructors/updateSavedAnimations.md +++ b/docs/TD_docs/constructors/updateSavedAnimations.md @@ -22,13 +22,13 @@ List of saved animations was updated. Need to drop saved animations cache if hav ### Example: ``` -$updateSavedAnimations = ['_' => 'updateSavedAnimations', ]; +$updateSavedAnimations = ['_' => 'updateSavedAnimations']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedAnimations"} +{"_": "updateSavedAnimations"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateSavedAnimations={_='updateSavedAnimations', } +updateSavedAnimations={_='updateSavedAnimations'} ``` diff --git a/docs/TD_docs/constructors/updateSecretChat.md b/docs/TD_docs/constructors/updateSecretChat.md index f32fa5db..1c9d1709 100644 --- a/docs/TD_docs/constructors/updateSecretChat.md +++ b/docs/TD_docs/constructors/updateSecretChat.md @@ -23,13 +23,13 @@ Some data about a secret chat has been changed ### Example: ``` -$updateSecretChat = ['_' => 'updateSecretChat', 'secret_chat' => secretChat, ]; +$updateSecretChat = ['_' => 'updateSecretChat', 'secret_chat' => secretChat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSecretChat","secret_chat":"secretChat"} +{"_": "updateSecretChat", "secret_chat": secretChat} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateSecretChat={_='updateSecretChat', secret_chat=secretChat, } +updateSecretChat={_='updateSecretChat', secret_chat=secretChat} ``` diff --git a/docs/TD_docs/constructors/updateServiceNotification.md b/docs/TD_docs/constructors/updateServiceNotification.md index 6af6b813..72ae68ff 100644 --- a/docs/TD_docs/constructors/updateServiceNotification.md +++ b/docs/TD_docs/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ Service notification from the server. Upon receiving client should show popup wi ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'content' => MessageContent, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'content' => MessageContent]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","content":"MessageContent"} +{"_": "updateServiceNotification", "type": "string", "content": MessageContent} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, content=MessageContent, } +updateServiceNotification={_='updateServiceNotification', type='string', content=MessageContent} ``` diff --git a/docs/TD_docs/constructors/updateStickerSets.md b/docs/TD_docs/constructors/updateStickerSets.md index a2b0a6d3..3fb86cf6 100644 --- a/docs/TD_docs/constructors/updateStickerSets.md +++ b/docs/TD_docs/constructors/updateStickerSets.md @@ -24,13 +24,13 @@ List of installed sticker sets was updated ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', 'is_masks' => Bool, 'sticker_set_ids' => [long], ]; +$updateStickerSets = ['_' => 'updateStickerSets', 'is_masks' => Bool, 'sticker_set_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets","is_masks":"Bool","sticker_set_ids":["long"]} +{"_": "updateStickerSets", "is_masks": Bool, "sticker_set_ids": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', is_masks=Bool, sticker_set_ids={long}, } +updateStickerSets={_='updateStickerSets', is_masks=Bool, sticker_set_ids={long}} ``` diff --git a/docs/TD_docs/constructors/updateTrendingStickerSets.md b/docs/TD_docs/constructors/updateTrendingStickerSets.md index 65f353a1..5a61a33e 100644 --- a/docs/TD_docs/constructors/updateTrendingStickerSets.md +++ b/docs/TD_docs/constructors/updateTrendingStickerSets.md @@ -23,13 +23,13 @@ List of trending sticker sets was updated or some of them was viewed ### Example: ``` -$updateTrendingStickerSets = ['_' => 'updateTrendingStickerSets', 'sticker_sets' => stickerSets, ]; +$updateTrendingStickerSets = ['_' => 'updateTrendingStickerSets', 'sticker_sets' => stickerSets]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateTrendingStickerSets","sticker_sets":"stickerSets"} +{"_": "updateTrendingStickerSets", "sticker_sets": stickerSets} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateTrendingStickerSets={_='updateTrendingStickerSets', sticker_sets=stickerSets, } +updateTrendingStickerSets={_='updateTrendingStickerSets', sticker_sets=stickerSets} ``` diff --git a/docs/TD_docs/constructors/updateUser.md b/docs/TD_docs/constructors/updateUser.md index 6d97758d..35a858e7 100644 --- a/docs/TD_docs/constructors/updateUser.md +++ b/docs/TD_docs/constructors/updateUser.md @@ -23,13 +23,13 @@ Some data about a user has been changed ### Example: ``` -$updateUser = ['_' => 'updateUser', 'user' => user, ]; +$updateUser = ['_' => 'updateUser', 'user' => user]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUser","user":"user"} +{"_": "updateUser", "user": user} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateUser={_='updateUser', user=user, } +updateUser={_='updateUser', user=user} ``` diff --git a/docs/TD_docs/constructors/updateUserAction.md b/docs/TD_docs/constructors/updateUserAction.md index d34cd276..ecbb90b0 100644 --- a/docs/TD_docs/constructors/updateUserAction.md +++ b/docs/TD_docs/constructors/updateUserAction.md @@ -25,13 +25,13 @@ Some chat activity ### Example: ``` -$updateUserAction = ['_' => 'updateUserAction', 'chat_id' => long, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserAction = ['_' => 'updateUserAction', 'chat_id' => long, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserAction","chat_id":"long","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserAction", "chat_id": long, "user_id": int, "action": SendMessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateUserAction={_='updateUserAction', chat_id=long, user_id=int, action=SendMessageAction, } +updateUserAction={_='updateUserAction', chat_id=long, user_id=int, action=SendMessageAction} ``` diff --git a/docs/TD_docs/constructors/updateUserBlocked.md b/docs/TD_docs/constructors/updateUserBlocked.md index 22cd8b67..d807698c 100644 --- a/docs/TD_docs/constructors/updateUserBlocked.md +++ b/docs/TD_docs/constructors/updateUserBlocked.md @@ -24,13 +24,13 @@ User blocked/unblocked ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'is_blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'is_blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","is_blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "is_blocked": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, is_blocked=Bool, } +updateUserBlocked={_='updateUserBlocked', user_id=int, is_blocked=Bool} ``` diff --git a/docs/TD_docs/constructors/updateUserStatus.md b/docs/TD_docs/constructors/updateUserStatus.md index 98b5bcd5..1b5b7399 100644 --- a/docs/TD_docs/constructors/updateUserStatus.md +++ b/docs/TD_docs/constructors/updateUserStatus.md @@ -24,13 +24,13 @@ User went online/offline ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/docs/TD_docs/constructors/user.md b/docs/TD_docs/constructors/user.md index cb9f8771..73306099 100644 --- a/docs/TD_docs/constructors/user.md +++ b/docs/TD_docs/constructors/user.md @@ -35,13 +35,13 @@ Represents user ### Example: ``` -$user = ['_' => 'user', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone_number' => string, 'status' => UserStatus, 'profile_photo' => profilePhoto, 'my_link' => LinkState, 'foreign_link' => LinkState, 'is_verified' => Bool, 'restriction_reason' => string, 'have_access' => Bool, 'type' => UserType, ]; +$user = ['_' => 'user', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone_number' => 'string', 'status' => UserStatus, 'profile_photo' => profilePhoto, 'my_link' => LinkState, 'foreign_link' => LinkState, 'is_verified' => Bool, 'restriction_reason' => 'string', 'have_access' => Bool, 'type' => UserType]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"user","id":"int","first_name":"string","last_name":"string","username":"string","phone_number":"string","status":"UserStatus","profile_photo":"profilePhoto","my_link":"LinkState","foreign_link":"LinkState","is_verified":"Bool","restriction_reason":"string","have_access":"Bool","type":"UserType"} +{"_": "user", "id": int, "first_name": "string", "last_name": "string", "username": "string", "phone_number": "string", "status": UserStatus, "profile_photo": profilePhoto, "my_link": LinkState, "foreign_link": LinkState, "is_verified": Bool, "restriction_reason": "string", "have_access": Bool, "type": UserType} ``` @@ -49,7 +49,7 @@ Or, if you're into Lua: ``` -user={_='user', id=int, first_name=string, last_name=string, username=string, phone_number=string, status=UserStatus, profile_photo=profilePhoto, my_link=LinkState, foreign_link=LinkState, is_verified=Bool, restriction_reason=string, have_access=Bool, type=UserType, } +user={_='user', id=int, first_name='string', last_name='string', username='string', phone_number='string', status=UserStatus, profile_photo=profilePhoto, my_link=LinkState, foreign_link=LinkState, is_verified=Bool, restriction_reason='string', have_access=Bool, type=UserType} ``` diff --git a/docs/TD_docs/constructors/userFull.md b/docs/TD_docs/constructors/userFull.md index 7c6ab2b5..023eb294 100644 --- a/docs/TD_docs/constructors/userFull.md +++ b/docs/TD_docs/constructors/userFull.md @@ -27,13 +27,13 @@ Gives full information about a user (except full list of profile photos) ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => user, 'is_blocked' => Bool, 'about' => string, 'common_chat_count' => int, 'bot_info' => botInfo, ]; +$userFull = ['_' => 'userFull', 'user' => user, 'is_blocked' => Bool, 'about' => 'string', 'common_chat_count' => int, 'bot_info' => botInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"user","is_blocked":"Bool","about":"string","common_chat_count":"int","bot_info":"botInfo"} +{"_": "userFull", "user": user, "is_blocked": Bool, "about": "string", "common_chat_count": int, "bot_info": botInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=user, is_blocked=Bool, about=string, common_chat_count=int, bot_info=botInfo, } +userFull={_='userFull', user=user, is_blocked=Bool, about='string', common_chat_count=int, bot_info=botInfo} ``` diff --git a/docs/TD_docs/constructors/userProfilePhotos.md b/docs/TD_docs/constructors/userProfilePhotos.md index 8328e3fc..33456aca 100644 --- a/docs/TD_docs/constructors/userProfilePhotos.md +++ b/docs/TD_docs/constructors/userProfilePhotos.md @@ -24,13 +24,13 @@ Contains part of the list of user photos ### Example: ``` -$userProfilePhotos = ['_' => 'userProfilePhotos', 'total_count' => int, 'photos' => [photo], ]; +$userProfilePhotos = ['_' => 'userProfilePhotos', 'total_count' => int, 'photos' => [photo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotos","total_count":"int","photos":["photo"]} +{"_": "userProfilePhotos", "total_count": int, "photos": [photo]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -userProfilePhotos={_='userProfilePhotos', total_count=int, photos={photo}, } +userProfilePhotos={_='userProfilePhotos', total_count=int, photos={photo}} ``` diff --git a/docs/TD_docs/constructors/userStatusEmpty.md b/docs/TD_docs/constructors/userStatusEmpty.md index 44738d60..9403e757 100644 --- a/docs/TD_docs/constructors/userStatusEmpty.md +++ b/docs/TD_docs/constructors/userStatusEmpty.md @@ -22,13 +22,13 @@ User status was newer changed ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/docs/TD_docs/constructors/userStatusLastMonth.md b/docs/TD_docs/constructors/userStatusLastMonth.md index 7515a356..b07aef92 100644 --- a/docs/TD_docs/constructors/userStatusLastMonth.md +++ b/docs/TD_docs/constructors/userStatusLastMonth.md @@ -22,13 +22,13 @@ User is offline, but was online last month ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/docs/TD_docs/constructors/userStatusLastWeek.md b/docs/TD_docs/constructors/userStatusLastWeek.md index 94e26c31..1b0421e2 100644 --- a/docs/TD_docs/constructors/userStatusLastWeek.md +++ b/docs/TD_docs/constructors/userStatusLastWeek.md @@ -22,13 +22,13 @@ User is offline, but was online last week ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/docs/TD_docs/constructors/userStatusOffline.md b/docs/TD_docs/constructors/userStatusOffline.md index 510ee154..4970c73d 100644 --- a/docs/TD_docs/constructors/userStatusOffline.md +++ b/docs/TD_docs/constructors/userStatusOffline.md @@ -23,13 +23,13 @@ User is offline ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/docs/TD_docs/constructors/userStatusOnline.md b/docs/TD_docs/constructors/userStatusOnline.md index b38015c9..9d375ec2 100644 --- a/docs/TD_docs/constructors/userStatusOnline.md +++ b/docs/TD_docs/constructors/userStatusOnline.md @@ -23,13 +23,13 @@ User is online ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/docs/TD_docs/constructors/userStatusRecently.md b/docs/TD_docs/constructors/userStatusRecently.md index 323edf63..c828fbc1 100644 --- a/docs/TD_docs/constructors/userStatusRecently.md +++ b/docs/TD_docs/constructors/userStatusRecently.md @@ -22,13 +22,13 @@ User was online recently ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/docs/TD_docs/constructors/userTypeBot.md b/docs/TD_docs/constructors/userTypeBot.md index 2af70e60..81934300 100644 --- a/docs/TD_docs/constructors/userTypeBot.md +++ b/docs/TD_docs/constructors/userTypeBot.md @@ -27,13 +27,13 @@ Bot (see https: core.telegram.org/bots) ### Example: ``` -$userTypeBot = ['_' => 'userTypeBot', 'can_join_group_chats' => Bool, 'can_read_all_group_chat_messages' => Bool, 'is_inline' => Bool, 'inline_query_placeholder' => string, 'need_location' => Bool, ]; +$userTypeBot = ['_' => 'userTypeBot', 'can_join_group_chats' => Bool, 'can_read_all_group_chat_messages' => Bool, 'is_inline' => Bool, 'inline_query_placeholder' => 'string', 'need_location' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userTypeBot","can_join_group_chats":"Bool","can_read_all_group_chat_messages":"Bool","is_inline":"Bool","inline_query_placeholder":"string","need_location":"Bool"} +{"_": "userTypeBot", "can_join_group_chats": Bool, "can_read_all_group_chat_messages": Bool, "is_inline": Bool, "inline_query_placeholder": "string", "need_location": Bool} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userTypeBot={_='userTypeBot', can_join_group_chats=Bool, can_read_all_group_chat_messages=Bool, is_inline=Bool, inline_query_placeholder=string, need_location=Bool, } +userTypeBot={_='userTypeBot', can_join_group_chats=Bool, can_read_all_group_chat_messages=Bool, is_inline=Bool, inline_query_placeholder='string', need_location=Bool} ``` diff --git a/docs/TD_docs/constructors/userTypeDeleted.md b/docs/TD_docs/constructors/userTypeDeleted.md index b0a99dbd..d424d890 100644 --- a/docs/TD_docs/constructors/userTypeDeleted.md +++ b/docs/TD_docs/constructors/userTypeDeleted.md @@ -22,13 +22,13 @@ Deleted user or deleted bot. There is no any information about it except user_id ### Example: ``` -$userTypeDeleted = ['_' => 'userTypeDeleted', ]; +$userTypeDeleted = ['_' => 'userTypeDeleted']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userTypeDeleted"} +{"_": "userTypeDeleted"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userTypeDeleted={_='userTypeDeleted', } +userTypeDeleted={_='userTypeDeleted'} ``` diff --git a/docs/TD_docs/constructors/userTypeGeneral.md b/docs/TD_docs/constructors/userTypeGeneral.md index e13358cd..4f3679f9 100644 --- a/docs/TD_docs/constructors/userTypeGeneral.md +++ b/docs/TD_docs/constructors/userTypeGeneral.md @@ -22,13 +22,13 @@ General user ### Example: ``` -$userTypeGeneral = ['_' => 'userTypeGeneral', ]; +$userTypeGeneral = ['_' => 'userTypeGeneral']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userTypeGeneral"} +{"_": "userTypeGeneral"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userTypeGeneral={_='userTypeGeneral', } +userTypeGeneral={_='userTypeGeneral'} ``` diff --git a/docs/TD_docs/constructors/userTypeUnknown.md b/docs/TD_docs/constructors/userTypeUnknown.md index 9aa91742..aa1fa531 100644 --- a/docs/TD_docs/constructors/userTypeUnknown.md +++ b/docs/TD_docs/constructors/userTypeUnknown.md @@ -22,13 +22,13 @@ Currently there is no any information about the user except user_id. It can happ ### Example: ``` -$userTypeUnknown = ['_' => 'userTypeUnknown', ]; +$userTypeUnknown = ['_' => 'userTypeUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userTypeUnknown"} +{"_": "userTypeUnknown"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -userTypeUnknown={_='userTypeUnknown', } +userTypeUnknown={_='userTypeUnknown'} ``` diff --git a/docs/TD_docs/constructors/users.md b/docs/TD_docs/constructors/users.md index db28fab0..0fcd67cf 100644 --- a/docs/TD_docs/constructors/users.md +++ b/docs/TD_docs/constructors/users.md @@ -24,13 +24,13 @@ Contains list of users ### Example: ``` -$users = ['_' => 'users', 'total_count' => int, 'users' => [user], ]; +$users = ['_' => 'users', 'total_count' => int, 'users' => [user]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"users","total_count":"int","users":["user"]} +{"_": "users", "total_count": int, "users": [user]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -users={_='users', total_count=int, users={user}, } +users={_='users', total_count=int, users={user}} ``` diff --git a/docs/TD_docs/constructors/venue.md b/docs/TD_docs/constructors/venue.md index d749fa73..81a1da8d 100644 --- a/docs/TD_docs/constructors/venue.md +++ b/docs/TD_docs/constructors/venue.md @@ -27,13 +27,13 @@ Describes venue ### Example: ``` -$venue = ['_' => 'venue', 'location' => location, 'title' => string, 'address' => string, 'provider' => string, 'id' => string, ]; +$venue = ['_' => 'venue', 'location' => location, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"venue","location":"location","title":"string","address":"string","provider":"string","id":"string"} +{"_": "venue", "location": location, "title": "string", "address": "string", "provider": "string", "id": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -venue={_='venue', location=location, title=string, address=string, provider=string, id=string, } +venue={_='venue', location=location, title='string', address='string', provider='string', id='string'} ``` diff --git a/docs/TD_docs/constructors/video.md b/docs/TD_docs/constructors/video.md index 69e3dc09..ab0c0891 100644 --- a/docs/TD_docs/constructors/video.md +++ b/docs/TD_docs/constructors/video.md @@ -30,13 +30,13 @@ Describes video file ### Example: ``` -$video = ['_' => 'video', 'duration' => int, 'width' => int, 'height' => int, 'file_name' => string, 'mime_type' => string, 'has_stickers' => Bool, 'thumb' => photoSize, 'video' => file, ]; +$video = ['_' => 'video', 'duration' => int, 'width' => int, 'height' => int, 'file_name' => 'string', 'mime_type' => 'string', 'has_stickers' => Bool, 'thumb' => photoSize, 'video' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","duration":"int","width":"int","height":"int","file_name":"string","mime_type":"string","has_stickers":"Bool","thumb":"photoSize","video":"file"} +{"_": "video", "duration": int, "width": int, "height": int, "file_name": "string", "mime_type": "string", "has_stickers": Bool, "thumb": photoSize, "video": file} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -video={_='video', duration=int, width=int, height=int, file_name=string, mime_type=string, has_stickers=Bool, thumb=photoSize, video=file, } +video={_='video', duration=int, width=int, height=int, file_name='string', mime_type='string', has_stickers=Bool, thumb=photoSize, video=file} ``` diff --git a/docs/TD_docs/constructors/voice.md b/docs/TD_docs/constructors/voice.md index 94d03ddf..a23e2fc9 100644 --- a/docs/TD_docs/constructors/voice.md +++ b/docs/TD_docs/constructors/voice.md @@ -26,13 +26,13 @@ Describes voice record. Voice must be encoded with Opus codec and must be stored ### Example: ``` -$voice = ['_' => 'voice', 'duration' => int, 'waveform' => bytes, 'mime_type' => string, 'voice' => file, ]; +$voice = ['_' => 'voice', 'duration' => int, 'waveform' => 'bytes', 'mime_type' => 'string', 'voice' => file]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"voice","duration":"int","waveform":"bytes","mime_type":"string","voice":"file"} +{"_": "voice", "duration": int, "waveform": "bytes", "mime_type": "string", "voice": file} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -voice={_='voice', duration=int, waveform=bytes, mime_type=string, voice=file, } +voice={_='voice', duration=int, waveform='bytes', mime_type='string', voice=file} ``` diff --git a/docs/TD_docs/constructors/wallpaper.md b/docs/TD_docs/constructors/wallpaper.md index e7121ac0..f085142e 100644 --- a/docs/TD_docs/constructors/wallpaper.md +++ b/docs/TD_docs/constructors/wallpaper.md @@ -24,13 +24,13 @@ Contains information about one wallpaper ### Example: ``` -$wallpaper = ['_' => 'wallpaper', 'sizes' => [photoSize], 'color' => int, ]; +$wallpaper = ['_' => 'wallpaper', 'sizes' => [photoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallpaper","sizes":["photoSize"],"color":"int"} +{"_": "wallpaper", "sizes": [photoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallpaper={_='wallpaper', sizes={photoSize}, color=int, } +wallpaper={_='wallpaper', sizes={photoSize}, color=int} ``` diff --git a/docs/TD_docs/constructors/wallpapers.md b/docs/TD_docs/constructors/wallpapers.md index 1c15247c..24bd19b2 100644 --- a/docs/TD_docs/constructors/wallpapers.md +++ b/docs/TD_docs/constructors/wallpapers.md @@ -23,13 +23,13 @@ Contains list of wallpapers ### Example: ``` -$wallpapers = ['_' => 'wallpapers', 'wallpapers' => [wallpaper], ]; +$wallpapers = ['_' => 'wallpapers', 'wallpapers' => [wallpaper]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallpapers","wallpapers":["wallpaper"]} +{"_": "wallpapers", "wallpapers": [wallpaper]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -wallpapers={_='wallpapers', wallpapers={wallpaper}, } +wallpapers={_='wallpapers', wallpapers={wallpaper}} ``` diff --git a/docs/TD_docs/constructors/webPage.md b/docs/TD_docs/constructors/webPage.md index df3aeb40..67498ba4 100644 --- a/docs/TD_docs/constructors/webPage.md +++ b/docs/TD_docs/constructors/webPage.md @@ -41,13 +41,13 @@ Describes web page preview ### Example: ``` -$webPage = ['_' => 'webPage', '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, 'animation' => animation, 'audio' => audio, 'document' => document, 'sticker' => sticker, 'video' => video, 'voice' => voice, ]; +$webPage = ['_' => 'webPage', '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', 'animation' => animation, 'audio' => audio, 'document' => document, 'sticker' => sticker, 'video' => video, 'voice' => voice]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPage","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","animation":"animation","audio":"audio","document":"document","sticker":"sticker","video":"video","voice":"voice"} +{"_": "webPage", "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", "animation": animation, "audio": audio, "document": document, "sticker": sticker, "video": video, "voice": voice} ``` @@ -55,7 +55,7 @@ Or, if you're into Lua: ``` -webPage={_='webPage', 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, animation=animation, audio=audio, document=document, sticker=sticker, video=video, voice=voice, } +webPage={_='webPage', 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', animation=animation, audio=audio, document=document, sticker=sticker, video=video, voice=voice} ``` diff --git a/docs/TD_docs/methods/addChatMember.md b/docs/TD_docs/methods/addChatMember.md index 451cfc44..2a14720e 100644 --- a/docs/TD_docs/methods/addChatMember.md +++ b/docs/TD_docs/methods/addChatMember.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - addChatMember -* params - {"chat_id":"InputPeer","user_id":"int","forward_limit":"int"} +* params - {"chat_id": InputPeer, "user_id": int, "forward_limit": int, } ``` diff --git a/docs/TD_docs/methods/addChatMembers.md b/docs/TD_docs/methods/addChatMembers.md index e03037bd..2c7bec0f 100644 --- a/docs/TD_docs/methods/addChatMembers.md +++ b/docs/TD_docs/methods/addChatMembers.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - addChatMembers -* params - {"chat_id":"InputPeer","user_ids":["int"]} +* params - {"chat_id": InputPeer, "user_ids": [int], } ``` diff --git a/docs/TD_docs/methods/addRecentSticker.md b/docs/TD_docs/methods/addRecentSticker.md index 94362ec4..24e53083 100644 --- a/docs/TD_docs/methods/addRecentSticker.md +++ b/docs/TD_docs/methods/addRecentSticker.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - addRecentSticker -* params - {"is_attached":"Bool","sticker":"InputFile"} +* params - {"is_attached": Bool, "sticker": InputFile, } ``` diff --git a/docs/TD_docs/methods/addRecentlyFoundChat.md b/docs/TD_docs/methods/addRecentlyFoundChat.md index ed417ce1..c7bf67c3 100644 --- a/docs/TD_docs/methods/addRecentlyFoundChat.md +++ b/docs/TD_docs/methods/addRecentlyFoundChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - addRecentlyFoundChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/addSavedAnimation.md b/docs/TD_docs/methods/addSavedAnimation.md index 19e164de..7c0d1b1f 100644 --- a/docs/TD_docs/methods/addSavedAnimation.md +++ b/docs/TD_docs/methods/addSavedAnimation.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - addSavedAnimation -* params - {"animation":"InputFile"} +* params - {"animation": InputFile, } ``` diff --git a/docs/TD_docs/methods/answerCallbackQuery.md b/docs/TD_docs/methods/answerCallbackQuery.md index 0d327b63..ee285612 100644 --- a/docs/TD_docs/methods/answerCallbackQuery.md +++ b/docs/TD_docs/methods/answerCallbackQuery.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->answerCallbackQuery(['callback_query_id' => long, 'text' => string, 'show_alert' => Bool, 'url' => string, 'cache_time' => int, ]); +$Ok = $MadelineProto->answerCallbackQuery(['callback_query_id' => long, 'text' => 'string', 'show_alert' => Bool, 'url' => 'string', 'cache_time' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - answerCallbackQuery -* params - {"callback_query_id":"long","text":"string","show_alert":"Bool","url":"string","cache_time":"int"} +* params - {"callback_query_id": long, "text": "string", "show_alert": Bool, "url": "string", "cache_time": int, } ``` @@ -76,6 +76,6 @@ cache_time - Json encoded int Or, if you're into Lua: ``` -Ok = answerCallbackQuery({callback_query_id=long, text=string, show_alert=Bool, url=string, cache_time=int, }) +Ok = answerCallbackQuery({callback_query_id=long, text='string', show_alert=Bool, url='string', cache_time=int, }) ``` diff --git a/docs/TD_docs/methods/answerInlineQuery.md b/docs/TD_docs/methods/answerInlineQuery.md index b26685bf..943e7009 100644 --- a/docs/TD_docs/methods/answerInlineQuery.md +++ b/docs/TD_docs/methods/answerInlineQuery.md @@ -44,7 +44,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->answerInlineQuery(['inline_query_id' => long, 'is_personal' => Bool, 'results' => [InputInlineQueryResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm_text' => string, 'switch_pm_parameter' => string, ]); +$Ok = $MadelineProto->answerInlineQuery(['inline_query_id' => long, 'is_personal' => Bool, 'results' => [InputInlineQueryResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm_text' => 'string', 'switch_pm_parameter' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -56,7 +56,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - answerInlineQuery -* params - {"inline_query_id":"long","is_personal":"Bool","results":["InputInlineQueryResult"],"cache_time":"int","next_offset":"string","switch_pm_text":"string","switch_pm_parameter":"string"} +* params - {"inline_query_id": long, "is_personal": Bool, "results": [InputInlineQueryResult], "cache_time": int, "next_offset": "string", "switch_pm_text": "string", "switch_pm_parameter": "string", } ``` @@ -80,6 +80,6 @@ switch_pm_parameter - Json encoded string Or, if you're into Lua: ``` -Ok = answerInlineQuery({inline_query_id=long, is_personal=Bool, results={InputInlineQueryResult}, cache_time=int, next_offset=string, switch_pm_text=string, switch_pm_parameter=string, }) +Ok = answerInlineQuery({inline_query_id=long, is_personal=Bool, results={InputInlineQueryResult}, cache_time=int, next_offset='string', switch_pm_text='string', switch_pm_parameter='string', }) ``` diff --git a/docs/TD_docs/methods/blockUser.md b/docs/TD_docs/methods/blockUser.md index 5d60ae0f..9e40f9b5 100644 --- a/docs/TD_docs/methods/blockUser.md +++ b/docs/TD_docs/methods/blockUser.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - blockUser -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/cancelDownloadFile.md b/docs/TD_docs/methods/cancelDownloadFile.md index 56bf3e79..9aae4e8f 100644 --- a/docs/TD_docs/methods/cancelDownloadFile.md +++ b/docs/TD_docs/methods/cancelDownloadFile.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - cancelDownloadFile -* params - {"file_id":"int"} +* params - {"file_id": int, } ``` diff --git a/docs/TD_docs/methods/changeAbout.md b/docs/TD_docs/methods/changeAbout.md index bd606914..edec0663 100644 --- a/docs/TD_docs/methods/changeAbout.md +++ b/docs/TD_docs/methods/changeAbout.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeAbout(['about' => string, ]); +$Ok = $MadelineProto->changeAbout(['about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeAbout -* params - {"about":"string"} +* params - {"about": "string", } ``` @@ -68,6 +68,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Ok = changeAbout({about=string, }) +Ok = changeAbout({about='string', }) ``` diff --git a/docs/TD_docs/methods/changeAccountTtl.md b/docs/TD_docs/methods/changeAccountTtl.md index 725f2194..ce234e3d 100644 --- a/docs/TD_docs/methods/changeAccountTtl.md +++ b/docs/TD_docs/methods/changeAccountTtl.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeAccountTtl -* params - {"ttl":"accountTtl"} +* params - {"ttl": accountTtl, } ``` diff --git a/docs/TD_docs/methods/changeChannelAbout.md b/docs/TD_docs/methods/changeChannelAbout.md index c16e62e7..7bf5922c 100644 --- a/docs/TD_docs/methods/changeChannelAbout.md +++ b/docs/TD_docs/methods/changeChannelAbout.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeChannelAbout(['channel_id' => int, 'about' => string, ]); +$Ok = $MadelineProto->changeChannelAbout(['channel_id' => int, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChannelAbout -* params - {"channel_id":"int","about":"string"} +* params - {"channel_id": int, "about": "string", } ``` @@ -70,6 +70,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Ok = changeChannelAbout({channel_id=int, about=string, }) +Ok = changeChannelAbout({channel_id=int, about='string', }) ``` diff --git a/docs/TD_docs/methods/changeChannelUsername.md b/docs/TD_docs/methods/changeChannelUsername.md index e3d88425..412d43ef 100644 --- a/docs/TD_docs/methods/changeChannelUsername.md +++ b/docs/TD_docs/methods/changeChannelUsername.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeChannelUsername(['channel_id' => int, 'username' => string, ]); +$Ok = $MadelineProto->changeChannelUsername(['channel_id' => int, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChannelUsername -* params - {"channel_id":"int","username":"string"} +* params - {"channel_id": int, "username": "string", } ``` @@ -70,6 +70,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Ok = changeChannelUsername({channel_id=int, username=string, }) +Ok = changeChannelUsername({channel_id=int, username='string', }) ``` diff --git a/docs/TD_docs/methods/changeChatDraftMessage.md b/docs/TD_docs/methods/changeChatDraftMessage.md index 3b831634..2ddd1488 100644 --- a/docs/TD_docs/methods/changeChatDraftMessage.md +++ b/docs/TD_docs/methods/changeChatDraftMessage.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChatDraftMessage -* params - {"chat_id":"InputPeer","draft_message":"draftMessage"} +* params - {"chat_id": InputPeer, "draft_message": draftMessage, } ``` diff --git a/docs/TD_docs/methods/changeChatMemberStatus.md b/docs/TD_docs/methods/changeChatMemberStatus.md index 0e26b12e..ad7f4306 100644 --- a/docs/TD_docs/methods/changeChatMemberStatus.md +++ b/docs/TD_docs/methods/changeChatMemberStatus.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChatMemberStatus -* params - {"chat_id":"InputPeer","user_id":"int","status":"ChatMemberStatus"} +* params - {"chat_id": InputPeer, "user_id": int, "status": ChatMemberStatus, } ``` diff --git a/docs/TD_docs/methods/changeChatPhoto.md b/docs/TD_docs/methods/changeChatPhoto.md index 5412533a..29d03043 100644 --- a/docs/TD_docs/methods/changeChatPhoto.md +++ b/docs/TD_docs/methods/changeChatPhoto.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputFile"} +* params - {"chat_id": InputPeer, "photo": InputFile, } ``` diff --git a/docs/TD_docs/methods/changeChatReportSpamState.md b/docs/TD_docs/methods/changeChatReportSpamState.md index a943f4ea..2a6254e5 100644 --- a/docs/TD_docs/methods/changeChatReportSpamState.md +++ b/docs/TD_docs/methods/changeChatReportSpamState.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChatReportSpamState -* params - {"chat_id":"InputPeer","is_spam_chat":"Bool"} +* params - {"chat_id": InputPeer, "is_spam_chat": Bool, } ``` diff --git a/docs/TD_docs/methods/changeChatTitle.md b/docs/TD_docs/methods/changeChatTitle.md index bf1e8267..e61a55ba 100644 --- a/docs/TD_docs/methods/changeChatTitle.md +++ b/docs/TD_docs/methods/changeChatTitle.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Ok = $MadelineProto->changeChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -70,6 +70,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Ok = changeChatTitle({chat_id=InputPeer, title=string, }) +Ok = changeChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/docs/TD_docs/methods/changeName.md b/docs/TD_docs/methods/changeName.md index a8e06853..a0e98033 100644 --- a/docs/TD_docs/methods/changeName.md +++ b/docs/TD_docs/methods/changeName.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeName(['first_name' => string, 'last_name' => string, ]); +$Ok = $MadelineProto->changeName(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeName -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -70,6 +70,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -Ok = changeName({first_name=string, last_name=string, }) +Ok = changeName({first_name='string', last_name='string', }) ``` diff --git a/docs/TD_docs/methods/changePhoneNumber.md b/docs/TD_docs/methods/changePhoneNumber.md index e73b29b4..63277835 100644 --- a/docs/TD_docs/methods/changePhoneNumber.md +++ b/docs/TD_docs/methods/changePhoneNumber.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->changePhoneNumber(['phone_number' => string, 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); +$AuthState = $MadelineProto->changePhoneNumber(['phone_number' => 'string', 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changePhoneNumber -* params - {"phone_number":"string","allow_flash_call":"Bool","is_current_phone_number":"Bool"} +* params - {"phone_number": "string", "allow_flash_call": Bool, "is_current_phone_number": Bool, } ``` @@ -72,6 +72,6 @@ is_current_phone_number - Json encoded Bool Or, if you're into Lua: ``` -AuthState = changePhoneNumber({phone_number=string, allow_flash_call=Bool, is_current_phone_number=Bool, }) +AuthState = changePhoneNumber({phone_number='string', allow_flash_call=Bool, is_current_phone_number=Bool, }) ``` diff --git a/docs/TD_docs/methods/changeUsername.md b/docs/TD_docs/methods/changeUsername.md index 6b483895..9879c582 100644 --- a/docs/TD_docs/methods/changeUsername.md +++ b/docs/TD_docs/methods/changeUsername.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->changeUsername(['username' => string, ]); +$Ok = $MadelineProto->changeUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - changeUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -68,6 +68,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Ok = changeUsername({username=string, }) +Ok = changeUsername({username='string', }) ``` diff --git a/docs/TD_docs/methods/checkAuthBotToken.md b/docs/TD_docs/methods/checkAuthBotToken.md index a31c83c3..19d8077b 100644 --- a/docs/TD_docs/methods/checkAuthBotToken.md +++ b/docs/TD_docs/methods/checkAuthBotToken.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->checkAuthBotToken(['token' => string, ]); +$AuthState = $MadelineProto->checkAuthBotToken(['token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - checkAuthBotToken -* params - {"token":"string"} +* params - {"token": "string", } ``` @@ -68,6 +68,6 @@ token - Json encoded string Or, if you're into Lua: ``` -AuthState = checkAuthBotToken({token=string, }) +AuthState = checkAuthBotToken({token='string', }) ``` diff --git a/docs/TD_docs/methods/checkAuthCode.md b/docs/TD_docs/methods/checkAuthCode.md index b99d86f1..320c786f 100644 --- a/docs/TD_docs/methods/checkAuthCode.md +++ b/docs/TD_docs/methods/checkAuthCode.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->checkAuthCode(['code' => string, 'first_name' => string, 'last_name' => string, ]); +$AuthState = $MadelineProto->checkAuthCode(['code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - checkAuthCode -* params - {"code":"string","first_name":"string","last_name":"string"} +* params - {"code": "string", "first_name": "string", "last_name": "string", } ``` @@ -72,6 +72,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -AuthState = checkAuthCode({code=string, first_name=string, last_name=string, }) +AuthState = checkAuthCode({code='string', first_name='string', last_name='string', }) ``` diff --git a/docs/TD_docs/methods/checkAuthPassword.md b/docs/TD_docs/methods/checkAuthPassword.md index ae721bfd..98e5e2bd 100644 --- a/docs/TD_docs/methods/checkAuthPassword.md +++ b/docs/TD_docs/methods/checkAuthPassword.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->checkAuthPassword(['password' => string, ]); +$AuthState = $MadelineProto->checkAuthPassword(['password' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - checkAuthPassword -* params - {"password":"string"} +* params - {"password": "string", } ``` @@ -68,6 +68,6 @@ password - Json encoded string Or, if you're into Lua: ``` -AuthState = checkAuthPassword({password=string, }) +AuthState = checkAuthPassword({password='string', }) ``` diff --git a/docs/TD_docs/methods/checkChangePhoneNumberCode.md b/docs/TD_docs/methods/checkChangePhoneNumberCode.md index 998ccc22..ac29449b 100644 --- a/docs/TD_docs/methods/checkChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/checkChangePhoneNumberCode.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->checkChangePhoneNumberCode(['code' => string, ]); +$AuthState = $MadelineProto->checkChangePhoneNumberCode(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - checkChangePhoneNumberCode -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -68,6 +68,6 @@ code - Json encoded string Or, if you're into Lua: ``` -AuthState = checkChangePhoneNumberCode({code=string, }) +AuthState = checkChangePhoneNumberCode({code='string', }) ``` diff --git a/docs/TD_docs/methods/checkChatInviteLink.md b/docs/TD_docs/methods/checkChatInviteLink.md index dcc53db6..89f245fb 100644 --- a/docs/TD_docs/methods/checkChatInviteLink.md +++ b/docs/TD_docs/methods/checkChatInviteLink.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInviteLinkInfo = $MadelineProto->checkChatInviteLink(['invite_link' => string, ]); +$ChatInviteLinkInfo = $MadelineProto->checkChatInviteLink(['invite_link' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - checkChatInviteLink -* params - {"invite_link":"string"} +* params - {"invite_link": "string", } ``` @@ -68,6 +68,6 @@ invite_link - Json encoded string Or, if you're into Lua: ``` -ChatInviteLinkInfo = checkChatInviteLink({invite_link=string, }) +ChatInviteLinkInfo = checkChatInviteLink({invite_link='string', }) ``` diff --git a/docs/TD_docs/methods/clearRecentStickers.md b/docs/TD_docs/methods/clearRecentStickers.md index 29fc4db7..5e8f9774 100644 --- a/docs/TD_docs/methods/clearRecentStickers.md +++ b/docs/TD_docs/methods/clearRecentStickers.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - clearRecentStickers -* params - {"is_attached":"Bool"} +* params - {"is_attached": Bool, } ``` diff --git a/docs/TD_docs/methods/closeChat.md b/docs/TD_docs/methods/closeChat.md index f5af2363..13885306 100644 --- a/docs/TD_docs/methods/closeChat.md +++ b/docs/TD_docs/methods/closeChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - closeChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/closeSecretChat.md b/docs/TD_docs/methods/closeSecretChat.md index dd44c7b7..1d201790 100644 --- a/docs/TD_docs/methods/closeSecretChat.md +++ b/docs/TD_docs/methods/closeSecretChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - closeSecretChat -* params - {"secret_chat_id":"int"} +* params - {"secret_chat_id": int, } ``` diff --git a/docs/TD_docs/methods/createChannelChat.md b/docs/TD_docs/methods/createChannelChat.md index 0b8e47d7..6eb9f284 100644 --- a/docs/TD_docs/methods/createChannelChat.md +++ b/docs/TD_docs/methods/createChannelChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createChannelChat -* params - {"channel_id":"int"} +* params - {"channel_id": int, } ``` diff --git a/docs/TD_docs/methods/createGroupChat.md b/docs/TD_docs/methods/createGroupChat.md index 82bed6cf..1feec303 100644 --- a/docs/TD_docs/methods/createGroupChat.md +++ b/docs/TD_docs/methods/createGroupChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createGroupChat -* params - {"group_id":"int"} +* params - {"group_id": int, } ``` diff --git a/docs/TD_docs/methods/createNewChannelChat.md b/docs/TD_docs/methods/createNewChannelChat.md index 057a100e..25ccf85b 100644 --- a/docs/TD_docs/methods/createNewChannelChat.md +++ b/docs/TD_docs/methods/createNewChannelChat.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Chat = $MadelineProto->createNewChannelChat(['title' => string, 'is_supergroup' => Bool, 'about' => string, ]); +$Chat = $MadelineProto->createNewChannelChat(['title' => 'string', 'is_supergroup' => Bool, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createNewChannelChat -* params - {"title":"string","is_supergroup":"Bool","about":"string"} +* params - {"title": "string", "is_supergroup": Bool, "about": "string", } ``` @@ -72,6 +72,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Chat = createNewChannelChat({title=string, is_supergroup=Bool, about=string, }) +Chat = createNewChannelChat({title='string', is_supergroup=Bool, about='string', }) ``` diff --git a/docs/TD_docs/methods/createNewGroupChat.md b/docs/TD_docs/methods/createNewGroupChat.md index 1d7220a9..3cbc8afa 100644 --- a/docs/TD_docs/methods/createNewGroupChat.md +++ b/docs/TD_docs/methods/createNewGroupChat.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Chat = $MadelineProto->createNewGroupChat(['user_ids' => [int], 'title' => string, ]); +$Chat = $MadelineProto->createNewGroupChat(['user_ids' => [int], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createNewGroupChat -* params - {"user_ids":["int"],"title":"string"} +* params - {"user_ids": [int], "title": "string", } ``` @@ -70,6 +70,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Chat = createNewGroupChat({user_ids={int}, title=string, }) +Chat = createNewGroupChat({user_ids={int}, title='string', }) ``` diff --git a/docs/TD_docs/methods/createNewSecretChat.md b/docs/TD_docs/methods/createNewSecretChat.md index 31213e44..2fe5bac0 100644 --- a/docs/TD_docs/methods/createNewSecretChat.md +++ b/docs/TD_docs/methods/createNewSecretChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createNewSecretChat -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/createPrivateChat.md b/docs/TD_docs/methods/createPrivateChat.md index 56366275..1fa8238d 100644 --- a/docs/TD_docs/methods/createPrivateChat.md +++ b/docs/TD_docs/methods/createPrivateChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createPrivateChat -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/createSecretChat.md b/docs/TD_docs/methods/createSecretChat.md index 0c8e5891..1997b982 100644 --- a/docs/TD_docs/methods/createSecretChat.md +++ b/docs/TD_docs/methods/createSecretChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - createSecretChat -* params - {"secret_chat_id":"int"} +* params - {"secret_chat_id": int, } ``` diff --git a/docs/TD_docs/methods/deleteAccount.md b/docs/TD_docs/methods/deleteAccount.md index c0f54392..64416587 100644 --- a/docs/TD_docs/methods/deleteAccount.md +++ b/docs/TD_docs/methods/deleteAccount.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->deleteAccount(['reason' => string, ]); +$Ok = $MadelineProto->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -68,6 +68,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Ok = deleteAccount({reason=string, }) +Ok = deleteAccount({reason='string', }) ``` diff --git a/docs/TD_docs/methods/deleteChannel.md b/docs/TD_docs/methods/deleteChannel.md index 60b83108..6706ac4d 100644 --- a/docs/TD_docs/methods/deleteChannel.md +++ b/docs/TD_docs/methods/deleteChannel.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteChannel -* params - {"channel_id":"int"} +* params - {"channel_id": int, } ``` diff --git a/docs/TD_docs/methods/deleteChatHistory.md b/docs/TD_docs/methods/deleteChatHistory.md index 42c23a80..2ca89192 100644 --- a/docs/TD_docs/methods/deleteChatHistory.md +++ b/docs/TD_docs/methods/deleteChatHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteChatHistory -* params - {"chat_id":"InputPeer","remove_from_chat_list":"Bool"} +* params - {"chat_id": InputPeer, "remove_from_chat_list": Bool, } ``` diff --git a/docs/TD_docs/methods/deleteChatReplyMarkup.md b/docs/TD_docs/methods/deleteChatReplyMarkup.md index f01f9c72..69a6b9d0 100644 --- a/docs/TD_docs/methods/deleteChatReplyMarkup.md +++ b/docs/TD_docs/methods/deleteChatReplyMarkup.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteChatReplyMarkup -* params - {"chat_id":"InputPeer","message_id":"long"} +* params - {"chat_id": InputPeer, "message_id": long, } ``` diff --git a/docs/TD_docs/methods/deleteContacts.md b/docs/TD_docs/methods/deleteContacts.md index 8e4ac7d0..2d802b74 100644 --- a/docs/TD_docs/methods/deleteContacts.md +++ b/docs/TD_docs/methods/deleteContacts.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteContacts -* params - {"user_ids":["int"]} +* params - {"user_ids": [int], } ``` diff --git a/docs/TD_docs/methods/deleteMessages.md b/docs/TD_docs/methods/deleteMessages.md index f619d05f..4f5d0d2a 100644 --- a/docs/TD_docs/methods/deleteMessages.md +++ b/docs/TD_docs/methods/deleteMessages.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteMessages -* params - {"chat_id":"InputPeer","message_ids":["long"]} +* params - {"chat_id": InputPeer, "message_ids": [long], } ``` diff --git a/docs/TD_docs/methods/deleteMessagesFromUser.md b/docs/TD_docs/methods/deleteMessagesFromUser.md index 5b56110b..deddd518 100644 --- a/docs/TD_docs/methods/deleteMessagesFromUser.md +++ b/docs/TD_docs/methods/deleteMessagesFromUser.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteMessagesFromUser -* params - {"chat_id":"InputPeer","user_id":"int"} +* params - {"chat_id": InputPeer, "user_id": int, } ``` diff --git a/docs/TD_docs/methods/deleteProfilePhoto.md b/docs/TD_docs/methods/deleteProfilePhoto.md index 8d91461f..cfaacdae 100644 --- a/docs/TD_docs/methods/deleteProfilePhoto.md +++ b/docs/TD_docs/methods/deleteProfilePhoto.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteProfilePhoto -* params - {"profile_photo_id":"long"} +* params - {"profile_photo_id": long, } ``` diff --git a/docs/TD_docs/methods/deleteRecentSticker.md b/docs/TD_docs/methods/deleteRecentSticker.md index e087d3ef..babd634c 100644 --- a/docs/TD_docs/methods/deleteRecentSticker.md +++ b/docs/TD_docs/methods/deleteRecentSticker.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteRecentSticker -* params - {"is_attached":"Bool","sticker":"InputFile"} +* params - {"is_attached": Bool, "sticker": InputFile, } ``` diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChat.md b/docs/TD_docs/methods/deleteRecentlyFoundChat.md index bf6d4933..390bbab3 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChat.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteRecentlyFoundChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChats.md b/docs/TD_docs/methods/deleteRecentlyFoundChats.md index 6552c89f..2a47eef0 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChats.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChats.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteRecentlyFoundChats -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/deleteSavedAnimation.md b/docs/TD_docs/methods/deleteSavedAnimation.md index 7d6e9e65..7d35d547 100644 --- a/docs/TD_docs/methods/deleteSavedAnimation.md +++ b/docs/TD_docs/methods/deleteSavedAnimation.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - deleteSavedAnimation -* params - {"animation":"InputFile"} +* params - {"animation": InputFile, } ``` diff --git a/docs/TD_docs/methods/downloadFile.md b/docs/TD_docs/methods/downloadFile.md index b56bf5ce..e1119abb 100644 --- a/docs/TD_docs/methods/downloadFile.md +++ b/docs/TD_docs/methods/downloadFile.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - downloadFile -* params - {"file_id":"int"} +* params - {"file_id": int, } ``` diff --git a/docs/TD_docs/methods/editInlineMessageCaption.md b/docs/TD_docs/methods/editInlineMessageCaption.md index 0a774690..fa838102 100644 --- a/docs/TD_docs/methods/editInlineMessageCaption.md +++ b/docs/TD_docs/methods/editInlineMessageCaption.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->editInlineMessageCaption(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, 'caption' => string, ]); +$Ok = $MadelineProto->editInlineMessageCaption(['inline_message_id' => 'string', 'reply_markup' => ReplyMarkup, 'caption' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editInlineMessageCaption -* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup","caption":"string"} +* params - {"inline_message_id": "string", "reply_markup": ReplyMarkup, "caption": "string", } ``` @@ -72,7 +72,7 @@ caption - Json encoded string Or, if you're into Lua: ``` -Ok = editInlineMessageCaption({inline_message_id=string, reply_markup=ReplyMarkup, caption=string, }) +Ok = editInlineMessageCaption({inline_message_id='string', reply_markup=ReplyMarkup, caption='string', }) ``` diff --git a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md index 54b59445..58857754 100644 --- a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->editInlineMessageReplyMarkup(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, ]); +$Ok = $MadelineProto->editInlineMessageReplyMarkup(['inline_message_id' => 'string', 'reply_markup' => ReplyMarkup, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editInlineMessageReplyMarkup -* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup"} +* params - {"inline_message_id": "string", "reply_markup": ReplyMarkup, } ``` @@ -70,7 +70,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: ``` -Ok = editInlineMessageReplyMarkup({inline_message_id=string, reply_markup=ReplyMarkup, }) +Ok = editInlineMessageReplyMarkup({inline_message_id='string', reply_markup=ReplyMarkup, }) ``` diff --git a/docs/TD_docs/methods/editInlineMessageText.md b/docs/TD_docs/methods/editInlineMessageText.md index 4253dc37..312daed0 100644 --- a/docs/TD_docs/methods/editInlineMessageText.md +++ b/docs/TD_docs/methods/editInlineMessageText.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->editInlineMessageText(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]); +$Ok = $MadelineProto->editInlineMessageText(['inline_message_id' => 'string', 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editInlineMessageText -* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +* params - {"inline_message_id": "string", "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent, } ``` @@ -72,7 +72,7 @@ input_message_content - Json encoded InputMessageContent Or, if you're into Lua: ``` -Ok = editInlineMessageText({inline_message_id=string, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, }) +Ok = editInlineMessageText({inline_message_id='string', reply_markup=ReplyMarkup, input_message_content=InputMessageContent, }) ``` diff --git a/docs/TD_docs/methods/editMessageCaption.md b/docs/TD_docs/methods/editMessageCaption.md index 3250770d..400ed730 100644 --- a/docs/TD_docs/methods/editMessageCaption.md +++ b/docs/TD_docs/methods/editMessageCaption.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Message = $MadelineProto->editMessageCaption(['chat_id' => InputPeer, 'message_id' => long, 'reply_markup' => ReplyMarkup, 'caption' => string, ]); +$Message = $MadelineProto->editMessageCaption(['chat_id' => InputPeer, 'message_id' => long, 'reply_markup' => ReplyMarkup, 'caption' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editMessageCaption -* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup","caption":"string"} +* params - {"chat_id": InputPeer, "message_id": long, "reply_markup": ReplyMarkup, "caption": "string", } ``` @@ -74,7 +74,7 @@ caption - Json encoded string Or, if you're into Lua: ``` -Message = editMessageCaption({chat_id=InputPeer, message_id=long, reply_markup=ReplyMarkup, caption=string, }) +Message = editMessageCaption({chat_id=InputPeer, message_id=long, reply_markup=ReplyMarkup, caption='string', }) ``` diff --git a/docs/TD_docs/methods/editMessageReplyMarkup.md b/docs/TD_docs/methods/editMessageReplyMarkup.md index 0cb38402..0ea1e13f 100644 --- a/docs/TD_docs/methods/editMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editMessageReplyMarkup.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editMessageReplyMarkup -* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup"} +* params - {"chat_id": InputPeer, "message_id": long, "reply_markup": ReplyMarkup, } ``` diff --git a/docs/TD_docs/methods/editMessageText.md b/docs/TD_docs/methods/editMessageText.md index 42468a84..84b13ea7 100644 --- a/docs/TD_docs/methods/editMessageText.md +++ b/docs/TD_docs/methods/editMessageText.md @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - editMessageText -* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +* params - {"chat_id": InputPeer, "message_id": long, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent, } ``` diff --git a/docs/TD_docs/methods/exportChatInviteLink.md b/docs/TD_docs/methods/exportChatInviteLink.md index 38c3c5d2..5e765fa0 100644 --- a/docs/TD_docs/methods/exportChatInviteLink.md +++ b/docs/TD_docs/methods/exportChatInviteLink.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - exportChatInviteLink -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/finishFileGeneration.md b/docs/TD_docs/methods/finishFileGeneration.md index b5d520d7..ddbca4b8 100644 --- a/docs/TD_docs/methods/finishFileGeneration.md +++ b/docs/TD_docs/methods/finishFileGeneration.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - finishFileGeneration -* params - {"generation_id":"long"} +* params - {"generation_id": long, } ``` diff --git a/docs/TD_docs/methods/forwardMessages.md b/docs/TD_docs/methods/forwardMessages.md index a07eb352..eb2e32be 100644 --- a/docs/TD_docs/methods/forwardMessages.md +++ b/docs/TD_docs/methods/forwardMessages.md @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - forwardMessages -* params - {"chat_id":"InputPeer","from_chat_id":"long","message_ids":["long"],"disable_notification":"Bool","from_background":"Bool"} +* params - {"chat_id": InputPeer, "from_chat_id": long, "message_ids": [long], "disable_notification": Bool, "from_background": Bool, } ``` diff --git a/docs/TD_docs/methods/getAccountTtl.md b/docs/TD_docs/methods/getAccountTtl.md index aa44bf4b..86837340 100644 --- a/docs/TD_docs/methods/getAccountTtl.md +++ b/docs/TD_docs/methods/getAccountTtl.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getAccountTtl -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getActiveSessions.md b/docs/TD_docs/methods/getActiveSessions.md index 4822dbff..65a1f93e 100644 --- a/docs/TD_docs/methods/getActiveSessions.md +++ b/docs/TD_docs/methods/getActiveSessions.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getActiveSessions -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getArchivedStickerSets.md b/docs/TD_docs/methods/getArchivedStickerSets.md index 7fb5bdfb..501470be 100644 --- a/docs/TD_docs/methods/getArchivedStickerSets.md +++ b/docs/TD_docs/methods/getArchivedStickerSets.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getArchivedStickerSets -* params - {"is_masks":"Bool","offset_sticker_set_id":"long","limit":"int"} +* params - {"is_masks": Bool, "offset_sticker_set_id": long, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getAttachedStickerSets.md b/docs/TD_docs/methods/getAttachedStickerSets.md index 779da702..00b0a1e5 100644 --- a/docs/TD_docs/methods/getAttachedStickerSets.md +++ b/docs/TD_docs/methods/getAttachedStickerSets.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getAttachedStickerSets -* params - {"file_id":"int"} +* params - {"file_id": int, } ``` diff --git a/docs/TD_docs/methods/getAuthState.md b/docs/TD_docs/methods/getAuthState.md index 7ba05298..832a3de9 100644 --- a/docs/TD_docs/methods/getAuthState.md +++ b/docs/TD_docs/methods/getAuthState.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getAuthState -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getBlockedUsers.md b/docs/TD_docs/methods/getBlockedUsers.md index 5d1965c2..a5e3522b 100644 --- a/docs/TD_docs/methods/getBlockedUsers.md +++ b/docs/TD_docs/methods/getBlockedUsers.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getBlockedUsers -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getCallbackQueryAnswer.md b/docs/TD_docs/methods/getCallbackQueryAnswer.md index 3e985229..6036081d 100644 --- a/docs/TD_docs/methods/getCallbackQueryAnswer.md +++ b/docs/TD_docs/methods/getCallbackQueryAnswer.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getCallbackQueryAnswer -* params - {"chat_id":"InputPeer","message_id":"long","payload":"CallbackQueryPayload"} +* params - {"chat_id": InputPeer, "message_id": long, "payload": CallbackQueryPayload, } ``` diff --git a/docs/TD_docs/methods/getChannel.md b/docs/TD_docs/methods/getChannel.md index ed22c5ee..8bd6faa9 100644 --- a/docs/TD_docs/methods/getChannel.md +++ b/docs/TD_docs/methods/getChannel.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChannel -* params - {"channel_id":"int"} +* params - {"channel_id": int, } ``` diff --git a/docs/TD_docs/methods/getChannelFull.md b/docs/TD_docs/methods/getChannelFull.md index 5a217739..24bf7a7a 100644 --- a/docs/TD_docs/methods/getChannelFull.md +++ b/docs/TD_docs/methods/getChannelFull.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChannelFull -* params - {"channel_id":"int"} +* params - {"channel_id": int, } ``` diff --git a/docs/TD_docs/methods/getChannelMembers.md b/docs/TD_docs/methods/getChannelMembers.md index 1160bfc6..1eb968d7 100644 --- a/docs/TD_docs/methods/getChannelMembers.md +++ b/docs/TD_docs/methods/getChannelMembers.md @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChannelMembers -* params - {"channel_id":"int","filter":"ChannelMembersFilter","offset":"int","limit":"int"} +* params - {"channel_id": int, "filter": ChannelMembersFilter, "offset": int, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getChat.md b/docs/TD_docs/methods/getChat.md index 3273a02a..a547006d 100644 --- a/docs/TD_docs/methods/getChat.md +++ b/docs/TD_docs/methods/getChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/getChatHistory.md b/docs/TD_docs/methods/getChatHistory.md index 0f55b564..bcbdbf89 100644 --- a/docs/TD_docs/methods/getChatHistory.md +++ b/docs/TD_docs/methods/getChatHistory.md @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChatHistory -* params - {"chat_id":"InputPeer","from_message_id":"long","offset":"int","limit":"int"} +* params - {"chat_id": InputPeer, "from_message_id": long, "offset": int, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getChatMember.md b/docs/TD_docs/methods/getChatMember.md index 5bac97bb..85af0d16 100644 --- a/docs/TD_docs/methods/getChatMember.md +++ b/docs/TD_docs/methods/getChatMember.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChatMember -* params - {"chat_id":"InputPeer","user_id":"int"} +* params - {"chat_id": InputPeer, "user_id": int, } ``` diff --git a/docs/TD_docs/methods/getChatReportSpamState.md b/docs/TD_docs/methods/getChatReportSpamState.md index 32d0b169..70a3d319 100644 --- a/docs/TD_docs/methods/getChatReportSpamState.md +++ b/docs/TD_docs/methods/getChatReportSpamState.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChatReportSpamState -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/getChats.md b/docs/TD_docs/methods/getChats.md index c0d770f8..cce9027e 100644 --- a/docs/TD_docs/methods/getChats.md +++ b/docs/TD_docs/methods/getChats.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getChats -* params - {"offset_order":"long","offset_chat_id":"long","limit":"int"} +* params - {"offset_order": long, "offset_chat_id": long, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getCommonChats.md b/docs/TD_docs/methods/getCommonChats.md index 98d0f4d2..de02ed3b 100644 --- a/docs/TD_docs/methods/getCommonChats.md +++ b/docs/TD_docs/methods/getCommonChats.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getCommonChats -* params - {"user_id":"int","offset_chat_id":"long","limit":"int"} +* params - {"user_id": int, "offset_chat_id": long, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getCreatedPublicChannels.md b/docs/TD_docs/methods/getCreatedPublicChannels.md index d171c84d..ded6eb82 100644 --- a/docs/TD_docs/methods/getCreatedPublicChannels.md +++ b/docs/TD_docs/methods/getCreatedPublicChannels.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getCreatedPublicChannels -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getDeviceTokens.md b/docs/TD_docs/methods/getDeviceTokens.md index 5eb453bc..2806d120 100644 --- a/docs/TD_docs/methods/getDeviceTokens.md +++ b/docs/TD_docs/methods/getDeviceTokens.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getDeviceTokens -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getFile.md b/docs/TD_docs/methods/getFile.md index 3077769d..a03d86df 100644 --- a/docs/TD_docs/methods/getFile.md +++ b/docs/TD_docs/methods/getFile.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getFile -* params - {"file_id":"int"} +* params - {"file_id": int, } ``` diff --git a/docs/TD_docs/methods/getFilePersistent.md b/docs/TD_docs/methods/getFilePersistent.md index bc70b77b..12140549 100644 --- a/docs/TD_docs/methods/getFilePersistent.md +++ b/docs/TD_docs/methods/getFilePersistent.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$File = $MadelineProto->getFilePersistent(['persistent_file_id' => string, ]); +$File = $MadelineProto->getFilePersistent(['persistent_file_id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getFilePersistent -* params - {"persistent_file_id":"string"} +* params - {"persistent_file_id": "string", } ``` @@ -68,6 +68,6 @@ persistent_file_id - Json encoded string Or, if you're into Lua: ``` -File = getFilePersistent({persistent_file_id=string, }) +File = getFilePersistent({persistent_file_id='string', }) ``` diff --git a/docs/TD_docs/methods/getGameHighScores.md b/docs/TD_docs/methods/getGameHighScores.md index 2e2af7f0..336b7740 100644 --- a/docs/TD_docs/methods/getGameHighScores.md +++ b/docs/TD_docs/methods/getGameHighScores.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getGameHighScores -* params - {"chat_id":"InputPeer","message_id":"long","user_id":"int"} +* params - {"chat_id": InputPeer, "message_id": long, "user_id": int, } ``` diff --git a/docs/TD_docs/methods/getGroup.md b/docs/TD_docs/methods/getGroup.md index 0c78c2b9..0837ddbd 100644 --- a/docs/TD_docs/methods/getGroup.md +++ b/docs/TD_docs/methods/getGroup.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getGroup -* params - {"group_id":"int"} +* params - {"group_id": int, } ``` diff --git a/docs/TD_docs/methods/getGroupFull.md b/docs/TD_docs/methods/getGroupFull.md index 7254b11f..b3c1a407 100644 --- a/docs/TD_docs/methods/getGroupFull.md +++ b/docs/TD_docs/methods/getGroupFull.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getGroupFull -* params - {"group_id":"int"} +* params - {"group_id": int, } ``` diff --git a/docs/TD_docs/methods/getInlineGameHighScores.md b/docs/TD_docs/methods/getInlineGameHighScores.md index 555d5db2..bddd5687 100644 --- a/docs/TD_docs/methods/getInlineGameHighScores.md +++ b/docs/TD_docs/methods/getInlineGameHighScores.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$GameHighScores = $MadelineProto->getInlineGameHighScores(['inline_message_id' => string, 'user_id' => int, ]); +$GameHighScores = $MadelineProto->getInlineGameHighScores(['inline_message_id' => 'string', 'user_id' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getInlineGameHighScores -* params - {"inline_message_id":"string","user_id":"int"} +* params - {"inline_message_id": "string", "user_id": int, } ``` @@ -70,6 +70,6 @@ user_id - Json encoded int Or, if you're into Lua: ``` -GameHighScores = getInlineGameHighScores({inline_message_id=string, user_id=int, }) +GameHighScores = getInlineGameHighScores({inline_message_id='string', user_id=int, }) ``` diff --git a/docs/TD_docs/methods/getInlineQueryResults.md b/docs/TD_docs/methods/getInlineQueryResults.md index 64addf1f..6a7c2049 100644 --- a/docs/TD_docs/methods/getInlineQueryResults.md +++ b/docs/TD_docs/methods/getInlineQueryResults.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$InlineQueryResults = $MadelineProto->getInlineQueryResults(['bot_user_id' => int, 'chat_id' => InputPeer, 'user_location' => location, 'query' => string, 'offset' => string, ]); +$InlineQueryResults = $MadelineProto->getInlineQueryResults(['bot_user_id' => int, 'chat_id' => InputPeer, 'user_location' => location, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getInlineQueryResults -* params - {"bot_user_id":"int","chat_id":"InputPeer","user_location":"location","query":"string","offset":"string"} +* params - {"bot_user_id": int, "chat_id": InputPeer, "user_location": location, "query": "string", "offset": "string", } ``` @@ -76,6 +76,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -InlineQueryResults = getInlineQueryResults({bot_user_id=int, chat_id=InputPeer, user_location=location, query=string, offset=string, }) +InlineQueryResults = getInlineQueryResults({bot_user_id=int, chat_id=InputPeer, user_location=location, query='string', offset='string', }) ``` diff --git a/docs/TD_docs/methods/getMe.md b/docs/TD_docs/methods/getMe.md index 528a338f..1a36a7f2 100644 --- a/docs/TD_docs/methods/getMe.md +++ b/docs/TD_docs/methods/getMe.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getMe -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getMessage.md b/docs/TD_docs/methods/getMessage.md index 2afb0acd..eb9185a0 100644 --- a/docs/TD_docs/methods/getMessage.md +++ b/docs/TD_docs/methods/getMessage.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getMessage -* params - {"chat_id":"InputPeer","message_id":"long"} +* params - {"chat_id": InputPeer, "message_id": long, } ``` diff --git a/docs/TD_docs/methods/getMessages.md b/docs/TD_docs/methods/getMessages.md index f4f2c121..1ee13ff1 100644 --- a/docs/TD_docs/methods/getMessages.md +++ b/docs/TD_docs/methods/getMessages.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getMessages -* params - {"chat_id":"InputPeer","message_ids":["long"]} +* params - {"chat_id": InputPeer, "message_ids": [long], } ``` diff --git a/docs/TD_docs/methods/getNotificationSettings.md b/docs/TD_docs/methods/getNotificationSettings.md index 416de7fc..171811f2 100644 --- a/docs/TD_docs/methods/getNotificationSettings.md +++ b/docs/TD_docs/methods/getNotificationSettings.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getNotificationSettings -* params - {"scope":"NotificationSettingsScope"} +* params - {"scope": NotificationSettingsScope, } ``` diff --git a/docs/TD_docs/methods/getOption.md b/docs/TD_docs/methods/getOption.md index e9d8c7ca..cd5e19f2 100644 --- a/docs/TD_docs/methods/getOption.md +++ b/docs/TD_docs/methods/getOption.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$OptionValue = $MadelineProto->getOption(['name' => string, ]); +$OptionValue = $MadelineProto->getOption(['name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getOption -* params - {"name":"string"} +* params - {"name": "string", } ``` @@ -68,6 +68,6 @@ name - Json encoded string Or, if you're into Lua: ``` -OptionValue = getOption({name=string, }) +OptionValue = getOption({name='string', }) ``` diff --git a/docs/TD_docs/methods/getPasswordState.md b/docs/TD_docs/methods/getPasswordState.md index 8648c5f1..719c818f 100644 --- a/docs/TD_docs/methods/getPasswordState.md +++ b/docs/TD_docs/methods/getPasswordState.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getPasswordState -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getPrivacy.md b/docs/TD_docs/methods/getPrivacy.md index 371627ef..8b1b7361 100644 --- a/docs/TD_docs/methods/getPrivacy.md +++ b/docs/TD_docs/methods/getPrivacy.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getPrivacy -* params - {"key":"PrivacyKey"} +* params - {"key": PrivacyKey, } ``` diff --git a/docs/TD_docs/methods/getRecentInlineBots.md b/docs/TD_docs/methods/getRecentInlineBots.md index efd49cac..9d7531d0 100644 --- a/docs/TD_docs/methods/getRecentInlineBots.md +++ b/docs/TD_docs/methods/getRecentInlineBots.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getRecentInlineBots -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getRecentStickers.md b/docs/TD_docs/methods/getRecentStickers.md index 5c15546b..e95f71ba 100644 --- a/docs/TD_docs/methods/getRecentStickers.md +++ b/docs/TD_docs/methods/getRecentStickers.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getRecentStickers -* params - {"is_attached":"Bool"} +* params - {"is_attached": Bool, } ``` diff --git a/docs/TD_docs/methods/getRecoveryEmail.md b/docs/TD_docs/methods/getRecoveryEmail.md index 8cc5f35f..b93f99fe 100644 --- a/docs/TD_docs/methods/getRecoveryEmail.md +++ b/docs/TD_docs/methods/getRecoveryEmail.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$RecoveryEmail = $MadelineProto->getRecoveryEmail(['password' => string, ]); +$RecoveryEmail = $MadelineProto->getRecoveryEmail(['password' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getRecoveryEmail -* params - {"password":"string"} +* params - {"password": "string", } ``` @@ -68,6 +68,6 @@ password - Json encoded string Or, if you're into Lua: ``` -RecoveryEmail = getRecoveryEmail({password=string, }) +RecoveryEmail = getRecoveryEmail({password='string', }) ``` diff --git a/docs/TD_docs/methods/getSavedAnimations.md b/docs/TD_docs/methods/getSavedAnimations.md index 5e86e1a9..cc486798 100644 --- a/docs/TD_docs/methods/getSavedAnimations.md +++ b/docs/TD_docs/methods/getSavedAnimations.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getSavedAnimations -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getSecretChat.md b/docs/TD_docs/methods/getSecretChat.md index fbea741a..acff066a 100644 --- a/docs/TD_docs/methods/getSecretChat.md +++ b/docs/TD_docs/methods/getSecretChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getSecretChat -* params - {"secret_chat_id":"int"} +* params - {"secret_chat_id": int, } ``` diff --git a/docs/TD_docs/methods/getStickerEmojis.md b/docs/TD_docs/methods/getStickerEmojis.md index 80d9d29e..349b942d 100644 --- a/docs/TD_docs/methods/getStickerEmojis.md +++ b/docs/TD_docs/methods/getStickerEmojis.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getStickerEmojis -* params - {"sticker":"InputFile"} +* params - {"sticker": InputFile, } ``` diff --git a/docs/TD_docs/methods/getStickerSet.md b/docs/TD_docs/methods/getStickerSet.md index 9f56a1cb..a01ba21b 100644 --- a/docs/TD_docs/methods/getStickerSet.md +++ b/docs/TD_docs/methods/getStickerSet.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getStickerSet -* params - {"set_id":"long"} +* params - {"set_id": long, } ``` diff --git a/docs/TD_docs/methods/getStickerSets.md b/docs/TD_docs/methods/getStickerSets.md index b3ccf110..7b07f85a 100644 --- a/docs/TD_docs/methods/getStickerSets.md +++ b/docs/TD_docs/methods/getStickerSets.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getStickerSets -* params - {"is_masks":"Bool"} +* params - {"is_masks": Bool, } ``` diff --git a/docs/TD_docs/methods/getStickers.md b/docs/TD_docs/methods/getStickers.md index 79b80505..81f7d7e8 100644 --- a/docs/TD_docs/methods/getStickers.md +++ b/docs/TD_docs/methods/getStickers.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Stickers = $MadelineProto->getStickers(['emoji' => string, ]); +$Stickers = $MadelineProto->getStickers(['emoji' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getStickers -* params - {"emoji":"string"} +* params - {"emoji": "string", } ``` @@ -68,6 +68,6 @@ emoji - Json encoded string Or, if you're into Lua: ``` -Stickers = getStickers({emoji=string, }) +Stickers = getStickers({emoji='string', }) ``` diff --git a/docs/TD_docs/methods/getSupportUser.md b/docs/TD_docs/methods/getSupportUser.md index a612422e..2fb0bbdb 100644 --- a/docs/TD_docs/methods/getSupportUser.md +++ b/docs/TD_docs/methods/getSupportUser.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getSupportUser -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getTrendingStickerSets.md b/docs/TD_docs/methods/getTrendingStickerSets.md index 4bf3332d..d43646e7 100644 --- a/docs/TD_docs/methods/getTrendingStickerSets.md +++ b/docs/TD_docs/methods/getTrendingStickerSets.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getTrendingStickerSets -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getUser.md b/docs/TD_docs/methods/getUser.md index d1cda5d2..7c9e9d4c 100644 --- a/docs/TD_docs/methods/getUser.md +++ b/docs/TD_docs/methods/getUser.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getUser -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/getUserFull.md b/docs/TD_docs/methods/getUserFull.md index 02d1cd6a..573f9982 100644 --- a/docs/TD_docs/methods/getUserFull.md +++ b/docs/TD_docs/methods/getUserFull.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getUserFull -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/getUserProfilePhotos.md b/docs/TD_docs/methods/getUserProfilePhotos.md index 6b36dfa2..f259e2d8 100644 --- a/docs/TD_docs/methods/getUserProfilePhotos.md +++ b/docs/TD_docs/methods/getUserProfilePhotos.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getUserProfilePhotos -* params - {"user_id":"int","offset":"int","limit":"int"} +* params - {"user_id": int, "offset": int, "limit": int, } ``` diff --git a/docs/TD_docs/methods/getWallpapers.md b/docs/TD_docs/methods/getWallpapers.md index a6af44a6..903067b3 100644 --- a/docs/TD_docs/methods/getWallpapers.md +++ b/docs/TD_docs/methods/getWallpapers.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getWallpapers -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/getWebPagePreview.md b/docs/TD_docs/methods/getWebPagePreview.md index cfebbc38..c0bc0c36 100644 --- a/docs/TD_docs/methods/getWebPagePreview.md +++ b/docs/TD_docs/methods/getWebPagePreview.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$WebPage = $MadelineProto->getWebPagePreview(['message_text' => string, ]); +$WebPage = $MadelineProto->getWebPagePreview(['message_text' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - getWebPagePreview -* params - {"message_text":"string"} +* params - {"message_text": "string", } ``` @@ -68,6 +68,6 @@ message_text - Json encoded string Or, if you're into Lua: ``` -WebPage = getWebPagePreview({message_text=string, }) +WebPage = getWebPagePreview({message_text='string', }) ``` diff --git a/docs/TD_docs/methods/importChatInviteLink.md b/docs/TD_docs/methods/importChatInviteLink.md index e677b34c..0ea5976c 100644 --- a/docs/TD_docs/methods/importChatInviteLink.md +++ b/docs/TD_docs/methods/importChatInviteLink.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->importChatInviteLink(['invite_link' => string, ]); +$Ok = $MadelineProto->importChatInviteLink(['invite_link' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - importChatInviteLink -* params - {"invite_link":"string"} +* params - {"invite_link": "string", } ``` @@ -68,6 +68,6 @@ invite_link - Json encoded string Or, if you're into Lua: ``` -Ok = importChatInviteLink({invite_link=string, }) +Ok = importChatInviteLink({invite_link='string', }) ``` diff --git a/docs/TD_docs/methods/importContacts.md b/docs/TD_docs/methods/importContacts.md index 6211fdc6..1d697923 100644 --- a/docs/TD_docs/methods/importContacts.md +++ b/docs/TD_docs/methods/importContacts.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - importContacts -* params - {"contacts":["contact"]} +* params - {"contacts": [contact], } ``` diff --git a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md index b3007afd..bae865c2 100644 --- a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md +++ b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - migrateGroupChatToChannelChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/openChat.md b/docs/TD_docs/methods/openChat.md index fae05939..b783865b 100644 --- a/docs/TD_docs/methods/openChat.md +++ b/docs/TD_docs/methods/openChat.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - openChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/openMessageContent.md b/docs/TD_docs/methods/openMessageContent.md index c14c3812..a5b38eae 100644 --- a/docs/TD_docs/methods/openMessageContent.md +++ b/docs/TD_docs/methods/openMessageContent.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - openMessageContent -* params - {"chat_id":"InputPeer","message_id":"long"} +* params - {"chat_id": InputPeer, "message_id": long, } ``` diff --git a/docs/TD_docs/methods/pinChannelMessage.md b/docs/TD_docs/methods/pinChannelMessage.md index 1b655988..37d1cdd0 100644 --- a/docs/TD_docs/methods/pinChannelMessage.md +++ b/docs/TD_docs/methods/pinChannelMessage.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - pinChannelMessage -* params - {"channel_id":"int","message_id":"long","disable_notification":"Bool"} +* params - {"channel_id": int, "message_id": long, "disable_notification": Bool, } ``` diff --git a/docs/TD_docs/methods/recoverAuthPassword.md b/docs/TD_docs/methods/recoverAuthPassword.md index 06dfd2eb..efcb33a6 100644 --- a/docs/TD_docs/methods/recoverAuthPassword.md +++ b/docs/TD_docs/methods/recoverAuthPassword.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->recoverAuthPassword(['recovery_code' => string, ]); +$AuthState = $MadelineProto->recoverAuthPassword(['recovery_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - recoverAuthPassword -* params - {"recovery_code":"string"} +* params - {"recovery_code": "string", } ``` @@ -68,6 +68,6 @@ recovery_code - Json encoded string Or, if you're into Lua: ``` -AuthState = recoverAuthPassword({recovery_code=string, }) +AuthState = recoverAuthPassword({recovery_code='string', }) ``` diff --git a/docs/TD_docs/methods/recoverPassword.md b/docs/TD_docs/methods/recoverPassword.md index 9e64e340..6386bdf6 100644 --- a/docs/TD_docs/methods/recoverPassword.md +++ b/docs/TD_docs/methods/recoverPassword.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$PasswordState = $MadelineProto->recoverPassword(['recovery_code' => string, ]); +$PasswordState = $MadelineProto->recoverPassword(['recovery_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - recoverPassword -* params - {"recovery_code":"string"} +* params - {"recovery_code": "string", } ``` @@ -68,6 +68,6 @@ recovery_code - Json encoded string Or, if you're into Lua: ``` -PasswordState = recoverPassword({recovery_code=string, }) +PasswordState = recoverPassword({recovery_code='string', }) ``` diff --git a/docs/TD_docs/methods/registerDevice.md b/docs/TD_docs/methods/registerDevice.md index 9499969f..426a6f83 100644 --- a/docs/TD_docs/methods/registerDevice.md +++ b/docs/TD_docs/methods/registerDevice.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - registerDevice -* params - {"device_token":"DeviceToken"} +* params - {"device_token": DeviceToken, } ``` diff --git a/docs/TD_docs/methods/reorderStickerSets.md b/docs/TD_docs/methods/reorderStickerSets.md index 006d109f..c4b0082b 100644 --- a/docs/TD_docs/methods/reorderStickerSets.md +++ b/docs/TD_docs/methods/reorderStickerSets.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - reorderStickerSets -* params - {"is_masks":"Bool","sticker_set_ids":["long"]} +* params - {"is_masks": Bool, "sticker_set_ids": [long], } ``` diff --git a/docs/TD_docs/methods/reportChannelSpam.md b/docs/TD_docs/methods/reportChannelSpam.md index c3dca40f..96b490bb 100644 --- a/docs/TD_docs/methods/reportChannelSpam.md +++ b/docs/TD_docs/methods/reportChannelSpam.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - reportChannelSpam -* params - {"channel_id":"int","user_id":"int","message_ids":["long"]} +* params - {"channel_id": int, "user_id": int, "message_ids": [long], } ``` diff --git a/docs/TD_docs/methods/requestAuthPasswordRecovery.md b/docs/TD_docs/methods/requestAuthPasswordRecovery.md index ea4e1beb..2ff0af69 100644 --- a/docs/TD_docs/methods/requestAuthPasswordRecovery.md +++ b/docs/TD_docs/methods/requestAuthPasswordRecovery.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - requestAuthPasswordRecovery -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/requestPasswordRecovery.md b/docs/TD_docs/methods/requestPasswordRecovery.md index d2f004fe..e0e52b02 100644 --- a/docs/TD_docs/methods/requestPasswordRecovery.md +++ b/docs/TD_docs/methods/requestPasswordRecovery.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - requestPasswordRecovery -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/resendAuthCode.md b/docs/TD_docs/methods/resendAuthCode.md index c8f88fc4..1f6c4060 100644 --- a/docs/TD_docs/methods/resendAuthCode.md +++ b/docs/TD_docs/methods/resendAuthCode.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - resendAuthCode -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/resendChangePhoneNumberCode.md b/docs/TD_docs/methods/resendChangePhoneNumberCode.md index d54c1873..fced0f21 100644 --- a/docs/TD_docs/methods/resendChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/resendChangePhoneNumberCode.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - resendChangePhoneNumberCode -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/resetAllNotificationSettings.md b/docs/TD_docs/methods/resetAllNotificationSettings.md index c0c3a2ad..070be507 100644 --- a/docs/TD_docs/methods/resetAllNotificationSettings.md +++ b/docs/TD_docs/methods/resetAllNotificationSettings.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - resetAllNotificationSettings -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/resetAuth.md b/docs/TD_docs/methods/resetAuth.md index 701e4b61..383f81ad 100644 --- a/docs/TD_docs/methods/resetAuth.md +++ b/docs/TD_docs/methods/resetAuth.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - resetAuth -* params - {"force":"Bool"} +* params - {"force": Bool, } ``` diff --git a/docs/TD_docs/methods/searchChatMessages.md b/docs/TD_docs/methods/searchChatMessages.md index 04315fcc..0f91e5c7 100644 --- a/docs/TD_docs/methods/searchChatMessages.md +++ b/docs/TD_docs/methods/searchChatMessages.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Messages = $MadelineProto->searchChatMessages(['chat_id' => InputPeer, 'query' => string, 'from_message_id' => long, 'limit' => int, 'filter' => SearchMessagesFilter, ]); +$Messages = $MadelineProto->searchChatMessages(['chat_id' => InputPeer, 'query' => 'string', 'from_message_id' => long, 'limit' => int, 'filter' => SearchMessagesFilter, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchChatMessages -* params - {"chat_id":"InputPeer","query":"string","from_message_id":"long","limit":"int","filter":"SearchMessagesFilter"} +* params - {"chat_id": InputPeer, "query": "string", "from_message_id": long, "limit": int, "filter": SearchMessagesFilter, } ``` @@ -76,6 +76,6 @@ filter - Json encoded SearchMessagesFilter Or, if you're into Lua: ``` -Messages = searchChatMessages({chat_id=InputPeer, query=string, from_message_id=long, limit=int, filter=SearchMessagesFilter, }) +Messages = searchChatMessages({chat_id=InputPeer, query='string', from_message_id=long, limit=int, filter=SearchMessagesFilter, }) ``` diff --git a/docs/TD_docs/methods/searchChats.md b/docs/TD_docs/methods/searchChats.md index ffd85476..4937d639 100644 --- a/docs/TD_docs/methods/searchChats.md +++ b/docs/TD_docs/methods/searchChats.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Chats = $MadelineProto->searchChats(['query' => string, 'limit' => int, ]); +$Chats = $MadelineProto->searchChats(['query' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchChats -* params - {"query":"string","limit":"int"} +* params - {"query": "string", "limit": int, } ``` @@ -70,6 +70,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -Chats = searchChats({query=string, limit=int, }) +Chats = searchChats({query='string', limit=int, }) ``` diff --git a/docs/TD_docs/methods/searchContacts.md b/docs/TD_docs/methods/searchContacts.md index 17707d96..739a02f1 100644 --- a/docs/TD_docs/methods/searchContacts.md +++ b/docs/TD_docs/methods/searchContacts.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Users = $MadelineProto->searchContacts(['query' => string, 'limit' => int, ]); +$Users = $MadelineProto->searchContacts(['query' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchContacts -* params - {"query":"string","limit":"int"} +* params - {"query": "string", "limit": int, } ``` @@ -70,6 +70,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -Users = searchContacts({query=string, limit=int, }) +Users = searchContacts({query='string', limit=int, }) ``` diff --git a/docs/TD_docs/methods/searchMessages.md b/docs/TD_docs/methods/searchMessages.md index c1ee6290..e68ca462 100644 --- a/docs/TD_docs/methods/searchMessages.md +++ b/docs/TD_docs/methods/searchMessages.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Messages = $MadelineProto->searchMessages(['query' => string, 'offset_date' => int, 'offset_chat_id' => long, 'offset_message_id' => long, 'limit' => int, ]); +$Messages = $MadelineProto->searchMessages(['query' => 'string', 'offset_date' => int, 'offset_chat_id' => long, 'offset_message_id' => long, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchMessages -* params - {"query":"string","offset_date":"int","offset_chat_id":"long","offset_message_id":"long","limit":"int"} +* params - {"query": "string", "offset_date": int, "offset_chat_id": long, "offset_message_id": long, "limit": int, } ``` @@ -76,6 +76,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -Messages = searchMessages({query=string, offset_date=int, offset_chat_id=long, offset_message_id=long, limit=int, }) +Messages = searchMessages({query='string', offset_date=int, offset_chat_id=long, offset_message_id=long, limit=int, }) ``` diff --git a/docs/TD_docs/methods/searchPublicChat.md b/docs/TD_docs/methods/searchPublicChat.md index 9f4ddc99..07591cd8 100644 --- a/docs/TD_docs/methods/searchPublicChat.md +++ b/docs/TD_docs/methods/searchPublicChat.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Chat = $MadelineProto->searchPublicChat(['username' => string, ]); +$Chat = $MadelineProto->searchPublicChat(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchPublicChat -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -68,6 +68,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Chat = searchPublicChat({username=string, }) +Chat = searchPublicChat({username='string', }) ``` diff --git a/docs/TD_docs/methods/searchPublicChats.md b/docs/TD_docs/methods/searchPublicChats.md index 15168529..eb8ca5e5 100644 --- a/docs/TD_docs/methods/searchPublicChats.md +++ b/docs/TD_docs/methods/searchPublicChats.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Chats = $MadelineProto->searchPublicChats(['username_prefix' => string, ]); +$Chats = $MadelineProto->searchPublicChats(['username_prefix' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchPublicChats -* params - {"username_prefix":"string"} +* params - {"username_prefix": "string", } ``` @@ -68,6 +68,6 @@ username_prefix - Json encoded string Or, if you're into Lua: ``` -Chats = searchPublicChats({username_prefix=string, }) +Chats = searchPublicChats({username_prefix='string', }) ``` diff --git a/docs/TD_docs/methods/searchStickerSet.md b/docs/TD_docs/methods/searchStickerSet.md index f14ecc17..34bb5bde 100644 --- a/docs/TD_docs/methods/searchStickerSet.md +++ b/docs/TD_docs/methods/searchStickerSet.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$StickerSet = $MadelineProto->searchStickerSet(['name' => string, ]); +$StickerSet = $MadelineProto->searchStickerSet(['name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - searchStickerSet -* params - {"name":"string"} +* params - {"name": "string", } ``` @@ -68,6 +68,6 @@ name - Json encoded string Or, if you're into Lua: ``` -StickerSet = searchStickerSet({name=string, }) +StickerSet = searchStickerSet({name='string', }) ``` diff --git a/docs/TD_docs/methods/sendBotStartMessage.md b/docs/TD_docs/methods/sendBotStartMessage.md index 3fd32d2e..d23b067f 100644 --- a/docs/TD_docs/methods/sendBotStartMessage.md +++ b/docs/TD_docs/methods/sendBotStartMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Message = $MadelineProto->sendBotStartMessage(['bot_user_id' => int, 'chat_id' => InputPeer, 'parameter' => string, ]); +$Message = $MadelineProto->sendBotStartMessage(['bot_user_id' => int, 'chat_id' => InputPeer, 'parameter' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendBotStartMessage -* params - {"bot_user_id":"int","chat_id":"InputPeer","parameter":"string"} +* params - {"bot_user_id": int, "chat_id": InputPeer, "parameter": "string", } ``` @@ -72,6 +72,6 @@ parameter - Json encoded string Or, if you're into Lua: ``` -Message = sendBotStartMessage({bot_user_id=int, chat_id=InputPeer, parameter=string, }) +Message = sendBotStartMessage({bot_user_id=int, chat_id=InputPeer, parameter='string', }) ``` diff --git a/docs/TD_docs/methods/sendChatAction.md b/docs/TD_docs/methods/sendChatAction.md index 6c9bbe0a..efc18d5e 100644 --- a/docs/TD_docs/methods/sendChatAction.md +++ b/docs/TD_docs/methods/sendChatAction.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendChatAction -* params - {"chat_id":"InputPeer","action":"SendMessageAction"} +* params - {"chat_id": InputPeer, "action": SendMessageAction, } ``` diff --git a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md index 88baa036..9123ba89 100644 --- a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md +++ b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendChatScreenshotTakenNotification -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/docs/TD_docs/methods/sendChatSetTtlMessage.md b/docs/TD_docs/methods/sendChatSetTtlMessage.md index 618451e0..c696b0a7 100644 --- a/docs/TD_docs/methods/sendChatSetTtlMessage.md +++ b/docs/TD_docs/methods/sendChatSetTtlMessage.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendChatSetTtlMessage -* params - {"chat_id":"InputPeer","ttl":"int"} +* params - {"chat_id": InputPeer, "ttl": int, } ``` diff --git a/docs/TD_docs/methods/sendInlineQueryResultMessage.md b/docs/TD_docs/methods/sendInlineQueryResultMessage.md index 35c4731a..66d0e640 100644 --- a/docs/TD_docs/methods/sendInlineQueryResultMessage.md +++ b/docs/TD_docs/methods/sendInlineQueryResultMessage.md @@ -43,7 +43,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Message = $MadelineProto->sendInlineQueryResultMessage(['chat_id' => InputPeer, 'reply_to_message_id' => long, 'disable_notification' => Bool, 'from_background' => Bool, 'query_id' => long, 'result_id' => string, ]); +$Message = $MadelineProto->sendInlineQueryResultMessage(['chat_id' => InputPeer, 'reply_to_message_id' => long, 'disable_notification' => Bool, 'from_background' => Bool, 'query_id' => long, 'result_id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -55,7 +55,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendInlineQueryResultMessage -* params - {"chat_id":"InputPeer","reply_to_message_id":"long","disable_notification":"Bool","from_background":"Bool","query_id":"long","result_id":"string"} +* params - {"chat_id": InputPeer, "reply_to_message_id": long, "disable_notification": Bool, "from_background": Bool, "query_id": long, "result_id": "string", } ``` @@ -78,6 +78,6 @@ result_id - Json encoded string Or, if you're into Lua: ``` -Message = sendInlineQueryResultMessage({chat_id=InputPeer, reply_to_message_id=long, disable_notification=Bool, from_background=Bool, query_id=long, result_id=string, }) +Message = sendInlineQueryResultMessage({chat_id=InputPeer, reply_to_message_id=long, disable_notification=Bool, from_background=Bool, query_id=long, result_id='string', }) ``` diff --git a/docs/TD_docs/methods/sendMessage.md b/docs/TD_docs/methods/sendMessage.md index d93eb774..a5e7d584 100644 --- a/docs/TD_docs/methods/sendMessage.md +++ b/docs/TD_docs/methods/sendMessage.md @@ -55,7 +55,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - sendMessage -* params - {"chat_id":"InputPeer","reply_to_message_id":"long","disable_notification":"Bool","from_background":"Bool","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +* params - {"chat_id": InputPeer, "reply_to_message_id": long, "disable_notification": Bool, "from_background": Bool, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent, } ``` diff --git a/docs/TD_docs/methods/setAlarm.md b/docs/TD_docs/methods/setAlarm.md index e4b79e3b..cd563c2c 100644 --- a/docs/TD_docs/methods/setAlarm.md +++ b/docs/TD_docs/methods/setAlarm.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setAlarm -* params - {"seconds":"double"} +* params - {"seconds": double, } ``` diff --git a/docs/TD_docs/methods/setAuthPhoneNumber.md b/docs/TD_docs/methods/setAuthPhoneNumber.md index ff157092..d2afa945 100644 --- a/docs/TD_docs/methods/setAuthPhoneNumber.md +++ b/docs/TD_docs/methods/setAuthPhoneNumber.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$AuthState = $MadelineProto->setAuthPhoneNumber(['phone_number' => string, 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); +$AuthState = $MadelineProto->setAuthPhoneNumber(['phone_number' => 'string', 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setAuthPhoneNumber -* params - {"phone_number":"string","allow_flash_call":"Bool","is_current_phone_number":"Bool"} +* params - {"phone_number": "string", "allow_flash_call": Bool, "is_current_phone_number": Bool, } ``` @@ -72,6 +72,6 @@ is_current_phone_number - Json encoded Bool Or, if you're into Lua: ``` -AuthState = setAuthPhoneNumber({phone_number=string, allow_flash_call=Bool, is_current_phone_number=Bool, }) +AuthState = setAuthPhoneNumber({phone_number='string', allow_flash_call=Bool, is_current_phone_number=Bool, }) ``` diff --git a/docs/TD_docs/methods/setBotUpdatesStatus.md b/docs/TD_docs/methods/setBotUpdatesStatus.md index ae550390..311bd378 100644 --- a/docs/TD_docs/methods/setBotUpdatesStatus.md +++ b/docs/TD_docs/methods/setBotUpdatesStatus.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->setBotUpdatesStatus(['pending_update_count' => int, 'error_message' => string, ]); +$Ok = $MadelineProto->setBotUpdatesStatus(['pending_update_count' => int, 'error_message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setBotUpdatesStatus -* params - {"pending_update_count":"int","error_message":"string"} +* params - {"pending_update_count": int, "error_message": "string", } ``` @@ -70,6 +70,6 @@ error_message - Json encoded string Or, if you're into Lua: ``` -Ok = setBotUpdatesStatus({pending_update_count=int, error_message=string, }) +Ok = setBotUpdatesStatus({pending_update_count=int, error_message='string', }) ``` diff --git a/docs/TD_docs/methods/setFileGenerationProgress.md b/docs/TD_docs/methods/setFileGenerationProgress.md index 75db5093..a1e7e697 100644 --- a/docs/TD_docs/methods/setFileGenerationProgress.md +++ b/docs/TD_docs/methods/setFileGenerationProgress.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setFileGenerationProgress -* params - {"generation_id":"long","ready":"int"} +* params - {"generation_id": long, "ready": int, } ``` diff --git a/docs/TD_docs/methods/setGameScore.md b/docs/TD_docs/methods/setGameScore.md index e7e4b0ff..1b5d5c52 100644 --- a/docs/TD_docs/methods/setGameScore.md +++ b/docs/TD_docs/methods/setGameScore.md @@ -55,7 +55,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setGameScore -* params - {"chat_id":"InputPeer","message_id":"long","edit_message":"Bool","user_id":"int","score":"int","force":"Bool"} +* params - {"chat_id": InputPeer, "message_id": long, "edit_message": Bool, "user_id": int, "score": int, "force": Bool, } ``` diff --git a/docs/TD_docs/methods/setInlineGameScore.md b/docs/TD_docs/methods/setInlineGameScore.md index b3e95e93..c3ec47ea 100644 --- a/docs/TD_docs/methods/setInlineGameScore.md +++ b/docs/TD_docs/methods/setInlineGameScore.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->setInlineGameScore(['inline_message_id' => string, 'edit_message' => Bool, 'user_id' => int, 'score' => int, 'force' => Bool, ]); +$Ok = $MadelineProto->setInlineGameScore(['inline_message_id' => 'string', 'edit_message' => Bool, 'user_id' => int, 'score' => int, 'force' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setInlineGameScore -* params - {"inline_message_id":"string","edit_message":"Bool","user_id":"int","score":"int","force":"Bool"} +* params - {"inline_message_id": "string", "edit_message": Bool, "user_id": int, "score": int, "force": Bool, } ``` @@ -76,6 +76,6 @@ force - Json encoded Bool Or, if you're into Lua: ``` -Ok = setInlineGameScore({inline_message_id=string, edit_message=Bool, user_id=int, score=int, force=Bool, }) +Ok = setInlineGameScore({inline_message_id='string', edit_message=Bool, user_id=int, score=int, force=Bool, }) ``` diff --git a/docs/TD_docs/methods/setNotificationSettings.md b/docs/TD_docs/methods/setNotificationSettings.md index 3d923b3e..cfe677f9 100644 --- a/docs/TD_docs/methods/setNotificationSettings.md +++ b/docs/TD_docs/methods/setNotificationSettings.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setNotificationSettings -* params - {"scope":"NotificationSettingsScope","notification_settings":"notificationSettings"} +* params - {"scope": NotificationSettingsScope, "notification_settings": notificationSettings, } ``` diff --git a/docs/TD_docs/methods/setOption.md b/docs/TD_docs/methods/setOption.md index cdefd437..db11d5af 100644 --- a/docs/TD_docs/methods/setOption.md +++ b/docs/TD_docs/methods/setOption.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->setOption(['name' => string, 'value' => OptionValue, ]); +$Ok = $MadelineProto->setOption(['name' => 'string', 'value' => OptionValue, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setOption -* params - {"name":"string","value":"OptionValue"} +* params - {"name": "string", "value": OptionValue, } ``` @@ -70,6 +70,6 @@ value - Json encoded OptionValue Or, if you're into Lua: ``` -Ok = setOption({name=string, value=OptionValue, }) +Ok = setOption({name='string', value=OptionValue, }) ``` diff --git a/docs/TD_docs/methods/setPassword.md b/docs/TD_docs/methods/setPassword.md index 362780e1..813e17be 100644 --- a/docs/TD_docs/methods/setPassword.md +++ b/docs/TD_docs/methods/setPassword.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$PasswordState = $MadelineProto->setPassword(['old_password' => string, 'new_password' => string, 'new_hint' => string, 'set_recovery_email' => Bool, 'new_recovery_email' => string, ]); +$PasswordState = $MadelineProto->setPassword(['old_password' => 'string', 'new_password' => 'string', 'new_hint' => 'string', 'set_recovery_email' => Bool, 'new_recovery_email' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setPassword -* params - {"old_password":"string","new_password":"string","new_hint":"string","set_recovery_email":"Bool","new_recovery_email":"string"} +* params - {"old_password": "string", "new_password": "string", "new_hint": "string", "set_recovery_email": Bool, "new_recovery_email": "string", } ``` @@ -76,6 +76,6 @@ new_recovery_email - Json encoded string Or, if you're into Lua: ``` -PasswordState = setPassword({old_password=string, new_password=string, new_hint=string, set_recovery_email=Bool, new_recovery_email=string, }) +PasswordState = setPassword({old_password='string', new_password='string', new_hint='string', set_recovery_email=Bool, new_recovery_email='string', }) ``` diff --git a/docs/TD_docs/methods/setPrivacy.md b/docs/TD_docs/methods/setPrivacy.md index e664544d..b1571edc 100644 --- a/docs/TD_docs/methods/setPrivacy.md +++ b/docs/TD_docs/methods/setPrivacy.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setPrivacy -* params - {"key":"PrivacyKey","rules":"privacyRules"} +* params - {"key": PrivacyKey, "rules": privacyRules, } ``` diff --git a/docs/TD_docs/methods/setProfilePhoto.md b/docs/TD_docs/methods/setProfilePhoto.md index 7d355f9c..46d3ecb2 100644 --- a/docs/TD_docs/methods/setProfilePhoto.md +++ b/docs/TD_docs/methods/setProfilePhoto.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Ok = $MadelineProto->setProfilePhoto(['photo_path' => string, ]); +$Ok = $MadelineProto->setProfilePhoto(['photo_path' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setProfilePhoto -* params - {"photo_path":"string"} +* params - {"photo_path": "string", } ``` @@ -68,6 +68,6 @@ photo_path - Json encoded string Or, if you're into Lua: ``` -Ok = setProfilePhoto({photo_path=string, }) +Ok = setProfilePhoto({photo_path='string', }) ``` diff --git a/docs/TD_docs/methods/setRecoveryEmail.md b/docs/TD_docs/methods/setRecoveryEmail.md index a7c04a0e..3a2415ee 100644 --- a/docs/TD_docs/methods/setRecoveryEmail.md +++ b/docs/TD_docs/methods/setRecoveryEmail.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$PasswordState = $MadelineProto->setRecoveryEmail(['password' => string, 'new_recovery_email' => string, ]); +$PasswordState = $MadelineProto->setRecoveryEmail(['password' => 'string', 'new_recovery_email' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - setRecoveryEmail -* params - {"password":"string","new_recovery_email":"string"} +* params - {"password": "string", "new_recovery_email": "string", } ``` @@ -70,6 +70,6 @@ new_recovery_email - Json encoded string Or, if you're into Lua: ``` -PasswordState = setRecoveryEmail({password=string, new_recovery_email=string, }) +PasswordState = setRecoveryEmail({password='string', new_recovery_email='string', }) ``` diff --git a/docs/TD_docs/methods/terminateAllOtherSessions.md b/docs/TD_docs/methods/terminateAllOtherSessions.md index cb263141..273464c8 100644 --- a/docs/TD_docs/methods/terminateAllOtherSessions.md +++ b/docs/TD_docs/methods/terminateAllOtherSessions.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - terminateAllOtherSessions -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/terminateSession.md b/docs/TD_docs/methods/terminateSession.md index 46457ea4..fd21fe86 100644 --- a/docs/TD_docs/methods/terminateSession.md +++ b/docs/TD_docs/methods/terminateSession.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - terminateSession -* params - {"session_id":"long"} +* params - {"session_id": long, } ``` diff --git a/docs/TD_docs/methods/test_callBytes.md b/docs/TD_docs/methods/test_callBytes.md index 968a0451..4a91fbc3 100644 --- a/docs/TD_docs/methods/test_callBytes.md +++ b/docs/TD_docs/methods/test_callBytes.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$test_Bytes = $MadelineProto->test->callBytes(['x' => bytes, ]); +$test_Bytes = $MadelineProto->test->callBytes(['x' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callBytes -* params - {"x":"bytes"} +* params - {"x": "bytes", } ``` @@ -66,6 +66,6 @@ x - Json encoded bytes Or, if you're into Lua: ``` -test_Bytes = test.callBytes({x=bytes, }) +test_Bytes = test.callBytes({x='bytes', }) ``` diff --git a/docs/TD_docs/methods/test_callEmpty.md b/docs/TD_docs/methods/test_callEmpty.md index 3fd764b4..4c6f1ad5 100644 --- a/docs/TD_docs/methods/test_callEmpty.md +++ b/docs/TD_docs/methods/test_callEmpty.md @@ -43,7 +43,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callEmpty -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/test_callString.md b/docs/TD_docs/methods/test_callString.md index 578d1b7a..9264eeda 100644 --- a/docs/TD_docs/methods/test_callString.md +++ b/docs/TD_docs/methods/test_callString.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$test_String = $MadelineProto->test->callString(['x' => string, ]); +$test_String = $MadelineProto->test->callString(['x' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callString -* params - {"x":"string"} +* params - {"x": "string", } ``` @@ -66,6 +66,6 @@ x - Json encoded string Or, if you're into Lua: ``` -test_String = test.callString({x=string, }) +test_String = test.callString({x='string', }) ``` diff --git a/docs/TD_docs/methods/test_callVectorInt.md b/docs/TD_docs/methods/test_callVectorInt.md index cacea48b..e4cf0f31 100644 --- a/docs/TD_docs/methods/test_callVectorInt.md +++ b/docs/TD_docs/methods/test_callVectorInt.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callVectorInt -* params - {"x":["int"]} +* params - {"x": [int], } ``` diff --git a/docs/TD_docs/methods/test_callVectorIntObject.md b/docs/TD_docs/methods/test_callVectorIntObject.md index fbfec9ed..fb3475dd 100644 --- a/docs/TD_docs/methods/test_callVectorIntObject.md +++ b/docs/TD_docs/methods/test_callVectorIntObject.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callVectorIntObject -* params - {"x":["test_Int"]} +* params - {"x": [test_Int], } ``` diff --git a/docs/TD_docs/methods/test_callVectorString.md b/docs/TD_docs/methods/test_callVectorString.md index b683a829..a8933a0b 100644 --- a/docs/TD_docs/methods/test_callVectorString.md +++ b/docs/TD_docs/methods/test_callVectorString.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$test_VectorString = $MadelineProto->test->callVectorString(['x' => [string], ]); +$test_VectorString = $MadelineProto->test->callVectorString(['x' => ['string'], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callVectorString -* params - {"x":["string"]} +* params - {"x": ["string"], } ``` @@ -66,6 +66,6 @@ x - Json encoded array of string Or, if you're into Lua: ``` -test_VectorString = test.callVectorString({x={string}, }) +test_VectorString = test.callVectorString({x={'string'}, }) ``` diff --git a/docs/TD_docs/methods/test_callVectorStringObject.md b/docs/TD_docs/methods/test_callVectorStringObject.md index 448fca4c..443d1f63 100644 --- a/docs/TD_docs/methods/test_callVectorStringObject.md +++ b/docs/TD_docs/methods/test_callVectorStringObject.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.callVectorStringObject -* params - {"x":["test_String"]} +* params - {"x": [test_String], } ``` diff --git a/docs/TD_docs/methods/test_forceGetDifference.md b/docs/TD_docs/methods/test_forceGetDifference.md index bce0fc21..367f70c3 100644 --- a/docs/TD_docs/methods/test_forceGetDifference.md +++ b/docs/TD_docs/methods/test_forceGetDifference.md @@ -43,7 +43,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.forceGetDifference -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/test_squareInt.md b/docs/TD_docs/methods/test_squareInt.md index b5098176..c94ca1f7 100644 --- a/docs/TD_docs/methods/test_squareInt.md +++ b/docs/TD_docs/methods/test_squareInt.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.squareInt -* params - {"x":"int"} +* params - {"x": int, } ``` diff --git a/docs/TD_docs/methods/test_testNet.md b/docs/TD_docs/methods/test_testNet.md index 773e6ce8..d6320a76 100644 --- a/docs/TD_docs/methods/test_testNet.md +++ b/docs/TD_docs/methods/test_testNet.md @@ -43,7 +43,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - test.testNet -* params - +* params - {} ``` diff --git a/docs/TD_docs/methods/toggleChannelInvites.md b/docs/TD_docs/methods/toggleChannelInvites.md index 438276b1..dbf66961 100644 --- a/docs/TD_docs/methods/toggleChannelInvites.md +++ b/docs/TD_docs/methods/toggleChannelInvites.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - toggleChannelInvites -* params - {"channel_id":"int","anyone_can_invite":"Bool"} +* params - {"channel_id": int, "anyone_can_invite": Bool, } ``` diff --git a/docs/TD_docs/methods/toggleChannelSignMessages.md b/docs/TD_docs/methods/toggleChannelSignMessages.md index bee43896..312c0495 100644 --- a/docs/TD_docs/methods/toggleChannelSignMessages.md +++ b/docs/TD_docs/methods/toggleChannelSignMessages.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - toggleChannelSignMessages -* params - {"channel_id":"int","sign_messages":"Bool"} +* params - {"channel_id": int, "sign_messages": Bool, } ``` diff --git a/docs/TD_docs/methods/toggleGroupEditors.md b/docs/TD_docs/methods/toggleGroupEditors.md index ce6dc9f4..0c4f83a1 100644 --- a/docs/TD_docs/methods/toggleGroupEditors.md +++ b/docs/TD_docs/methods/toggleGroupEditors.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - toggleGroupEditors -* params - {"group_id":"int","anyone_can_edit":"Bool"} +* params - {"group_id": int, "anyone_can_edit": Bool, } ``` diff --git a/docs/TD_docs/methods/unblockUser.md b/docs/TD_docs/methods/unblockUser.md index d716d3ea..1e7d38d0 100644 --- a/docs/TD_docs/methods/unblockUser.md +++ b/docs/TD_docs/methods/unblockUser.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - unblockUser -* params - {"user_id":"int"} +* params - {"user_id": int, } ``` diff --git a/docs/TD_docs/methods/unpinChannelMessage.md b/docs/TD_docs/methods/unpinChannelMessage.md index ffbf66e1..cb669963 100644 --- a/docs/TD_docs/methods/unpinChannelMessage.md +++ b/docs/TD_docs/methods/unpinChannelMessage.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - unpinChannelMessage -* params - {"channel_id":"int"} +* params - {"channel_id": int, } ``` diff --git a/docs/TD_docs/methods/updateStickerSet.md b/docs/TD_docs/methods/updateStickerSet.md index 9ce3347d..ab696317 100644 --- a/docs/TD_docs/methods/updateStickerSet.md +++ b/docs/TD_docs/methods/updateStickerSet.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updateStickerSet -* params - {"set_id":"long","is_installed":"Bool","is_archived":"Bool"} +* params - {"set_id": long, "is_installed": Bool, "is_archived": Bool, } ``` diff --git a/docs/TD_docs/methods/viewMessages.md b/docs/TD_docs/methods/viewMessages.md index 519e1942..0a83638c 100644 --- a/docs/TD_docs/methods/viewMessages.md +++ b/docs/TD_docs/methods/viewMessages.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - viewMessages -* params - {"chat_id":"InputPeer","message_ids":["long"]} +* params - {"chat_id": InputPeer, "message_ids": [long], } ``` diff --git a/docs/TD_docs/methods/viewTrendingStickerSets.md b/docs/TD_docs/methods/viewTrendingStickerSets.md index d41280bd..3d15c45b 100644 --- a/docs/TD_docs/methods/viewTrendingStickerSets.md +++ b/docs/TD_docs/methods/viewTrendingStickerSets.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - viewTrendingStickerSets -* params - {"sticker_set_ids":["long"]} +* params - {"sticker_set_ids": [long], } ``` diff --git a/old_docs/API_docs_v18/constructors/audio.md b/old_docs/API_docs_v18/constructors/audio.md index 6201866c..3a5cad14 100644 --- a/old_docs/API_docs_v18/constructors/audio.md +++ b/old_docs/API_docs_v18/constructors/audio.md @@ -28,13 +28,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "user_id": int, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v18/constructors/audioEmpty.md +++ b/old_docs/API_docs_v18/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 e8a16730..b1f8ab87 100644 --- a/old_docs/API_docs_v18/constructors/auth_authorization.md +++ b/old_docs/API_docs_v18/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","expires":"int","user":"User"} +{"_": "auth.authorization", "expires": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', expires=int, user=User, } +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 4fd0f96a..5a0f838f 100644 --- a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md @@ -22,13 +22,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool","phone_invited":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool, "phone_invited": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v18/constructors/chat.md +++ b/old_docs/API_docs_v18/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v18/constructors/chatEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v18/constructors/chatForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 9bf2e470..562aaef9 100644 --- a/old_docs/API_docs_v18/constructors/chatFull.md +++ b/old_docs/API_docs_v18/constructors/chatFull.md @@ -24,13 +24,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipant.md +++ b/old_docs/API_docs_v18/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipants.md +++ b/old_docs/API_docs_v18/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v18/constructors/chatPhoto.md +++ b/old_docs/API_docs_v18/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/config.md b/old_docs/API_docs_v18/constructors/config.md index a8cc5ecc..09b7c07e 100644 --- a/old_docs/API_docs_v18/constructors/config.md +++ b/old_docs/API_docs_v18/constructors/config.md @@ -26,13 +26,13 @@ description: config attributes, type and example ### Example: ``` -$config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, ]; +$config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"config","date":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"chat_size_max":"int","broadcast_size_max":"int"} +{"_": "config", "date": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "chat_size_max": int, "broadcast_size_max": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -config={_='config', date=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v18/constructors/contact.md +++ b/old_docs/API_docs_v18/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v18/constructors/contactBlocked.md +++ b/old_docs/API_docs_v18/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v18/constructors/contactFound.md +++ b/old_docs/API_docs_v18/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 7bc57d8b..b06366cb 100644 --- a/old_docs/API_docs_v18/constructors/contactStatus.md +++ b/old_docs/API_docs_v18/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","expires":"int"} +{"_": "contactStatus", "user_id": int, "expires": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, expires=int, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v18/constructors/contactSuggested.md +++ b/old_docs/API_docs_v18/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v18/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 3bb92e02..cd57f9bf 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md @@ -16,13 +16,13 @@ description: contacts_foreignLinkMutual attributes, type and example ### Example: ``` -$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual', ]; +$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkMutual"} +{"_": "contacts.foreignLinkMutual"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkMutual={_='contacts.foreignLinkMutual', } +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 163db9af..a6bd437b 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md @@ -21,13 +21,13 @@ description: contacts_foreignLinkRequested attributes, type and example ### Example: ``` -$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool, ]; +$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkRequested","has_phone":"Bool"} +{"_": "contacts.foreignLinkRequested", "has_phone": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool, } +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 c8b8e195..a7cb31c8 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md @@ -16,13 +16,13 @@ description: contacts_foreignLinkUnknown attributes, type and example ### Example: ``` -$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown', ]; +$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkUnknown"} +{"_": "contacts.foreignLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v18/constructors/contacts_found.md +++ b/old_docs/API_docs_v18/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 3c640e31..4c20d8c3 100644 --- a/old_docs/API_docs_v18/constructors/contacts_link.md +++ b/old_docs/API_docs_v18/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink","user":"User"} +{"_": "contacts.link", "my_link": contacts_MyLink, "foreign_link": contacts_ForeignLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User, } +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 50553ccd..7ff60d43 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md @@ -16,13 +16,13 @@ description: contacts_myLinkContact attributes, type and example ### Example: ``` -$contacts_myLinkContact = ['_' => 'contacts.myLinkContact', ]; +$contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkContact"} +{"_": "contacts.myLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_myLinkContact={_='contacts.myLinkContact', } +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 a8fda78f..ba662561 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md @@ -16,13 +16,13 @@ description: contacts_myLinkEmpty attributes, type and example ### Example: ``` -$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty', ]; +$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkEmpty"} +{"_": "contacts.myLinkEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_myLinkEmpty={_='contacts.myLinkEmpty', } +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 88dd915d..89354a38 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md @@ -21,13 +21,13 @@ description: contacts_myLinkRequested attributes, type and example ### Example: ``` -$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool, ]; +$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkRequested","contact":"Bool"} +{"_": "contacts.myLinkRequested", "contact": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v18/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v18/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 a6e9a02f..2093c0c5 100644 --- a/old_docs/API_docs_v18/constructors/dcOption.md +++ b/old_docs/API_docs_v18/constructors/dcOption.md @@ -24,13 +24,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "hostname": "string", "ip_address": "string", "port": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, hostname=string, ip_address=string, port=int, } +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 3fc6d971..eda9088f 100644 --- a/old_docs/API_docs_v18/constructors/dialog.md +++ b/old_docs/API_docs_v18/constructors/dialog.md @@ -24,13 +24,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 4845ec95..e88da170 100644 --- a/old_docs/API_docs_v18/constructors/document.md +++ b/old_docs/API_docs_v18/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","user_id":"int","date":"int","file_name":"string","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int"} +{"_": "document", "id": long, "access_hash": long, "user_id": int, "date": int, "file_name": "string", "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v18/constructors/documentEmpty.md +++ b/old_docs/API_docs_v18/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChat.md +++ b/old_docs/API_docs_v18/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFile.md +++ b/old_docs/API_docs_v18/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedMessage.md b/old_docs/API_docs_v18/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v18/constructors/error.md +++ b/old_docs/API_docs_v18/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v18/constructors/fileLocation.md +++ b/old_docs/API_docs_v18/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v18/constructors/geoPoint.md +++ b/old_docs/API_docs_v18/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v18/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v18/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v18/constructors/help_inviteText.md +++ b/old_docs/API_docs_v18/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v18/constructors/help_support.md +++ b/old_docs/API_docs_v18/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v18/constructors/importedContact.md +++ b/old_docs/API_docs_v18/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v18/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v18/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v18/constructors/inputAudio.md +++ b/old_docs/API_docs_v18/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v18/constructors/inputDocument.md +++ b/old_docs/API_docs_v18/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v18/constructors/inputFile.md +++ b/old_docs/API_docs_v18/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v18/constructors/inputFileBig.md +++ b/old_docs/API_docs_v18/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v18/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaAudio.md b/old_docs/API_docs_v18/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v18/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 9746ce43..b5824ba5 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaPhoto.md @@ -21,13 +21,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto"} +{"_": "inputMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d9ad3964..d0ee63c4 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => string, 'mime_type' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => 'string', 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","file_name":"string","mime_type":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "file_name": "string", "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, file_name=string, mime_type=string, } +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 4b7ac5a3..c1322d55 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile"} +{"_": "inputMediaUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, } +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 3451ebdb..e58b97e5 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'file_name' => string, 'mime_type' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'file_name' => 'string', 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","file_name":"string","mime_type":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "file_name": "string", "mime_type": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, file_name=string, mime_type=string, } +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 ef54d767..808985f7 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 bdd5527a..a189610d 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md @@ -25,13 +25,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 07251b4a..44ec9517 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaVideo.md @@ -21,13 +21,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo"} +{"_": "inputMediaVideo", "id": InputVideo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyAll.md b/old_docs/API_docs_v18/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyChats.md b/old_docs/API_docs_v18/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerChat.md b/old_docs/API_docs_v18/constructors/inputPeerChat.md index e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v18/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 88d5488b..7f58cae5 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v18/constructors/inputPeerContact.md @@ -21,13 +21,13 @@ description: inputPeerContact attributes, type and example ### Example: ``` -$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerContact","user_id":"int"} +{"_": "inputPeerContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerContact={_='inputPeerContact', user_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerForeign.md b/old_docs/API_docs_v18/constructors/inputPeerForeign.md index 003416ba..585547a7 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v18/constructors/inputPeerForeign.md @@ -22,13 +22,13 @@ description: inputPeerForeign attributes, type and example ### Example: ``` -$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +{"_": "inputPeerForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long, } +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 bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v18/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhoneContact.md b/old_docs/API_docs_v18/constructors/inputPhoneContact.md index 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v18/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserContact.md b/old_docs/API_docs_v18/constructors/inputUserContact.md index c2b1f85c..c6ad34a5 100644 --- a/old_docs/API_docs_v18/constructors/inputUserContact.md +++ b/old_docs/API_docs_v18/constructors/inputUserContact.md @@ -21,13 +21,13 @@ description: inputUserContact attributes, type and example ### Example: ``` -$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserContact","user_id":"int"} +{"_": "inputUserContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputUserContact={_='inputUserContact', user_id=int, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v18/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserForeign.md b/old_docs/API_docs_v18/constructors/inputUserForeign.md index 1c4b6331..b7f70e07 100644 --- a/old_docs/API_docs_v18/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v18/constructors/inputUserForeign.md @@ -22,13 +22,13 @@ description: inputUserForeign attributes, type and example ### Example: ``` -$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +{"_": "inputUserForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long, } +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 b57fe677..f61db155 100644 --- a/old_docs/API_docs_v18/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v18/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputVideo.md b/old_docs/API_docs_v18/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v18/constructors/inputVideo.md +++ b/old_docs/API_docs_v18/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 99705c7a..dad9e9ed 100644 --- a/old_docs/API_docs_v18/constructors/message.md +++ b/old_docs/API_docs_v18/constructors/message.md @@ -26,13 +26,13 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"message","id":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +{"_": "message", "id": int, "from_id": int, "to_id": Peer, "date": int, "message": "string", "media": MessageMedia} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -message={_='message', id=int, from_id=int, to_id=Peer, date=int, message=string, media=MessageMedia, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v18/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageEmpty.md b/old_docs/API_docs_v18/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v18/constructors/messageEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 c524f5d7..a954e7c7 100644 --- a/old_docs/API_docs_v18/constructors/messageForwarded.md +++ b/old_docs/API_docs_v18/constructors/messageForwarded.md @@ -28,13 +28,13 @@ description: messageForwarded attributes, type and example ### Example: ``` -$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageForwarded","id":"int","fwd_from_id":"int","fwd_date":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +{"_": "messageForwarded", "id": int, "fwd_from_id": int, "fwd_date": int, "from_id": int, "to_id": Peer, "date": int, "message": "string", "media": MessageMedia} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -messageForwarded={_='messageForwarded', id=int, fwd_from_id=int, fwd_date=int, from_id=int, to_id=Peer, date=int, message=string, media=MessageMedia, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v18/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaGeo.md b/old_docs/API_docs_v18/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 779e2d18..85fcdaef 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageMediaPhoto.md @@ -21,13 +21,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo"} +{"_": "messageMediaPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, } +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 cc9658b9..6ff7d635 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md @@ -21,13 +21,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported","bytes":"bytes"} +{"_": "messageMediaUnsupported", "bytes": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', bytes=bytes, } +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 344e27a9..6b246560 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaVideo.md @@ -21,13 +21,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video"} +{"_": "messageMediaVideo", "video": Video} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, } +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 28c8207f..432bf69b 100644 --- a/old_docs/API_docs_v18/constructors/messageService.md +++ b/old_docs/API_docs_v18/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 b6ca6fcc..9f83afaf 100644 --- a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","seq":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "seq": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v18/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v18/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 899edd62..acdf5a62 100644 --- a/old_docs/API_docs_v18/constructors/messages_chats.md +++ b/old_docs/API_docs_v18/constructors/messages_chats.md @@ -22,13 +22,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"],"users":["User"]} +{"_": "messages.chats", "chats": [Chat], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, users={User}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v18/constructors/messages_messages.md +++ b/old_docs/API_docs_v18/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 b0e96329..96b8f86f 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessage.md @@ -24,13 +24,13 @@ description: messages_sentMessage attributes, type and example ### Example: ``` -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; +$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","seq":"int"} +{"_": "messages.sentMessage", "id": int, "date": int, "pts": int, "seq": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int, } +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 944bc8bc..a0b3c2e7 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md @@ -25,13 +25,13 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","seq":"int","links":["contacts_Link"]} +{"_": "messages.sentMessageLink", "id": int, "date": int, "pts": int, "seq": int, "links": [contacts_Link]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}, } +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 a66a7a3e..f4983c4f 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessage.md @@ -25,13 +25,13 @@ description: messages_statedMessage attributes, type and example ### Example: ``` -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; +$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +{"_": "messages.statedMessage", "message": Message, "chats": [Chat], "users": [User], "pts": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int, } +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 3d3313e7..b7cbabf1 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md @@ -26,13 +26,13 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +{"_": "messages.statedMessageLink", "message": Message, "chats": [Chat], "users": [User], "links": [contacts_Link], "pts": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } +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 782fb694..dc262a12 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessages.md @@ -25,13 +25,13 @@ description: messages_statedMessages attributes, type and example ### Example: ``` -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; +$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +{"_": "messages.statedMessages", "messages": [Message], "chats": [Chat], "users": [User], "pts": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int, } +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 436865f3..b1231108 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md @@ -26,13 +26,13 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +{"_": "messages.statedMessagesLinks", "messages": [Message], "chats": [Chat], "users": [User], "links": [contacts_Link], "pts": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v18/constructors/nearestDc.md +++ b/old_docs/API_docs_v18/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v18/constructors/notifyAll.md +++ b/old_docs/API_docs_v18/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyChats.md b/old_docs/API_docs_v18/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v18/constructors/notifyChats.md +++ b/old_docs/API_docs_v18/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyPeer.md b/old_docs/API_docs_v18/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v18/constructors/notifyPeer.md +++ b/old_docs/API_docs_v18/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v18/constructors/notifyUsers.md +++ b/old_docs/API_docs_v18/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerChat.md b/old_docs/API_docs_v18/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v18/constructors/peerChat.md +++ b/old_docs/API_docs_v18/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifySettings.md b/old_docs/API_docs_v18/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerUser.md b/old_docs/API_docs_v18/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v18/constructors/peerUser.md +++ b/old_docs/API_docs_v18/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 c9d756b7..18978a35 100644 --- a/old_docs/API_docs_v18/constructors/photo.md +++ b/old_docs/API_docs_v18/constructors/photo.md @@ -27,13 +27,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "user_id": int, "date": int, "caption": "string", "geo": GeoPoint, "sizes": [PhotoSize]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption=string, geo=GeoPoint, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v18/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v18/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v18/constructors/photoEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v18/constructors/photoSize.md +++ b/old_docs/API_docs_v18/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v18/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v18/constructors/photos_photo.md +++ b/old_docs/API_docs_v18/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v18/constructors/photos_photos.md +++ b/old_docs/API_docs_v18/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v18/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v18/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md index 555007a0..4df6422b 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction"} +{"_": "sendMessageUploadAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', } +sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md index a9f731b2..b5d2f65b 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction"} +{"_": "sendMessageUploadDocumentAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md index 0fb5a157..8ad9c12a 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction"} +{"_": "sendMessageUploadPhotoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md index 9d6684e0..66b6182b 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction"} +{"_": "sendMessageUploadVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v18/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v18/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v18/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePng.md +++ b/old_docs/API_docs_v18/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v18/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v18/constructors/true.md +++ b/old_docs/API_docs_v18/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md index 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v18/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 9314cdcb..44eccd2a 100644 --- a/old_docs/API_docs_v18/constructors/updateContactLink.md +++ b/old_docs/API_docs_v18/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink"} +{"_": "updateContactLink", "user_id": int, "my_link": contacts_MyLink, "foreign_link": contacts_ForeignLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v18/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v18/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v18/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v18/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 fdeb65a8..65200413 100644 --- a/old_docs/API_docs_v18/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v18/constructors/updateDeleteMessages.md @@ -22,13 +22,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryption.md +++ b/old_docs/API_docs_v18/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v18/constructors/updateMessageID.md +++ b/old_docs/API_docs_v18/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v18/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v18/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 a152190d..c8e88b64 100644 --- a/old_docs/API_docs_v18/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewMessage.md @@ -22,13 +22,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v18/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 de6b7f2e..8f23532d 100644 --- a/old_docs/API_docs_v18/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v18/constructors/updateReadMessages.md @@ -22,13 +22,13 @@ description: updateReadMessages attributes, type and example ### Example: ``` -$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, ]; +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessages","messages":["int"],"pts":"int"} +{"_": "updateReadMessages", "messages": [int], "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadMessages={_='updateReadMessages', messages={int}, pts=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v18/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v18/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v18/constructors/updateShort.md +++ b/old_docs/API_docs_v18/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 899dca5e..f4085b50 100644 --- a/old_docs/API_docs_v18/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortChatMessage.md @@ -27,13 +27,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortChatMessage","id":"int","from_id":"int","chat_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +{"_": "updateShortChatMessage", "id": int, "from_id": int, "chat_id": int, "message": "string", "pts": int, "date": int, "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message=string, pts=int, date=int, seq=int, } +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 54d61720..bc333d8f 100644 --- a/old_docs/API_docs_v18/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortMessage.md @@ -26,13 +26,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortMessage","id":"int","from_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +{"_": "updateShortMessage", "id": int, "from_id": int, "message": "string", "pts": int, "date": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', id=int, from_id=int, message=string, pts=int, date=int, seq=int, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v18/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v18/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v18/constructors/updateUserName.md +++ b/old_docs/API_docs_v18/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v18/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v18/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v18/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v18/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v18/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v18/constructors/updates.md +++ b/old_docs/API_docs_v18/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v18/constructors/updatesCombined.md +++ b/old_docs/API_docs_v18/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v18/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v18/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v18/constructors/updates_difference.md +++ b/old_docs/API_docs_v18/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v18/constructors/updates_state.md +++ b/old_docs/API_docs_v18/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v18/constructors/upload_file.md +++ b/old_docs/API_docs_v18/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 30c1fdd9..f511ff88 100644 --- a/old_docs/API_docs_v18/constructors/userContact.md +++ b/old_docs/API_docs_v18/constructors/userContact.md @@ -28,13 +28,13 @@ description: userContact attributes, type and example ### Example: ``` -$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userContact", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userContact={_='userContact', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 9fcd1e83..4788a341 100644 --- a/old_docs/API_docs_v18/constructors/userDeleted.md +++ b/old_docs/API_docs_v18/constructors/userDeleted.md @@ -24,13 +24,13 @@ description: userDeleted attributes, type and example ### Example: ``` -$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "userDeleted", "id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -userDeleted={_='userDeleted', id=int, first_name=string, last_name=string, username=string, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v18/constructors/userEmpty.md +++ b/old_docs/API_docs_v18/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 810cce6a..610f884e 100644 --- a/old_docs/API_docs_v18/constructors/userForeign.md +++ b/old_docs/API_docs_v18/constructors/userForeign.md @@ -27,13 +27,13 @@ description: userForeign attributes, type and example ### Example: ``` -$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userForeign", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userForeign={_='userForeign', id=int, first_name=string, last_name=string, username=string, access_hash=long, photo=UserProfilePhoto, status=UserStatus, } +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 fc5ce2d1..d5967a85 100644 --- a/old_docs/API_docs_v18/constructors/userFull.md +++ b/old_docs/API_docs_v18/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "real_first_name": "string", "real_last_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/userRequest.md b/old_docs/API_docs_v18/constructors/userRequest.md index 948ff515..1711b49f 100644 --- a/old_docs/API_docs_v18/constructors/userRequest.md +++ b/old_docs/API_docs_v18/constructors/userRequest.md @@ -28,13 +28,13 @@ description: userRequest attributes, type and example ### Example: ``` -$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userRequest", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userRequest={_='userRequest', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 e0de616c..0f4b332b 100644 --- a/old_docs/API_docs_v18/constructors/userSelf.md +++ b/old_docs/API_docs_v18/constructors/userSelf.md @@ -28,13 +28,13 @@ description: userSelf attributes, type and example ### Example: ``` -$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","inactive":"Bool"} +{"_": "userSelf", "id": int, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus, "inactive": Bool} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userSelf={_='userSelf', id=int, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, inactive=Bool, } +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 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v18/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v18/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/userStatusOffline.md b/old_docs/API_docs_v18/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v18/constructors/vector.md +++ b/old_docs/API_docs_v18/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v18/constructors/video.md b/old_docs/API_docs_v18/constructors/video.md index 0654783d..76da6f86 100644 --- a/old_docs/API_docs_v18/constructors/video.md +++ b/old_docs/API_docs_v18/constructors/video.md @@ -32,13 +32,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v18/constructors/videoEmpty.md +++ b/old_docs/API_docs_v18/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v18/constructors/wallPaper.md +++ b/old_docs/API_docs_v18/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v18/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v18/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v18/methods/auth_importAuthorization.md b/old_docs/API_docs_v18/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v18/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_logOut.md b/old_docs/API_docs_v18/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v18/methods/auth_logOut.md +++ b/old_docs/API_docs_v18/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendCode.md b/old_docs/API_docs_v18/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCode.md +++ b/old_docs/API_docs_v18/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_signIn.md b/old_docs/API_docs_v18/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v18/methods/auth_signIn.md +++ b/old_docs/API_docs_v18/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_signUp.md b/old_docs/API_docs_v18/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v18/methods/auth_signUp.md +++ b/old_docs/API_docs_v18/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 ce935838..7e026e5f 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer18 -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 2fbe221b..b2ddbbf0 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 9eb4b9db..d7de3fdb 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.createChat({users={InputUser}, title=string, }) +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 b5241a5a..b8efa078 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 e35980f0..4905ff2d 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v18/methods/messages_discardEncryption.md b/old_docs/API_docs_v18/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v18/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 dce891c9..a30f20d6 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 204a61ef..959d66e0 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 b1b12d62..10ca9f02 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 a3226dc8..c4c5a050 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v18/methods/messages_getDhConfig.md b/old_docs/API_docs_v18/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v18/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index bb46805d..074911f6 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","max_id":"int","limit":"int"} +* params - {"offset": int, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_getFullChat.md b/old_docs/API_docs_v18/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v18/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v18/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index e0d42140..9a228dba 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 98efdca3..7753e2ac 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int","read_contents":"Bool"} +* params - {"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 4777d38c..b09ef5cd 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 7384bbb3..8c28721e 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_receivedQueue.md b/old_docs/API_docs_v18/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v18/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v18/methods/messages_requestEncryption.md b/old_docs/API_docs_v18/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v18/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 3c8a6d1e..55386b55 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 70c336e2..2b2ad1ca 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","media":"InputMedia"} +* params - {"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 45a51c0c..ff1c416d 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","message":"string"} +* params - {"peer": InputPeer, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -messages_SentMessage = messages.sendMessage({peer=InputPeer, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 cadae34a..d4fd02be 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v18/methods/updates_getDifference.md b/old_docs/API_docs_v18/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v18/methods/updates_getDifference.md +++ b/old_docs/API_docs_v18/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v18/methods/updates_getState.md b/old_docs/API_docs_v18/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v18/methods/updates_getState.md +++ b/old_docs/API_docs_v18/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v18/methods/upload_getFile.md b/old_docs/API_docs_v18/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v18/methods/upload_getFile.md +++ b/old_docs/API_docs_v18/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v18/methods/upload_saveFilePart.md b/old_docs/API_docs_v18/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v18/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v18/methods/users_getFullUser.md b/old_docs/API_docs_v18/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v18/methods/users_getFullUser.md +++ b/old_docs/API_docs_v18/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v23/constructors/accountDaysTTL.md b/old_docs/API_docs_v23/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v23/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v23/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v23/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v23/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 6201866c..3a5cad14 100644 --- a/old_docs/API_docs_v23/constructors/audio.md +++ b/old_docs/API_docs_v23/constructors/audio.md @@ -28,13 +28,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "user_id": int, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v23/constructors/audioEmpty.md +++ b/old_docs/API_docs_v23/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 e8a16730..b1f8ab87 100644 --- a/old_docs/API_docs_v23/constructors/auth_authorization.md +++ b/old_docs/API_docs_v23/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","expires":"int","user":"User"} +{"_": "auth.authorization", "expires": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', expires=int, user=User, } +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 4fd0f96a..5a0f838f 100644 --- a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md @@ -22,13 +22,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool","phone_invited":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool, "phone_invited": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v23/constructors/chat.md +++ b/old_docs/API_docs_v23/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v23/constructors/chatEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v23/constructors/chatForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 9bf2e470..562aaef9 100644 --- a/old_docs/API_docs_v23/constructors/chatFull.md +++ b/old_docs/API_docs_v23/constructors/chatFull.md @@ -24,13 +24,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipant.md +++ b/old_docs/API_docs_v23/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipants.md +++ b/old_docs/API_docs_v23/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v23/constructors/chatPhoto.md +++ b/old_docs/API_docs_v23/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/config.md b/old_docs/API_docs_v23/constructors/config.md index 6ebb1322..52cf35b3 100644 --- a/old_docs/API_docs_v23/constructors/config.md +++ b/old_docs/API_docs_v23/constructors/config.md @@ -29,13 +29,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -43,7 +43,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v23/constructors/contact.md +++ b/old_docs/API_docs_v23/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v23/constructors/contactBlocked.md +++ b/old_docs/API_docs_v23/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v23/constructors/contactFound.md +++ b/old_docs/API_docs_v23/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v23/constructors/contactStatus.md +++ b/old_docs/API_docs_v23/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v23/constructors/contactSuggested.md +++ b/old_docs/API_docs_v23/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v23/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 3bb92e02..cd57f9bf 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md @@ -16,13 +16,13 @@ description: contacts_foreignLinkMutual attributes, type and example ### Example: ``` -$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual', ]; +$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkMutual"} +{"_": "contacts.foreignLinkMutual"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkMutual={_='contacts.foreignLinkMutual', } +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 163db9af..a6bd437b 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md @@ -21,13 +21,13 @@ description: contacts_foreignLinkRequested attributes, type and example ### Example: ``` -$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool, ]; +$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkRequested","has_phone":"Bool"} +{"_": "contacts.foreignLinkRequested", "has_phone": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool, } +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 c8b8e195..a7cb31c8 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md @@ -16,13 +16,13 @@ description: contacts_foreignLinkUnknown attributes, type and example ### Example: ``` -$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown', ]; +$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.foreignLinkUnknown"} +{"_": "contacts.foreignLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v23/constructors/contacts_found.md +++ b/old_docs/API_docs_v23/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 3c640e31..4c20d8c3 100644 --- a/old_docs/API_docs_v23/constructors/contacts_link.md +++ b/old_docs/API_docs_v23/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink","user":"User"} +{"_": "contacts.link", "my_link": contacts_MyLink, "foreign_link": contacts_ForeignLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User, } +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 50553ccd..7ff60d43 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md @@ -16,13 +16,13 @@ description: contacts_myLinkContact attributes, type and example ### Example: ``` -$contacts_myLinkContact = ['_' => 'contacts.myLinkContact', ]; +$contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkContact"} +{"_": "contacts.myLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_myLinkContact={_='contacts.myLinkContact', } +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 a8fda78f..ba662561 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md @@ -16,13 +16,13 @@ description: contacts_myLinkEmpty attributes, type and example ### Example: ``` -$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty', ]; +$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkEmpty"} +{"_": "contacts.myLinkEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_myLinkEmpty={_='contacts.myLinkEmpty', } +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 88dd915d..89354a38 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md @@ -21,13 +21,13 @@ description: contacts_myLinkRequested attributes, type and example ### Example: ``` -$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool, ]; +$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.myLinkRequested","contact":"Bool"} +{"_": "contacts.myLinkRequested", "contact": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v23/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v23/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 a6e9a02f..2093c0c5 100644 --- a/old_docs/API_docs_v23/constructors/dcOption.md +++ b/old_docs/API_docs_v23/constructors/dcOption.md @@ -24,13 +24,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "hostname": "string", "ip_address": "string", "port": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, hostname=string, ip_address=string, port=int, } +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 3fc6d971..eda9088f 100644 --- a/old_docs/API_docs_v23/constructors/dialog.md +++ b/old_docs/API_docs_v23/constructors/dialog.md @@ -24,13 +24,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v23/constructors/disabledFeature.md +++ b/old_docs/API_docs_v23/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v23/constructors/document.md +++ b/old_docs/API_docs_v23/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md index 6479c10b..5e51eca8 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md @@ -21,13 +21,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int"} +{"_": "documentAttributeAudio", "duration": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 413ca9fc..c6e43768 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeSticker.md @@ -16,13 +16,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker"} +{"_": "documentAttributeSticker"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', } +documentAttributeSticker={_='documentAttributeSticker'} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md index f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v23/constructors/documentEmpty.md +++ b/old_docs/API_docs_v23/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChat.md +++ b/old_docs/API_docs_v23/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFile.md +++ b/old_docs/API_docs_v23/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedMessage.md b/old_docs/API_docs_v23/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v23/constructors/error.md +++ b/old_docs/API_docs_v23/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v23/constructors/fileLocation.md +++ b/old_docs/API_docs_v23/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v23/constructors/geoPoint.md +++ b/old_docs/API_docs_v23/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v23/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v23/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v23/constructors/help_inviteText.md +++ b/old_docs/API_docs_v23/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v23/constructors/help_support.md +++ b/old_docs/API_docs_v23/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v23/constructors/importedContact.md +++ b/old_docs/API_docs_v23/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v23/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v23/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v23/constructors/inputAudio.md +++ b/old_docs/API_docs_v23/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v23/constructors/inputDocument.md +++ b/old_docs/API_docs_v23/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v23/constructors/inputFile.md +++ b/old_docs/API_docs_v23/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v23/constructors/inputFileBig.md +++ b/old_docs/API_docs_v23/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v23/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaAudio.md b/old_docs/API_docs_v23/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v23/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 9746ce43..b5824ba5 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaPhoto.md @@ -21,13 +21,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto"} +{"_": "inputMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 4b7ac5a3..c1322d55 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile"} +{"_": "inputMediaUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 ef54d767..808985f7 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 bdd5527a..a189610d 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md @@ -25,13 +25,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 07251b4a..44ec9517 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaVideo.md @@ -21,13 +21,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo"} +{"_": "inputMediaVideo", "id": InputVideo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyAll.md b/old_docs/API_docs_v23/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyChats.md b/old_docs/API_docs_v23/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerChat.md b/old_docs/API_docs_v23/constructors/inputPeerChat.md index e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v23/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 88d5488b..7f58cae5 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v23/constructors/inputPeerContact.md @@ -21,13 +21,13 @@ description: inputPeerContact attributes, type and example ### Example: ``` -$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerContact","user_id":"int"} +{"_": "inputPeerContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerContact={_='inputPeerContact', user_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerForeign.md b/old_docs/API_docs_v23/constructors/inputPeerForeign.md index 003416ba..585547a7 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v23/constructors/inputPeerForeign.md @@ -22,13 +22,13 @@ description: inputPeerForeign attributes, type and example ### Example: ``` -$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +{"_": "inputPeerForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long, } +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 bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v23/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhoneContact.md b/old_docs/API_docs_v23/constructors/inputPhoneContact.md index 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v23/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserContact.md b/old_docs/API_docs_v23/constructors/inputUserContact.md index c2b1f85c..c6ad34a5 100644 --- a/old_docs/API_docs_v23/constructors/inputUserContact.md +++ b/old_docs/API_docs_v23/constructors/inputUserContact.md @@ -21,13 +21,13 @@ description: inputUserContact attributes, type and example ### Example: ``` -$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserContact","user_id":"int"} +{"_": "inputUserContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputUserContact={_='inputUserContact', user_id=int, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v23/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserForeign.md b/old_docs/API_docs_v23/constructors/inputUserForeign.md index 1c4b6331..b7f70e07 100644 --- a/old_docs/API_docs_v23/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v23/constructors/inputUserForeign.md @@ -22,13 +22,13 @@ description: inputUserForeign attributes, type and example ### Example: ``` -$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +{"_": "inputUserForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long, } +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 b57fe677..f61db155 100644 --- a/old_docs/API_docs_v23/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v23/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputVideo.md b/old_docs/API_docs_v23/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v23/constructors/inputVideo.md +++ b/old_docs/API_docs_v23/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 99705c7a..dad9e9ed 100644 --- a/old_docs/API_docs_v23/constructors/message.md +++ b/old_docs/API_docs_v23/constructors/message.md @@ -26,13 +26,13 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"message","id":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +{"_": "message", "id": int, "from_id": int, "to_id": Peer, "date": int, "message": "string", "media": MessageMedia} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -message={_='message', id=int, from_id=int, to_id=Peer, date=int, message=string, media=MessageMedia, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v23/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageEmpty.md b/old_docs/API_docs_v23/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v23/constructors/messageEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 c524f5d7..a954e7c7 100644 --- a/old_docs/API_docs_v23/constructors/messageForwarded.md +++ b/old_docs/API_docs_v23/constructors/messageForwarded.md @@ -28,13 +28,13 @@ description: messageForwarded attributes, type and example ### Example: ``` -$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageForwarded","id":"int","fwd_from_id":"int","fwd_date":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +{"_": "messageForwarded", "id": int, "fwd_from_id": int, "fwd_date": int, "from_id": int, "to_id": Peer, "date": int, "message": "string", "media": MessageMedia} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -messageForwarded={_='messageForwarded', id=int, fwd_from_id=int, fwd_date=int, from_id=int, to_id=Peer, date=int, message=string, media=MessageMedia, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v23/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaGeo.md b/old_docs/API_docs_v23/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 779e2d18..85fcdaef 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageMediaPhoto.md @@ -21,13 +21,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo"} +{"_": "messageMediaPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, } +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 cc9658b9..6ff7d635 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md @@ -21,13 +21,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported","bytes":"bytes"} +{"_": "messageMediaUnsupported", "bytes": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', bytes=bytes, } +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 344e27a9..6b246560 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaVideo.md @@ -21,13 +21,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video"} +{"_": "messageMediaVideo", "video": Video} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, } +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 28c8207f..432bf69b 100644 --- a/old_docs/API_docs_v23/constructors/messageService.md +++ b/old_docs/API_docs_v23/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 b6ca6fcc..9f83afaf 100644 --- a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","seq":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "seq": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int, } +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 7fc711c1..b9154bf9 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickers.md @@ -23,13 +23,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.allStickers", "hash": "string", "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, packs={StickerPack}, documents={Document}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v23/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v23/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 899edd62..acdf5a62 100644 --- a/old_docs/API_docs_v23/constructors/messages_chats.md +++ b/old_docs/API_docs_v23/constructors/messages_chats.md @@ -22,13 +22,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"],"users":["User"]} +{"_": "messages.chats", "chats": [Chat], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, users={User}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v23/constructors/messages_messages.md +++ b/old_docs/API_docs_v23/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 b0e96329..96b8f86f 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessage.md @@ -24,13 +24,13 @@ description: messages_sentMessage attributes, type and example ### Example: ``` -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; +$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","seq":"int"} +{"_": "messages.sentMessage", "id": int, "date": int, "pts": int, "seq": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int, } +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 944bc8bc..a0b3c2e7 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md @@ -25,13 +25,13 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","seq":"int","links":["contacts_Link"]} +{"_": "messages.sentMessageLink", "id": int, "date": int, "pts": int, "seq": int, "links": [contacts_Link]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}, } +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 a66a7a3e..f4983c4f 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessage.md @@ -25,13 +25,13 @@ description: messages_statedMessage attributes, type and example ### Example: ``` -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; +$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +{"_": "messages.statedMessage", "message": Message, "chats": [Chat], "users": [User], "pts": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int, } +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 3d3313e7..b7cbabf1 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md @@ -26,13 +26,13 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +{"_": "messages.statedMessageLink", "message": Message, "chats": [Chat], "users": [User], "links": [contacts_Link], "pts": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } +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 782fb694..dc262a12 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessages.md @@ -25,13 +25,13 @@ description: messages_statedMessages attributes, type and example ### Example: ``` -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; +$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +{"_": "messages.statedMessages", "messages": [Message], "chats": [Chat], "users": [User], "pts": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int, } +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 436865f3..b1231108 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md @@ -26,13 +26,13 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +{"_": "messages.statedMessagesLinks", "messages": [Message], "chats": [Chat], "users": [User], "links": [contacts_Link], "pts": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickers.md +++ b/old_docs/API_docs_v23/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v23/constructors/nearestDc.md +++ b/old_docs/API_docs_v23/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v23/constructors/notifyAll.md +++ b/old_docs/API_docs_v23/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyChats.md b/old_docs/API_docs_v23/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v23/constructors/notifyChats.md +++ b/old_docs/API_docs_v23/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyPeer.md b/old_docs/API_docs_v23/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v23/constructors/notifyPeer.md +++ b/old_docs/API_docs_v23/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v23/constructors/notifyUsers.md +++ b/old_docs/API_docs_v23/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerChat.md b/old_docs/API_docs_v23/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v23/constructors/peerChat.md +++ b/old_docs/API_docs_v23/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifySettings.md b/old_docs/API_docs_v23/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerUser.md b/old_docs/API_docs_v23/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v23/constructors/peerUser.md +++ b/old_docs/API_docs_v23/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 c9d756b7..18978a35 100644 --- a/old_docs/API_docs_v23/constructors/photo.md +++ b/old_docs/API_docs_v23/constructors/photo.md @@ -27,13 +27,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "user_id": int, "date": int, "caption": "string", "geo": GeoPoint, "sizes": [PhotoSize]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption=string, geo=GeoPoint, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v23/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v23/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v23/constructors/photoEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v23/constructors/photoSize.md +++ b/old_docs/API_docs_v23/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v23/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v23/constructors/photos_photo.md +++ b/old_docs/API_docs_v23/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v23/constructors/photos_photos.md +++ b/old_docs/API_docs_v23/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v23/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v23/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md index 555007a0..4df6422b 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction"} +{"_": "sendMessageUploadAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', } +sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md index a9f731b2..b5d2f65b 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction"} +{"_": "sendMessageUploadDocumentAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md index 0fb5a157..8ad9c12a 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction"} +{"_": "sendMessageUploadPhotoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md index 9d6684e0..66b6182b 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction"} +{"_": "sendMessageUploadVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', } +sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/stickerPack.md b/old_docs/API_docs_v23/constructors/stickerPack.md index 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v23/constructors/stickerPack.md +++ b/old_docs/API_docs_v23/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v23/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v23/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v23/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePng.md +++ b/old_docs/API_docs_v23/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v23/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v23/constructors/true.md +++ b/old_docs/API_docs_v23/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md index 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v23/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 9314cdcb..44eccd2a 100644 --- a/old_docs/API_docs_v23/constructors/updateContactLink.md +++ b/old_docs/API_docs_v23/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink"} +{"_": "updateContactLink", "user_id": int, "my_link": contacts_MyLink, "foreign_link": contacts_ForeignLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v23/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v23/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v23/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v23/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 fdeb65a8..65200413 100644 --- a/old_docs/API_docs_v23/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v23/constructors/updateDeleteMessages.md @@ -22,13 +22,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryption.md +++ b/old_docs/API_docs_v23/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v23/constructors/updateMessageID.md +++ b/old_docs/API_docs_v23/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v23/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v23/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 a152190d..c8e88b64 100644 --- a/old_docs/API_docs_v23/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewMessage.md @@ -22,13 +22,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v23/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v23/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v23/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 de6b7f2e..8f23532d 100644 --- a/old_docs/API_docs_v23/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v23/constructors/updateReadMessages.md @@ -22,13 +22,13 @@ description: updateReadMessages attributes, type and example ### Example: ``` -$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, ]; +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessages","messages":["int"],"pts":"int"} +{"_": "updateReadMessages", "messages": [int], "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadMessages={_='updateReadMessages', messages={int}, pts=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v23/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v23/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v23/constructors/updateShort.md +++ b/old_docs/API_docs_v23/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 899dca5e..f4085b50 100644 --- a/old_docs/API_docs_v23/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortChatMessage.md @@ -27,13 +27,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortChatMessage","id":"int","from_id":"int","chat_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +{"_": "updateShortChatMessage", "id": int, "from_id": int, "chat_id": int, "message": "string", "pts": int, "date": int, "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message=string, pts=int, date=int, seq=int, } +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 54d61720..bc333d8f 100644 --- a/old_docs/API_docs_v23/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortMessage.md @@ -26,13 +26,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortMessage","id":"int","from_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +{"_": "updateShortMessage", "id": int, "from_id": int, "message": "string", "pts": int, "date": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', id=int, from_id=int, message=string, pts=int, date=int, seq=int, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v23/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v23/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v23/constructors/updateUserName.md +++ b/old_docs/API_docs_v23/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v23/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v23/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v23/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v23/constructors/updates.md +++ b/old_docs/API_docs_v23/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v23/constructors/updatesCombined.md +++ b/old_docs/API_docs_v23/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v23/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v23/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v23/constructors/updates_difference.md +++ b/old_docs/API_docs_v23/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v23/constructors/updates_state.md +++ b/old_docs/API_docs_v23/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v23/constructors/upload_file.md +++ b/old_docs/API_docs_v23/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 30c1fdd9..f511ff88 100644 --- a/old_docs/API_docs_v23/constructors/userContact.md +++ b/old_docs/API_docs_v23/constructors/userContact.md @@ -28,13 +28,13 @@ description: userContact attributes, type and example ### Example: ``` -$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userContact", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userContact={_='userContact', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 9fcd1e83..4788a341 100644 --- a/old_docs/API_docs_v23/constructors/userDeleted.md +++ b/old_docs/API_docs_v23/constructors/userDeleted.md @@ -24,13 +24,13 @@ description: userDeleted attributes, type and example ### Example: ``` -$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "userDeleted", "id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -userDeleted={_='userDeleted', id=int, first_name=string, last_name=string, username=string, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v23/constructors/userEmpty.md +++ b/old_docs/API_docs_v23/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 810cce6a..610f884e 100644 --- a/old_docs/API_docs_v23/constructors/userForeign.md +++ b/old_docs/API_docs_v23/constructors/userForeign.md @@ -27,13 +27,13 @@ description: userForeign attributes, type and example ### Example: ``` -$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userForeign", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userForeign={_='userForeign', id=int, first_name=string, last_name=string, username=string, access_hash=long, photo=UserProfilePhoto, status=UserStatus, } +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 fc5ce2d1..d5967a85 100644 --- a/old_docs/API_docs_v23/constructors/userFull.md +++ b/old_docs/API_docs_v23/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "real_first_name": "string", "real_last_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/userRequest.md b/old_docs/API_docs_v23/constructors/userRequest.md index 948ff515..1711b49f 100644 --- a/old_docs/API_docs_v23/constructors/userRequest.md +++ b/old_docs/API_docs_v23/constructors/userRequest.md @@ -28,13 +28,13 @@ description: userRequest attributes, type and example ### Example: ``` -$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userRequest", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userRequest={_='userRequest', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 e0de616c..0f4b332b 100644 --- a/old_docs/API_docs_v23/constructors/userSelf.md +++ b/old_docs/API_docs_v23/constructors/userSelf.md @@ -28,13 +28,13 @@ description: userSelf attributes, type and example ### Example: ``` -$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","inactive":"Bool"} +{"_": "userSelf", "id": int, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus, "inactive": Bool} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userSelf={_='userSelf', id=int, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, inactive=Bool, } +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 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v23/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v23/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusOffline.md b/old_docs/API_docs_v23/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v23/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v23/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v23/constructors/vector.md b/old_docs/API_docs_v23/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v23/constructors/vector.md +++ b/old_docs/API_docs_v23/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v23/constructors/video.md b/old_docs/API_docs_v23/constructors/video.md index 0654783d..76da6f86 100644 --- a/old_docs/API_docs_v23/constructors/video.md +++ b/old_docs/API_docs_v23/constructors/video.md @@ -32,13 +32,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v23/constructors/videoEmpty.md +++ b/old_docs/API_docs_v23/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v23/constructors/wallPaper.md +++ b/old_docs/API_docs_v23/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v23/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v23/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v23/methods/auth_importAuthorization.md b/old_docs/API_docs_v23/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v23/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_logOut.md b/old_docs/API_docs_v23/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v23/methods/auth_logOut.md +++ b/old_docs/API_docs_v23/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendCode.md b/old_docs/API_docs_v23/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCode.md +++ b/old_docs/API_docs_v23/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_signIn.md b/old_docs/API_docs_v23/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v23/methods/auth_signIn.md +++ b/old_docs/API_docs_v23/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_signUp.md b/old_docs/API_docs_v23/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v23/methods/auth_signUp.md +++ b/old_docs/API_docs_v23/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md index 06cce35c..b8102828 100644 --- a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$User = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = contacts.resolveUsername({username=string, }) +User = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"layer": int, "query": !X, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 2fbe221b..b2ddbbf0 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 9eb4b9db..d7de3fdb 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.createChat({users={InputUser}, title=string, }) +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 b5241a5a..b8efa078 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 e35980f0..4905ff2d 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v23/methods/messages_discardEncryption.md b/old_docs/API_docs_v23/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v23/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 dce891c9..a30f20d6 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 204a61ef..959d66e0 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 b1b12d62..10ca9f02 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 a3226dc8..c4c5a050 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v23/methods/messages_getDhConfig.md b/old_docs/API_docs_v23/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v23/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index bb46805d..074911f6 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","max_id":"int","limit":"int"} +* params - {"offset": int, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_getFullChat.md b/old_docs/API_docs_v23/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v23/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v23/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index e0d42140..9a228dba 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 98efdca3..7753e2ac 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int","read_contents":"Bool"} +* params - {"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 4777d38c..b09ef5cd 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 7384bbb3..8c28721e 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_receivedQueue.md b/old_docs/API_docs_v23/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v23/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v23/methods/messages_requestEncryption.md b/old_docs/API_docs_v23/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v23/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 3c8a6d1e..55386b55 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 70c336e2..2b2ad1ca 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","media":"InputMedia"} +* params - {"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 45a51c0c..ff1c416d 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","message":"string"} +* params - {"peer": InputPeer, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -messages_SentMessage = messages.sendMessage({peer=InputPeer, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 cadae34a..d4fd02be 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v23/methods/updates_getDifference.md b/old_docs/API_docs_v23/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v23/methods/updates_getDifference.md +++ b/old_docs/API_docs_v23/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v23/methods/updates_getState.md b/old_docs/API_docs_v23/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v23/methods/updates_getState.md +++ b/old_docs/API_docs_v23/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v23/methods/upload_getFile.md b/old_docs/API_docs_v23/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v23/methods/upload_getFile.md +++ b/old_docs/API_docs_v23/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v23/methods/upload_saveFilePart.md b/old_docs/API_docs_v23/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v23/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v23/methods/users_getFullUser.md b/old_docs/API_docs_v23/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v23/methods/users_getFullUser.md +++ b/old_docs/API_docs_v23/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v25/constructors/accountDaysTTL.md b/old_docs/API_docs_v25/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v25/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v25/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1b9391b0..d721b79a 100644 --- a/old_docs/API_docs_v25/constructors/account_noPassword.md +++ b/old_docs/API_docs_v25/constructors/account_noPassword.md @@ -21,13 +21,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes"} +{"_": "account.noPassword", "new_salt": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, } +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 d6359658..2131c207 100644 --- a/old_docs/API_docs_v25/constructors/account_password.md +++ b/old_docs/API_docs_v25/constructors/account_password.md @@ -23,13 +23,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v25/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v25/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 6201866c..3a5cad14 100644 --- a/old_docs/API_docs_v25/constructors/audio.md +++ b/old_docs/API_docs_v25/constructors/audio.md @@ -28,13 +28,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "user_id": int, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v25/constructors/audioEmpty.md +++ b/old_docs/API_docs_v25/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 e8a16730..b1f8ab87 100644 --- a/old_docs/API_docs_v25/constructors/auth_authorization.md +++ b/old_docs/API_docs_v25/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","expires":"int","user":"User"} +{"_": "auth.authorization", "expires": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', expires=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v25/constructors/chat.md +++ b/old_docs/API_docs_v25/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v25/constructors/chatEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v25/constructors/chatForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 9bf2e470..562aaef9 100644 --- a/old_docs/API_docs_v25/constructors/chatFull.md +++ b/old_docs/API_docs_v25/constructors/chatFull.md @@ -24,13 +24,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, } +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 75537f7a..b73325bf 100644 --- a/old_docs/API_docs_v25/constructors/chatLocated.md +++ b/old_docs/API_docs_v25/constructors/chatLocated.md @@ -22,13 +22,13 @@ description: chatLocated attributes, type and example ### Example: ``` -$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatLocated","chat_id":"int","distance":"int"} +{"_": "chatLocated", "chat_id": int, "distance": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatLocated={_='chatLocated', chat_id=int, distance=int, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipant.md +++ b/old_docs/API_docs_v25/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipants.md +++ b/old_docs/API_docs_v25/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v25/constructors/chatPhoto.md +++ b/old_docs/API_docs_v25/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/config.md b/old_docs/API_docs_v25/constructors/config.md index 11eb377a..495c67d8 100644 --- a/old_docs/API_docs_v25/constructors/config.md +++ b/old_docs/API_docs_v25/constructors/config.md @@ -35,13 +35,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v25/constructors/contact.md +++ b/old_docs/API_docs_v25/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v25/constructors/contactBlocked.md +++ b/old_docs/API_docs_v25/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v25/constructors/contactFound.md +++ b/old_docs/API_docs_v25/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v25/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkNone.md b/old_docs/API_docs_v25/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactStatus.md b/old_docs/API_docs_v25/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v25/constructors/contactStatus.md +++ b/old_docs/API_docs_v25/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v25/constructors/contactSuggested.md +++ b/old_docs/API_docs_v25/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v25/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v25/constructors/contacts_found.md +++ b/old_docs/API_docs_v25/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v25/constructors/contacts_link.md +++ b/old_docs/API_docs_v25/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v25/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v25/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 a6e9a02f..2093c0c5 100644 --- a/old_docs/API_docs_v25/constructors/dcOption.md +++ b/old_docs/API_docs_v25/constructors/dcOption.md @@ -24,13 +24,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "hostname": "string", "ip_address": "string", "port": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, hostname=string, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v25/constructors/dialog.md +++ b/old_docs/API_docs_v25/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v25/constructors/disabledFeature.md +++ b/old_docs/API_docs_v25/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v25/constructors/document.md +++ b/old_docs/API_docs_v25/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md index 6479c10b..5e51eca8 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md @@ -21,13 +21,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int"} +{"_": "documentAttributeAudio", "duration": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 43f36feb..8988de1b 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeSticker.md @@ -21,13 +21,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string"} +{"_": "documentAttributeSticker", "alt": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v25/constructors/documentEmpty.md +++ b/old_docs/API_docs_v25/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChat.md +++ b/old_docs/API_docs_v25/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFile.md +++ b/old_docs/API_docs_v25/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedMessage.md b/old_docs/API_docs_v25/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v25/constructors/error.md +++ b/old_docs/API_docs_v25/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v25/constructors/fileLocation.md +++ b/old_docs/API_docs_v25/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 26d7c67b..9e8ebda5 100644 --- a/old_docs/API_docs_v25/constructors/geoChat.md +++ b/old_docs/API_docs_v25/constructors/geoChat.md @@ -31,13 +31,13 @@ description: geoChat attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 278791f0..ed8ec512 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessage.md @@ -26,13 +26,13 @@ description: geoChatMessage attributes, type and example ### Example: ``` -$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +{"_": "geoChatMessage", "chat_id": int, "id": int, "from_id": int, "date": int, "message": "string", "media": MessageMedia} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message=string, media=MessageMedia, } +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 403d5713..0a5108e9 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md @@ -22,13 +22,13 @@ description: geoChatMessageEmpty attributes, type and example ### Example: ``` -$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +{"_": "geoChatMessageEmpty", "chat_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int, } +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 b17d00d2..88e95523 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageService.md @@ -25,13 +25,13 @@ description: geoChatMessageService attributes, type and example ### Example: ``` -$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +{"_": "geoChatMessageService", "chat_id": int, "id": int, "from_id": int, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v25/constructors/geoPoint.md +++ b/old_docs/API_docs_v25/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v25/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 f5f47dd1..0fa25959 100644 --- a/old_docs/API_docs_v25/constructors/geochats_located.md +++ b/old_docs/API_docs_v25/constructors/geochats_located.md @@ -24,13 +24,13 @@ description: geochats_located attributes, type and example ### Example: ``` -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.located", "results": [ChatLocated], "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 03667532..3fcea875 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messages.md +++ b/old_docs/API_docs_v25/constructors/geochats_messages.md @@ -23,13 +23,13 @@ description: geochats_messages attributes, type and example ### Example: ``` -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messages", "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 5e9babba..6b379069 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md @@ -24,13 +24,13 @@ description: geochats_messagesSlice attributes, type and example ### Example: ``` -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messagesSlice", "count": int, "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 2adc55a4..73ebfbf2 100644 --- a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md @@ -24,13 +24,13 @@ description: geochats_statedMessage attributes, type and example ### Example: ``` -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; +$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +{"_": "geochats.statedMessage", "message": GeoChatMessage, "chats": [Chat], "users": [User], "seq": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int, } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v25/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v25/constructors/help_inviteText.md +++ b/old_docs/API_docs_v25/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v25/constructors/help_support.md +++ b/old_docs/API_docs_v25/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v25/constructors/importedContact.md +++ b/old_docs/API_docs_v25/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v25/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v25/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v25/constructors/inputAudio.md +++ b/old_docs/API_docs_v25/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v25/constructors/inputDocument.md +++ b/old_docs/API_docs_v25/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v25/constructors/inputFile.md +++ b/old_docs/API_docs_v25/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v25/constructors/inputFileBig.md +++ b/old_docs/API_docs_v25/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v25/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 4841c285..b1def819 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v25/constructors/inputGeoChat.md @@ -22,13 +22,13 @@ description: inputGeoChat attributes, type and example ### Example: ``` -$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +{"_": "inputGeoChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaAudio.md b/old_docs/API_docs_v25/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v25/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 9746ce43..b5824ba5 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaPhoto.md @@ -21,13 +21,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto"} +{"_": "inputMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 4b7ac5a3..c1322d55 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile"} +{"_": "inputMediaUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 ef54d767..808985f7 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 bdd5527a..a189610d 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md @@ -25,13 +25,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 07251b4a..44ec9517 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaVideo.md @@ -21,13 +21,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo"} +{"_": "inputMediaVideo", "id": InputVideo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyAll.md b/old_docs/API_docs_v25/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyChats.md b/old_docs/API_docs_v25/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md index 82927289..455e7fb2 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md @@ -21,13 +21,13 @@ description: inputNotifyGeoChatPeer attributes, type and example ### Example: ``` -$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +{"_": "inputNotifyGeoChatPeer", "peer": InputGeoChat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat, } +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 bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerChat.md b/old_docs/API_docs_v25/constructors/inputPeerChat.md index e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v25/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 88d5488b..7f58cae5 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v25/constructors/inputPeerContact.md @@ -21,13 +21,13 @@ description: inputPeerContact attributes, type and example ### Example: ``` -$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerContact","user_id":"int"} +{"_": "inputPeerContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerContact={_='inputPeerContact', user_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerForeign.md b/old_docs/API_docs_v25/constructors/inputPeerForeign.md index 003416ba..585547a7 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v25/constructors/inputPeerForeign.md @@ -22,13 +22,13 @@ description: inputPeerForeign attributes, type and example ### Example: ``` -$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +{"_": "inputPeerForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long, } +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 bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v25/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhoneContact.md b/old_docs/API_docs_v25/constructors/inputPhoneContact.md index 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v25/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 c2b1f85c..c6ad34a5 100644 --- a/old_docs/API_docs_v25/constructors/inputUserContact.md +++ b/old_docs/API_docs_v25/constructors/inputUserContact.md @@ -21,13 +21,13 @@ description: inputUserContact attributes, type and example ### Example: ``` -$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserContact","user_id":"int"} +{"_": "inputUserContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputUserContact={_='inputUserContact', user_id=int, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v25/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputUserForeign.md b/old_docs/API_docs_v25/constructors/inputUserForeign.md index 1c4b6331..b7f70e07 100644 --- a/old_docs/API_docs_v25/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v25/constructors/inputUserForeign.md @@ -22,13 +22,13 @@ description: inputUserForeign attributes, type and example ### Example: ``` -$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +{"_": "inputUserForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long, } +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 b57fe677..f61db155 100644 --- a/old_docs/API_docs_v25/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v25/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputVideo.md b/old_docs/API_docs_v25/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v25/constructors/inputVideo.md +++ b/old_docs/API_docs_v25/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 92933229..e3f4a1d5 100644 --- a/old_docs/API_docs_v25/constructors/message.md +++ b/old_docs/API_docs_v25/constructors/message.md @@ -29,13 +29,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v25/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md index 2ba609cc..bb915a42 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md @@ -16,13 +16,13 @@ description: messageActionGeoChatCheckin attributes, type and example ### Example: ``` -$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCheckin"} +{"_": "messageActionGeoChatCheckin"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCheckin={_='messageActionGeoChatCheckin', } +messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md index 4cdcab63..c1c2be2c 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md @@ -22,13 +22,13 @@ description: messageActionGeoChatCreate attributes, type and example ### Example: ``` -$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +{"_": "messageActionGeoChatCreate", "title": "string", "address": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCreate={_='messageActionGeoChatCreate', title=string, address=string, } +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 d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v25/constructors/messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v25/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaGeo.md b/old_docs/API_docs_v25/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 779e2d18..85fcdaef 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageMediaPhoto.md @@ -21,13 +21,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo"} +{"_": "messageMediaPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaVideo.md b/old_docs/API_docs_v25/constructors/messageMediaVideo.md index 344e27a9..6b246560 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaVideo.md @@ -21,13 +21,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video"} +{"_": "messageMediaVideo", "video": Video} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, } +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 28c8207f..432bf69b 100644 --- a/old_docs/API_docs_v25/constructors/messageService.md +++ b/old_docs/API_docs_v25/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 7fc711c1..b9154bf9 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickers.md @@ -23,13 +23,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.allStickers", "hash": "string", "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, packs={StickerPack}, documents={Document}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v25/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v25/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v25/constructors/messages_chats.md +++ b/old_docs/API_docs_v25/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2d89fe6d..6c2fd19f 100644 --- a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md @@ -16,13 +16,13 @@ description: messages_messageEmpty attributes, type and example ### Example: ``` -$messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; +$messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEmpty"} +{"_": "messages.messageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_messageEmpty={_='messages.messageEmpty', } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v25/constructors/messages_messages.md +++ b/old_docs/API_docs_v25/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 4cf12766..1cbe004b 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessage.md @@ -24,13 +24,13 @@ description: messages_sentMessage attributes, type and example ### Example: ``` -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, ]; +$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","pts_count":"int"} +{"_": "messages.sentMessage", "id": int, "date": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, pts_count=int, } +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 ef9a4f52..67515b2c 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md @@ -26,13 +26,13 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +{"_": "messages.sentMessageLink", "id": int, "date": int, "pts": int, "pts_count": int, "links": [contacts_Link], "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts_Link}, seq=int, } +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 9a627bd5..5b08455e 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessage.md @@ -25,13 +25,13 @@ description: messages_statedMessage attributes, type and example ### Example: ``` -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ]; +$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int"} +{"_": "messages.statedMessage", "message": Message, "chats": [Chat], "users": [User], "pts": int, "pts_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, } +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 a9a709c5..13c0cf2f 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md @@ -27,13 +27,13 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +{"_": "messages.statedMessageLink", "message": Message, "chats": [Chat], "users": [User], "pts": int, "pts_count": int, "links": [contacts_Link], "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int, } +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 1b2be507..a5141433 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessages.md @@ -25,13 +25,13 @@ description: messages_statedMessages attributes, type and example ### Example: ``` -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ]; +$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int"} +{"_": "messages.statedMessages", "messages": [Message], "chats": [Chat], "users": [User], "pts": int, "pts_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, } +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 20ac9a7f..628d6dc1 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md @@ -27,13 +27,13 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +{"_": "messages.statedMessagesLinks", "messages": [Message], "chats": [Chat], "users": [User], "pts": int, "pts_count": int, "links": [contacts_Link], "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickers.md +++ b/old_docs/API_docs_v25/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v25/constructors/nearestDc.md +++ b/old_docs/API_docs_v25/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v25/constructors/notifyAll.md +++ b/old_docs/API_docs_v25/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyChats.md b/old_docs/API_docs_v25/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v25/constructors/notifyChats.md +++ b/old_docs/API_docs_v25/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyPeer.md b/old_docs/API_docs_v25/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v25/constructors/notifyPeer.md +++ b/old_docs/API_docs_v25/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v25/constructors/notifyUsers.md +++ b/old_docs/API_docs_v25/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerChat.md b/old_docs/API_docs_v25/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v25/constructors/peerChat.md +++ b/old_docs/API_docs_v25/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifySettings.md b/old_docs/API_docs_v25/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerUser.md b/old_docs/API_docs_v25/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v25/constructors/peerUser.md +++ b/old_docs/API_docs_v25/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 c9d756b7..18978a35 100644 --- a/old_docs/API_docs_v25/constructors/photo.md +++ b/old_docs/API_docs_v25/constructors/photo.md @@ -27,13 +27,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "user_id": int, "date": int, "caption": "string", "geo": GeoPoint, "sizes": [PhotoSize]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption=string, geo=GeoPoint, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v25/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v25/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v25/constructors/photoEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v25/constructors/photoSize.md +++ b/old_docs/API_docs_v25/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v25/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v25/constructors/photos_photo.md +++ b/old_docs/API_docs_v25/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v25/constructors/photos_photos.md +++ b/old_docs/API_docs_v25/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v25/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v25/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md index 555007a0..4df6422b 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction"} +{"_": "sendMessageUploadAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', } +sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md index a9f731b2..b5d2f65b 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction"} +{"_": "sendMessageUploadDocumentAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md index 0fb5a157..8ad9c12a 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction"} +{"_": "sendMessageUploadPhotoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md index 9d6684e0..66b6182b 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction"} +{"_": "sendMessageUploadVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', } +sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/stickerPack.md b/old_docs/API_docs_v25/constructors/stickerPack.md index 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v25/constructors/stickerPack.md +++ b/old_docs/API_docs_v25/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v25/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v25/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v25/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePng.md +++ b/old_docs/API_docs_v25/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v25/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v25/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v25/constructors/updateContactLink.md +++ b/old_docs/API_docs_v25/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v25/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v25/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v25/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v25/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v25/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v25/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryption.md +++ b/old_docs/API_docs_v25/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v25/constructors/updateMessageID.md +++ b/old_docs/API_docs_v25/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v25/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v25/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 e58cfe12..4a85b741 100644 --- a/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md @@ -21,13 +21,13 @@ description: updateNewGeoChatMessage attributes, type and example ### Example: ``` -$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +{"_": "updateNewGeoChatMessage", "message": GeoChatMessage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v25/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v25/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v25/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v25/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 df1e73c6..5bd1f195 100644 --- a/old_docs/API_docs_v25/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v25/constructors/updateReadMessages.md @@ -23,13 +23,13 @@ description: updateReadMessages attributes, type and example ### Example: ``` -$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessages={_='updateReadMessages', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v25/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v25/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v25/constructors/updateShort.md +++ b/old_docs/API_docs_v25/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 c0246df1..358136b0 100644 --- a/old_docs/API_docs_v25/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortChatMessage.md @@ -30,13 +30,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 3911679c..9924d975 100644 --- a/old_docs/API_docs_v25/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortMessage.md @@ -29,13 +29,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v25/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v25/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v25/constructors/updateUserName.md +++ b/old_docs/API_docs_v25/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v25/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v25/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v25/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v25/constructors/updates.md +++ b/old_docs/API_docs_v25/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v25/constructors/updatesCombined.md +++ b/old_docs/API_docs_v25/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v25/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v25/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v25/constructors/updates_difference.md +++ b/old_docs/API_docs_v25/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v25/constructors/updates_state.md +++ b/old_docs/API_docs_v25/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v25/constructors/upload_file.md +++ b/old_docs/API_docs_v25/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 30c1fdd9..f511ff88 100644 --- a/old_docs/API_docs_v25/constructors/userContact.md +++ b/old_docs/API_docs_v25/constructors/userContact.md @@ -28,13 +28,13 @@ description: userContact attributes, type and example ### Example: ``` -$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userContact", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userContact={_='userContact', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 9fcd1e83..4788a341 100644 --- a/old_docs/API_docs_v25/constructors/userDeleted.md +++ b/old_docs/API_docs_v25/constructors/userDeleted.md @@ -24,13 +24,13 @@ description: userDeleted attributes, type and example ### Example: ``` -$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "userDeleted", "id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -userDeleted={_='userDeleted', id=int, first_name=string, last_name=string, username=string, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v25/constructors/userEmpty.md +++ b/old_docs/API_docs_v25/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 810cce6a..610f884e 100644 --- a/old_docs/API_docs_v25/constructors/userForeign.md +++ b/old_docs/API_docs_v25/constructors/userForeign.md @@ -27,13 +27,13 @@ description: userForeign attributes, type and example ### Example: ``` -$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userForeign", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userForeign={_='userForeign', id=int, first_name=string, last_name=string, username=string, access_hash=long, photo=UserProfilePhoto, status=UserStatus, } +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 fc5ce2d1..d5967a85 100644 --- a/old_docs/API_docs_v25/constructors/userFull.md +++ b/old_docs/API_docs_v25/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "real_first_name": "string", "real_last_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/userRequest.md b/old_docs/API_docs_v25/constructors/userRequest.md index 948ff515..1711b49f 100644 --- a/old_docs/API_docs_v25/constructors/userRequest.md +++ b/old_docs/API_docs_v25/constructors/userRequest.md @@ -28,13 +28,13 @@ description: userRequest attributes, type and example ### Example: ``` -$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userRequest", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userRequest={_='userRequest', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 844bd976..c40b6c17 100644 --- a/old_docs/API_docs_v25/constructors/userSelf.md +++ b/old_docs/API_docs_v25/constructors/userSelf.md @@ -27,13 +27,13 @@ description: userSelf attributes, type and example ### Example: ``` -$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userSelf", "id": int, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userSelf={_='userSelf', id=int, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v25/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v25/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusOffline.md b/old_docs/API_docs_v25/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v25/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v25/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v25/constructors/vector.md b/old_docs/API_docs_v25/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v25/constructors/vector.md +++ b/old_docs/API_docs_v25/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v25/constructors/video.md b/old_docs/API_docs_v25/constructors/video.md index 0654783d..76da6f86 100644 --- a/old_docs/API_docs_v25/constructors/video.md +++ b/old_docs/API_docs_v25/constructors/video.md @@ -32,13 +32,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v25/constructors/videoEmpty.md +++ b/old_docs/API_docs_v25/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v25/constructors/wallPaper.md +++ b/old_docs/API_docs_v25/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v25/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v25/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 c8877bbe..7480b3a5 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->setPassword(['current_password_hash' => bytes, 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, ]); +$Bool = $MadelineProto->account->setPassword(['current_password_hash' => 'bytes', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPassword -* params - {"current_password_hash":"bytes","new_salt":"bytes","new_password_hash":"bytes","hint":"string"} +* params - {"current_password_hash": "bytes", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", } ``` @@ -69,6 +69,6 @@ hint - Json encoded string Or, if you're into Lua: ``` -Bool = account.setPassword({current_password_hash=bytes, new_salt=bytes, new_password_hash=bytes, hint=string, }) +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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_checkPassword.md b/old_docs/API_docs_v25/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v25/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v25/methods/auth_importAuthorization.md b/old_docs/API_docs_v25/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v25/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_logOut.md b/old_docs/API_docs_v25/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v25/methods/auth_logOut.md +++ b/old_docs/API_docs_v25/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendCode.md b/old_docs/API_docs_v25/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCode.md +++ b/old_docs/API_docs_v25/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_signIn.md b/old_docs/API_docs_v25/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v25/methods/auth_signIn.md +++ b/old_docs/API_docs_v25/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_signUp.md b/old_docs/API_docs_v25/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v25/methods/auth_signUp.md +++ b/old_docs/API_docs_v25/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md index 06cce35c..b8102828 100644 --- a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$User = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = contacts.resolveUsername({username=string, }) +User = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 7a94d009..c23ce004 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.checkin -* params - {"peer":"InputGeoChat"} +* params - {"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 231b5c06..e472bca5 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.createGeoChat -* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} +* params - {"title": "string", "geo_point": InputGeoPoint, "address": "string", "venue": "string", } ``` @@ -69,6 +69,6 @@ venue - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.createGeoChat({title=string, geo_point=InputGeoPoint, address=string, venue=string, }) +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 e6f1522c..686656f5 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatPhoto -* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} +* params - {"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 0c542231..44741b92 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatTitle -* params - {"peer":"InputGeoChat","title":"string","address":"string"} +* params - {"peer": InputGeoChat, "title": "string", "address": "string", } ``` @@ -67,6 +67,6 @@ address - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title=string, address=string, }) +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 0f021e0e..80b26576 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getFullChat -* params - {"peer":"InputGeoChat"} +* params - {"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 b671011f..a5dc2d25 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getHistory -* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} +* params - {"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 3beab19e..845a5f12 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getLocated -* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} +* params - {"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 b8c7a2f2..98e11d45 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getRecents -* params - {"offset":"int","limit":"int"} +* params - {"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 33512fb1..76346999 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.search -* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputGeoChat, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -geochats_Messages = geochats.search({peer=InputGeoChat, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 77ac28f7..c57ce24a 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMedia -* params - {"peer":"InputGeoChat","media":"InputMedia"} +* params - {"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 95f36b1a..99306dab 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMessage -* params - {"peer":"InputGeoChat","message":"string"} +* params - {"peer": InputGeoChat, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message=string, }) +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 b4483f71..20655f84 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.setTyping -* params - {"peer":"InputGeoChat","typing":"Bool"} +* params - {"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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"layer": int, "query": !X, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 2fbe221b..b2ddbbf0 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 9eb4b9db..d7de3fdb 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.createChat({users={InputUser}, title=string, }) +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 b5241a5a..b8efa078 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v25/methods/messages_discardEncryption.md b/old_docs/API_docs_v25/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v25/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 dce891c9..a30f20d6 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 204a61ef..959d66e0 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 b1b12d62..10ca9f02 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 a3226dc8..c4c5a050 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v25/methods/messages_getDhConfig.md b/old_docs/API_docs_v25/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v25/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index bb46805d..074911f6 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","max_id":"int","limit":"int"} +* params - {"offset": int, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_getFullChat.md b/old_docs/API_docs_v25/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v25/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v25/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index e0d42140..9a228dba 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 e07ef5a3..2ad9fd62 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 7384bbb3..8c28721e 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_receivedQueue.md b/old_docs/API_docs_v25/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v25/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v25/methods/messages_requestEncryption.md b/old_docs/API_docs_v25/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v25/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 3c8a6d1e..55386b55 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 51ae49d8..0e37cbd4 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia"} +* params - {"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 175bdc58..429764c5 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string"} +* params - {"peer": InputPeer, "reply_to_msg_id": int, "message": "string", } ``` @@ -67,7 +67,7 @@ message - Json encoded string Or, if you're into Lua: ``` -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 cadae34a..d4fd02be 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v25/methods/updates_getDifference.md b/old_docs/API_docs_v25/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v25/methods/updates_getDifference.md +++ b/old_docs/API_docs_v25/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v25/methods/updates_getState.md b/old_docs/API_docs_v25/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v25/methods/updates_getState.md +++ b/old_docs/API_docs_v25/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v25/methods/upload_getFile.md b/old_docs/API_docs_v25/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v25/methods/upload_getFile.md +++ b/old_docs/API_docs_v25/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/upload_saveFilePart.md b/old_docs/API_docs_v25/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v25/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v25/methods/users_getFullUser.md b/old_docs/API_docs_v25/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v25/methods/users_getFullUser.md +++ b/old_docs/API_docs_v25/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v27/constructors/accountDaysTTL.md b/old_docs/API_docs_v27/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v27/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v27/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v27/constructors/account_authorizations.md +++ b/old_docs/API_docs_v27/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v27/constructors/account_noPassword.md +++ b/old_docs/API_docs_v27/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v27/constructors/account_password.md +++ b/old_docs/API_docs_v27/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/account_passwordSettings.md b/old_docs/API_docs_v27/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v27/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v27/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 6201866c..3a5cad14 100644 --- a/old_docs/API_docs_v27/constructors/audio.md +++ b/old_docs/API_docs_v27/constructors/audio.md @@ -28,13 +28,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "user_id": int, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v27/constructors/audioEmpty.md +++ b/old_docs/API_docs_v27/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 e8a16730..b1f8ab87 100644 --- a/old_docs/API_docs_v27/constructors/auth_authorization.md +++ b/old_docs/API_docs_v27/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","expires":"int","user":"User"} +{"_": "auth.authorization", "expires": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', expires=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v27/constructors/authorization.md +++ b/old_docs/API_docs_v27/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/chat.md b/old_docs/API_docs_v27/constructors/chat.md index 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v27/constructors/chat.md +++ b/old_docs/API_docs_v27/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v27/constructors/chatEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v27/constructors/chatForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 9bf2e470..562aaef9 100644 --- a/old_docs/API_docs_v27/constructors/chatFull.md +++ b/old_docs/API_docs_v27/constructors/chatFull.md @@ -24,13 +24,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, } +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 75537f7a..b73325bf 100644 --- a/old_docs/API_docs_v27/constructors/chatLocated.md +++ b/old_docs/API_docs_v27/constructors/chatLocated.md @@ -22,13 +22,13 @@ description: chatLocated attributes, type and example ### Example: ``` -$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatLocated","chat_id":"int","distance":"int"} +{"_": "chatLocated", "chat_id": int, "distance": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatLocated={_='chatLocated', chat_id=int, distance=int, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipant.md +++ b/old_docs/API_docs_v27/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipants.md +++ b/old_docs/API_docs_v27/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v27/constructors/chatPhoto.md +++ b/old_docs/API_docs_v27/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/config.md b/old_docs/API_docs_v27/constructors/config.md index 6eb0aaea..501fa8fe 100644 --- a/old_docs/API_docs_v27/constructors/config.md +++ b/old_docs/API_docs_v27/constructors/config.md @@ -36,13 +36,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -50,7 +50,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v27/constructors/contact.md +++ b/old_docs/API_docs_v27/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v27/constructors/contactBlocked.md +++ b/old_docs/API_docs_v27/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v27/constructors/contactFound.md +++ b/old_docs/API_docs_v27/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v27/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkNone.md b/old_docs/API_docs_v27/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactStatus.md b/old_docs/API_docs_v27/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v27/constructors/contactStatus.md +++ b/old_docs/API_docs_v27/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v27/constructors/contactSuggested.md +++ b/old_docs/API_docs_v27/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v27/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v27/constructors/contacts_found.md +++ b/old_docs/API_docs_v27/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v27/constructors/contacts_link.md +++ b/old_docs/API_docs_v27/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v27/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v27/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 a6e9a02f..2093c0c5 100644 --- a/old_docs/API_docs_v27/constructors/dcOption.md +++ b/old_docs/API_docs_v27/constructors/dcOption.md @@ -24,13 +24,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "hostname": "string", "ip_address": "string", "port": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, hostname=string, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v27/constructors/dialog.md +++ b/old_docs/API_docs_v27/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v27/constructors/disabledFeature.md +++ b/old_docs/API_docs_v27/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v27/constructors/document.md +++ b/old_docs/API_docs_v27/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md index 6479c10b..5e51eca8 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md @@ -21,13 +21,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int"} +{"_": "documentAttributeAudio", "duration": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 43f36feb..8988de1b 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeSticker.md @@ -21,13 +21,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string"} +{"_": "documentAttributeSticker", "alt": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v27/constructors/documentEmpty.md +++ b/old_docs/API_docs_v27/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChat.md +++ b/old_docs/API_docs_v27/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFile.md +++ b/old_docs/API_docs_v27/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedMessage.md b/old_docs/API_docs_v27/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v27/constructors/error.md +++ b/old_docs/API_docs_v27/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v27/constructors/fileLocation.md +++ b/old_docs/API_docs_v27/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 26d7c67b..9e8ebda5 100644 --- a/old_docs/API_docs_v27/constructors/geoChat.md +++ b/old_docs/API_docs_v27/constructors/geoChat.md @@ -31,13 +31,13 @@ description: geoChat attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 278791f0..ed8ec512 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessage.md @@ -26,13 +26,13 @@ description: geoChatMessage attributes, type and example ### Example: ``` -$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +{"_": "geoChatMessage", "chat_id": int, "id": int, "from_id": int, "date": int, "message": "string", "media": MessageMedia} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message=string, media=MessageMedia, } +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 403d5713..0a5108e9 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md @@ -22,13 +22,13 @@ description: geoChatMessageEmpty attributes, type and example ### Example: ``` -$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +{"_": "geoChatMessageEmpty", "chat_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int, } +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 b17d00d2..88e95523 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageService.md @@ -25,13 +25,13 @@ description: geoChatMessageService attributes, type and example ### Example: ``` -$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +{"_": "geoChatMessageService", "chat_id": int, "id": int, "from_id": int, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v27/constructors/geoPoint.md +++ b/old_docs/API_docs_v27/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v27/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 f5f47dd1..0fa25959 100644 --- a/old_docs/API_docs_v27/constructors/geochats_located.md +++ b/old_docs/API_docs_v27/constructors/geochats_located.md @@ -24,13 +24,13 @@ description: geochats_located attributes, type and example ### Example: ``` -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.located", "results": [ChatLocated], "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 03667532..3fcea875 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messages.md +++ b/old_docs/API_docs_v27/constructors/geochats_messages.md @@ -23,13 +23,13 @@ description: geochats_messages attributes, type and example ### Example: ``` -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messages", "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 5e9babba..6b379069 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md @@ -24,13 +24,13 @@ description: geochats_messagesSlice attributes, type and example ### Example: ``` -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messagesSlice", "count": int, "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 2adc55a4..73ebfbf2 100644 --- a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md @@ -24,13 +24,13 @@ description: geochats_statedMessage attributes, type and example ### Example: ``` -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; +$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +{"_": "geochats.statedMessage", "message": GeoChatMessage, "chats": [Chat], "users": [User], "seq": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int, } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v27/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v27/constructors/help_inviteText.md +++ b/old_docs/API_docs_v27/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v27/constructors/help_support.md +++ b/old_docs/API_docs_v27/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v27/constructors/importedContact.md +++ b/old_docs/API_docs_v27/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v27/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v27/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v27/constructors/inputAudio.md +++ b/old_docs/API_docs_v27/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v27/constructors/inputDocument.md +++ b/old_docs/API_docs_v27/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v27/constructors/inputFile.md +++ b/old_docs/API_docs_v27/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v27/constructors/inputFileBig.md +++ b/old_docs/API_docs_v27/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v27/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 4841c285..b1def819 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v27/constructors/inputGeoChat.md @@ -22,13 +22,13 @@ description: inputGeoChat attributes, type and example ### Example: ``` -$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +{"_": "inputGeoChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaAudio.md b/old_docs/API_docs_v27/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v27/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 9746ce43..b5824ba5 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaPhoto.md @@ -21,13 +21,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto"} +{"_": "inputMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 4b7ac5a3..c1322d55 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile"} +{"_": "inputMediaUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 ef54d767..808985f7 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 bdd5527a..a189610d 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md @@ -25,13 +25,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, } +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 07251b4a..44ec9517 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaVideo.md @@ -21,13 +21,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo"} +{"_": "inputMediaVideo", "id": InputVideo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyAll.md b/old_docs/API_docs_v27/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyChats.md b/old_docs/API_docs_v27/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md index 82927289..455e7fb2 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md @@ -21,13 +21,13 @@ description: inputNotifyGeoChatPeer attributes, type and example ### Example: ``` -$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +{"_": "inputNotifyGeoChatPeer", "peer": InputGeoChat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat, } +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 bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerChat.md b/old_docs/API_docs_v27/constructors/inputPeerChat.md index e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v27/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 88d5488b..7f58cae5 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v27/constructors/inputPeerContact.md @@ -21,13 +21,13 @@ description: inputPeerContact attributes, type and example ### Example: ``` -$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerContact","user_id":"int"} +{"_": "inputPeerContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerContact={_='inputPeerContact', user_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerForeign.md b/old_docs/API_docs_v27/constructors/inputPeerForeign.md index 003416ba..585547a7 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v27/constructors/inputPeerForeign.md @@ -22,13 +22,13 @@ description: inputPeerForeign attributes, type and example ### Example: ``` -$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +{"_": "inputPeerForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long, } +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 bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v27/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhoneContact.md b/old_docs/API_docs_v27/constructors/inputPhoneContact.md index 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v27/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 c2b1f85c..c6ad34a5 100644 --- a/old_docs/API_docs_v27/constructors/inputUserContact.md +++ b/old_docs/API_docs_v27/constructors/inputUserContact.md @@ -21,13 +21,13 @@ description: inputUserContact attributes, type and example ### Example: ``` -$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserContact","user_id":"int"} +{"_": "inputUserContact", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputUserContact={_='inputUserContact', user_id=int, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v27/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputUserForeign.md b/old_docs/API_docs_v27/constructors/inputUserForeign.md index 1c4b6331..b7f70e07 100644 --- a/old_docs/API_docs_v27/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v27/constructors/inputUserForeign.md @@ -22,13 +22,13 @@ description: inputUserForeign attributes, type and example ### Example: ``` -$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +{"_": "inputUserForeign", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long, } +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 b57fe677..f61db155 100644 --- a/old_docs/API_docs_v27/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v27/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputVideo.md b/old_docs/API_docs_v27/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v27/constructors/inputVideo.md +++ b/old_docs/API_docs_v27/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 92933229..e3f4a1d5 100644 --- a/old_docs/API_docs_v27/constructors/message.md +++ b/old_docs/API_docs_v27/constructors/message.md @@ -29,13 +29,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v27/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md index 2ba609cc..bb915a42 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md @@ -16,13 +16,13 @@ description: messageActionGeoChatCheckin attributes, type and example ### Example: ``` -$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCheckin"} +{"_": "messageActionGeoChatCheckin"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCheckin={_='messageActionGeoChatCheckin', } +messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md index 4cdcab63..c1c2be2c 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md @@ -22,13 +22,13 @@ description: messageActionGeoChatCreate attributes, type and example ### Example: ``` -$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +{"_": "messageActionGeoChatCreate", "title": "string", "address": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCreate={_='messageActionGeoChatCreate', title=string, address=string, } +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 d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v27/constructors/messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v27/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaGeo.md b/old_docs/API_docs_v27/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 779e2d18..85fcdaef 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageMediaPhoto.md @@ -21,13 +21,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo"} +{"_": "messageMediaPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaVideo.md b/old_docs/API_docs_v27/constructors/messageMediaVideo.md index 344e27a9..6b246560 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaVideo.md @@ -21,13 +21,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video"} +{"_": "messageMediaVideo", "video": Video} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v27/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 28c8207f..432bf69b 100644 --- a/old_docs/API_docs_v27/constructors/messageService.md +++ b/old_docs/API_docs_v27/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 7fc711c1..b9154bf9 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickers.md @@ -23,13 +23,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.allStickers", "hash": "string", "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, packs={StickerPack}, documents={Document}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v27/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v27/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v27/constructors/messages_chats.md +++ b/old_docs/API_docs_v27/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2d89fe6d..6c2fd19f 100644 --- a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md @@ -16,13 +16,13 @@ description: messages_messageEmpty attributes, type and example ### Example: ``` -$messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; +$messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEmpty"} +{"_": "messages.messageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_messageEmpty={_='messages.messageEmpty', } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v27/constructors/messages_messages.md +++ b/old_docs/API_docs_v27/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 ac29f0ab..b94aacd7 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessage.md @@ -25,13 +25,13 @@ description: messages_sentMessage attributes, type and example ### Example: ``` -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; +$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessage","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int"} +{"_": "messages.sentMessage", "id": int, "date": int, "media": MessageMedia, "pts": int, "pts_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, } +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 dac61f4e..c83c0f2f 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md @@ -27,13 +27,13 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessageLink","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +{"_": "messages.sentMessageLink", "id": int, "date": int, "media": MessageMedia, "pts": int, "pts_count": int, "links": [contacts_Link], "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickers.md +++ b/old_docs/API_docs_v27/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v27/constructors/nearestDc.md +++ b/old_docs/API_docs_v27/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v27/constructors/notifyAll.md +++ b/old_docs/API_docs_v27/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyChats.md b/old_docs/API_docs_v27/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v27/constructors/notifyChats.md +++ b/old_docs/API_docs_v27/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyPeer.md b/old_docs/API_docs_v27/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v27/constructors/notifyPeer.md +++ b/old_docs/API_docs_v27/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v27/constructors/notifyUsers.md +++ b/old_docs/API_docs_v27/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerChat.md b/old_docs/API_docs_v27/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v27/constructors/peerChat.md +++ b/old_docs/API_docs_v27/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifySettings.md b/old_docs/API_docs_v27/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerUser.md b/old_docs/API_docs_v27/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v27/constructors/peerUser.md +++ b/old_docs/API_docs_v27/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 c9d756b7..18978a35 100644 --- a/old_docs/API_docs_v27/constructors/photo.md +++ b/old_docs/API_docs_v27/constructors/photo.md @@ -27,13 +27,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "user_id": int, "date": int, "caption": "string", "geo": GeoPoint, "sizes": [PhotoSize]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption=string, geo=GeoPoint, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v27/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v27/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v27/constructors/photoEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v27/constructors/photoSize.md +++ b/old_docs/API_docs_v27/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v27/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v27/constructors/photos_photo.md +++ b/old_docs/API_docs_v27/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v27/constructors/photos_photos.md +++ b/old_docs/API_docs_v27/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v27/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v27/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md index 555007a0..4df6422b 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction"} +{"_": "sendMessageUploadAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', } +sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md index a9f731b2..b5d2f65b 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction"} +{"_": "sendMessageUploadDocumentAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', } +sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md index 0fb5a157..8ad9c12a 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction"} +{"_": "sendMessageUploadPhotoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', } +sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md index 9d6684e0..66b6182b 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction"} +{"_": "sendMessageUploadVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', } +sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/stickerPack.md b/old_docs/API_docs_v27/constructors/stickerPack.md index 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v27/constructors/stickerPack.md +++ b/old_docs/API_docs_v27/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v27/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v27/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v27/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePng.md +++ b/old_docs/API_docs_v27/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v27/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v27/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v27/constructors/updateContactLink.md +++ b/old_docs/API_docs_v27/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v27/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v27/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v27/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v27/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v27/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v27/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryption.md +++ b/old_docs/API_docs_v27/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v27/constructors/updateMessageID.md +++ b/old_docs/API_docs_v27/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v27/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v27/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 e58cfe12..4a85b741 100644 --- a/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md @@ -21,13 +21,13 @@ description: updateNewGeoChatMessage attributes, type and example ### Example: ``` -$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +{"_": "updateNewGeoChatMessage", "message": GeoChatMessage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v27/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v27/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v27/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v27/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 df1e73c6..5bd1f195 100644 --- a/old_docs/API_docs_v27/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v27/constructors/updateReadMessages.md @@ -23,13 +23,13 @@ description: updateReadMessages attributes, type and example ### Example: ``` -$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessages={_='updateReadMessages', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v27/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v27/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v27/constructors/updateShort.md +++ b/old_docs/API_docs_v27/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 c0246df1..358136b0 100644 --- a/old_docs/API_docs_v27/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortChatMessage.md @@ -30,13 +30,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 3911679c..9924d975 100644 --- a/old_docs/API_docs_v27/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortMessage.md @@ -29,13 +29,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v27/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v27/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v27/constructors/updateUserName.md +++ b/old_docs/API_docs_v27/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v27/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v27/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v27/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 e074db1d..ac6f2812 100644 --- a/old_docs/API_docs_v27/constructors/updateWebPage.md +++ b/old_docs/API_docs_v27/constructors/updateWebPage.md @@ -21,13 +21,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage"} +{"_": "updateWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v27/constructors/updates.md +++ b/old_docs/API_docs_v27/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v27/constructors/updatesCombined.md +++ b/old_docs/API_docs_v27/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v27/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v27/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v27/constructors/updates_difference.md +++ b/old_docs/API_docs_v27/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v27/constructors/updates_state.md +++ b/old_docs/API_docs_v27/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v27/constructors/upload_file.md +++ b/old_docs/API_docs_v27/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 30c1fdd9..f511ff88 100644 --- a/old_docs/API_docs_v27/constructors/userContact.md +++ b/old_docs/API_docs_v27/constructors/userContact.md @@ -28,13 +28,13 @@ description: userContact attributes, type and example ### Example: ``` -$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userContact", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userContact={_='userContact', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 9fcd1e83..4788a341 100644 --- a/old_docs/API_docs_v27/constructors/userDeleted.md +++ b/old_docs/API_docs_v27/constructors/userDeleted.md @@ -24,13 +24,13 @@ description: userDeleted attributes, type and example ### Example: ``` -$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "userDeleted", "id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -userDeleted={_='userDeleted', id=int, first_name=string, last_name=string, username=string, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v27/constructors/userEmpty.md +++ b/old_docs/API_docs_v27/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 810cce6a..610f884e 100644 --- a/old_docs/API_docs_v27/constructors/userForeign.md +++ b/old_docs/API_docs_v27/constructors/userForeign.md @@ -27,13 +27,13 @@ description: userForeign attributes, type and example ### Example: ``` -$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userForeign", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userForeign={_='userForeign', id=int, first_name=string, last_name=string, username=string, access_hash=long, photo=UserProfilePhoto, status=UserStatus, } +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 fc5ce2d1..d5967a85 100644 --- a/old_docs/API_docs_v27/constructors/userFull.md +++ b/old_docs/API_docs_v27/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "real_first_name": "string", "real_last_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/userRequest.md b/old_docs/API_docs_v27/constructors/userRequest.md index 948ff515..1711b49f 100644 --- a/old_docs/API_docs_v27/constructors/userRequest.md +++ b/old_docs/API_docs_v27/constructors/userRequest.md @@ -28,13 +28,13 @@ description: userRequest attributes, type and example ### Example: ``` -$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userRequest", "id": int, "first_name": "string", "last_name": "string", "username": "string", "access_hash": long, "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -userRequest={_='userRequest', id=int, first_name=string, last_name=string, username=string, access_hash=long, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 844bd976..c40b6c17 100644 --- a/old_docs/API_docs_v27/constructors/userSelf.md +++ b/old_docs/API_docs_v27/constructors/userSelf.md @@ -27,13 +27,13 @@ description: userSelf attributes, type and example ### Example: ``` -$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +{"_": "userSelf", "id": int, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userSelf={_='userSelf', id=int, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, } +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 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v27/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v27/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusOffline.md b/old_docs/API_docs_v27/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v27/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v27/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v27/constructors/vector.md b/old_docs/API_docs_v27/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v27/constructors/vector.md +++ b/old_docs/API_docs_v27/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v27/constructors/video.md b/old_docs/API_docs_v27/constructors/video.md index 0654783d..76da6f86 100644 --- a/old_docs/API_docs_v27/constructors/video.md +++ b/old_docs/API_docs_v27/constructors/video.md @@ -32,13 +32,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v27/constructors/videoEmpty.md +++ b/old_docs/API_docs_v27/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v27/constructors/wallPaper.md +++ b/old_docs/API_docs_v27/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v27/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v27/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 9c33edd1..faa0274e 100644 --- a/old_docs/API_docs_v27/constructors/webPage.md +++ b/old_docs/API_docs_v27/constructors/webPage.md @@ -34,13 +34,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -48,7 +48,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v27/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v27/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v27/constructors/webPagePending.md +++ b/old_docs/API_docs_v27/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_checkPassword.md b/old_docs/API_docs_v27/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v27/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v27/methods/auth_importAuthorization.md b/old_docs/API_docs_v27/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v27/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_logOut.md b/old_docs/API_docs_v27/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v27/methods/auth_logOut.md +++ b/old_docs/API_docs_v27/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendCode.md b/old_docs/API_docs_v27/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCode.md +++ b/old_docs/API_docs_v27/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_signIn.md b/old_docs/API_docs_v27/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v27/methods/auth_signIn.md +++ b/old_docs/API_docs_v27/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_signUp.md b/old_docs/API_docs_v27/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v27/methods/auth_signUp.md +++ b/old_docs/API_docs_v27/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md index 06cce35c..b8102828 100644 --- a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$User = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = contacts.resolveUsername({username=string, }) +User = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 7a94d009..c23ce004 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.checkin -* params - {"peer":"InputGeoChat"} +* params - {"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 231b5c06..e472bca5 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.createGeoChat -* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} +* params - {"title": "string", "geo_point": InputGeoPoint, "address": "string", "venue": "string", } ``` @@ -69,6 +69,6 @@ venue - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.createGeoChat({title=string, geo_point=InputGeoPoint, address=string, venue=string, }) +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 e6f1522c..686656f5 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatPhoto -* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} +* params - {"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 0c542231..44741b92 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatTitle -* params - {"peer":"InputGeoChat","title":"string","address":"string"} +* params - {"peer": InputGeoChat, "title": "string", "address": "string", } ``` @@ -67,6 +67,6 @@ address - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title=string, address=string, }) +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 0f021e0e..80b26576 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getFullChat -* params - {"peer":"InputGeoChat"} +* params - {"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 b671011f..a5dc2d25 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getHistory -* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} +* params - {"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 3beab19e..845a5f12 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getLocated -* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} +* params - {"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 b8c7a2f2..98e11d45 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getRecents -* params - {"offset":"int","limit":"int"} +* params - {"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 33512fb1..76346999 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.search -* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputGeoChat, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -geochats_Messages = geochats.search({peer=InputGeoChat, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 77ac28f7..c57ce24a 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMedia -* params - {"peer":"InputGeoChat","media":"InputMedia"} +* params - {"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 95f36b1a..99306dab 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMessage -* params - {"peer":"InputGeoChat","message":"string"} +* params - {"peer": InputGeoChat, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message=string, }) +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 b4483f71..20655f84 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.setTyping -* params - {"peer":"InputGeoChat","typing":"Bool"} +* params - {"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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"layer": int, "query": !X, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v27/methods/messages_discardEncryption.md b/old_docs/API_docs_v27/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v27/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 e32455f5..4c195f80 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v27/methods/messages_getDhConfig.md b/old_docs/API_docs_v27/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v27/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index bb46805d..074911f6 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","max_id":"int","limit":"int"} +* params - {"offset": int, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_getFullChat.md b/old_docs/API_docs_v27/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v27/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v27/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index e0d42140..9a228dba 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 e07ef5a3..2ad9fd62 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 7384bbb3..8c28721e 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_receivedQueue.md b/old_docs/API_docs_v27/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v27/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v27/methods/messages_requestEncryption.md b/old_docs/API_docs_v27/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v27/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 b9642caa..e3651395 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia"} +* params - {"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 5626ea71..4fd1c045 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string"} +* params - {"peer": InputPeer, "reply_to_msg_id": int, "message": "string", } ``` @@ -67,7 +67,7 @@ message - Json encoded string Or, if you're into Lua: ``` -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 cadae34a..d4fd02be 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v27/methods/updates_getDifference.md b/old_docs/API_docs_v27/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v27/methods/updates_getDifference.md +++ b/old_docs/API_docs_v27/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v27/methods/updates_getState.md b/old_docs/API_docs_v27/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v27/methods/updates_getState.md +++ b/old_docs/API_docs_v27/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v27/methods/upload_getFile.md b/old_docs/API_docs_v27/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v27/methods/upload_getFile.md +++ b/old_docs/API_docs_v27/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/upload_saveFilePart.md b/old_docs/API_docs_v27/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v27/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/users_getFullUser.md b/old_docs/API_docs_v27/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v27/methods/users_getFullUser.md +++ b/old_docs/API_docs_v27/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v33/constructors/accountDaysTTL.md b/old_docs/API_docs_v33/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v33/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v33/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v33/constructors/account_authorizations.md +++ b/old_docs/API_docs_v33/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v33/constructors/account_noPassword.md +++ b/old_docs/API_docs_v33/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v33/constructors/account_password.md +++ b/old_docs/API_docs_v33/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/account_passwordSettings.md b/old_docs/API_docs_v33/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v33/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v33/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v33/constructors/audio.md +++ b/old_docs/API_docs_v33/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v33/constructors/audioEmpty.md +++ b/old_docs/API_docs_v33/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v33/constructors/auth_authorization.md +++ b/old_docs/API_docs_v33/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v33/constructors/authorization.md +++ b/old_docs/API_docs_v33/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/botCommand.md b/old_docs/API_docs_v33/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v33/constructors/botCommand.md +++ b/old_docs/API_docs_v33/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v33/constructors/botInfo.md +++ b/old_docs/API_docs_v33/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v33/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v33/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/chat.md b/old_docs/API_docs_v33/constructors/chat.md index 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v33/constructors/chat.md +++ b/old_docs/API_docs_v33/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v33/constructors/chatEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v33/constructors/chatForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v33/constructors/chatFull.md +++ b/old_docs/API_docs_v33/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInvite.md b/old_docs/API_docs_v33/constructors/chatInvite.md index 372e81ee..dac4ca64 100644 --- a/old_docs/API_docs_v33/constructors/chatInvite.md +++ b/old_docs/API_docs_v33/constructors/chatInvite.md @@ -21,13 +21,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","title":"string"} +{"_": "chatInvite", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v33/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInviteExported.md b/old_docs/API_docs_v33/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v33/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 75537f7a..b73325bf 100644 --- a/old_docs/API_docs_v33/constructors/chatLocated.md +++ b/old_docs/API_docs_v33/constructors/chatLocated.md @@ -22,13 +22,13 @@ description: chatLocated attributes, type and example ### Example: ``` -$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatLocated","chat_id":"int","distance":"int"} +{"_": "chatLocated", "chat_id": int, "distance": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatLocated={_='chatLocated', chat_id=int, distance=int, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipant.md +++ b/old_docs/API_docs_v33/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipants.md +++ b/old_docs/API_docs_v33/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v33/constructors/chatPhoto.md +++ b/old_docs/API_docs_v33/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/config.md b/old_docs/API_docs_v33/constructors/config.md index 324b64b2..f39cc213 100644 --- a/old_docs/API_docs_v33/constructors/config.md +++ b/old_docs/API_docs_v33/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v33/constructors/contact.md +++ b/old_docs/API_docs_v33/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v33/constructors/contactBlocked.md +++ b/old_docs/API_docs_v33/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v33/constructors/contactFound.md +++ b/old_docs/API_docs_v33/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v33/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkNone.md b/old_docs/API_docs_v33/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactStatus.md b/old_docs/API_docs_v33/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v33/constructors/contactStatus.md +++ b/old_docs/API_docs_v33/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v33/constructors/contactSuggested.md +++ b/old_docs/API_docs_v33/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v33/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v33/constructors/contacts_found.md +++ b/old_docs/API_docs_v33/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v33/constructors/contacts_link.md +++ b/old_docs/API_docs_v33/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v33/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v33/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 7a0716aa..f83ef67b 100644 --- a/old_docs/API_docs_v33/constructors/dcOption.md +++ b/old_docs/API_docs_v33/constructors/dcOption.md @@ -23,13 +23,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "ip_address": "string", "port": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v33/constructors/dialog.md +++ b/old_docs/API_docs_v33/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v33/constructors/disabledFeature.md +++ b/old_docs/API_docs_v33/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v33/constructors/document.md +++ b/old_docs/API_docs_v33/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v33/constructors/documentEmpty.md +++ b/old_docs/API_docs_v33/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChat.md +++ b/old_docs/API_docs_v33/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFile.md +++ b/old_docs/API_docs_v33/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedMessage.md b/old_docs/API_docs_v33/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v33/constructors/error.md +++ b/old_docs/API_docs_v33/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v33/constructors/fileLocation.md +++ b/old_docs/API_docs_v33/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 26d7c67b..9e8ebda5 100644 --- a/old_docs/API_docs_v33/constructors/geoChat.md +++ b/old_docs/API_docs_v33/constructors/geoChat.md @@ -31,13 +31,13 @@ description: geoChat attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 278791f0..ed8ec512 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessage.md @@ -26,13 +26,13 @@ description: geoChatMessage attributes, type and example ### Example: ``` -$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +{"_": "geoChatMessage", "chat_id": int, "id": int, "from_id": int, "date": int, "message": "string", "media": MessageMedia} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message=string, media=MessageMedia, } +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 403d5713..0a5108e9 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md @@ -22,13 +22,13 @@ description: geoChatMessageEmpty attributes, type and example ### Example: ``` -$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +{"_": "geoChatMessageEmpty", "chat_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int, } +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 b17d00d2..88e95523 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageService.md @@ -25,13 +25,13 @@ description: geoChatMessageService attributes, type and example ### Example: ``` -$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +{"_": "geoChatMessageService", "chat_id": int, "id": int, "from_id": int, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v33/constructors/geoPoint.md +++ b/old_docs/API_docs_v33/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v33/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 f5f47dd1..0fa25959 100644 --- a/old_docs/API_docs_v33/constructors/geochats_located.md +++ b/old_docs/API_docs_v33/constructors/geochats_located.md @@ -24,13 +24,13 @@ description: geochats_located attributes, type and example ### Example: ``` -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.located", "results": [ChatLocated], "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 03667532..3fcea875 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messages.md +++ b/old_docs/API_docs_v33/constructors/geochats_messages.md @@ -23,13 +23,13 @@ description: geochats_messages attributes, type and example ### Example: ``` -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messages", "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 5e9babba..6b379069 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md @@ -24,13 +24,13 @@ description: geochats_messagesSlice attributes, type and example ### Example: ``` -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; +$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +{"_": "geochats.messagesSlice", "count": int, "messages": [GeoChatMessage], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}, } +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 2adc55a4..73ebfbf2 100644 --- a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md @@ -24,13 +24,13 @@ description: geochats_statedMessage attributes, type and example ### Example: ``` -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; +$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +{"_": "geochats.statedMessage", "message": GeoChatMessage, "chats": [Chat], "users": [User], "seq": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int, } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v33/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v33/constructors/help_inviteText.md +++ b/old_docs/API_docs_v33/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v33/constructors/help_support.md +++ b/old_docs/API_docs_v33/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v33/constructors/importedContact.md +++ b/old_docs/API_docs_v33/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v33/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v33/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v33/constructors/inputAudio.md +++ b/old_docs/API_docs_v33/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v33/constructors/inputDocument.md +++ b/old_docs/API_docs_v33/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v33/constructors/inputFile.md +++ b/old_docs/API_docs_v33/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v33/constructors/inputFileBig.md +++ b/old_docs/API_docs_v33/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v33/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 4841c285..b1def819 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v33/constructors/inputGeoChat.md @@ -22,13 +22,13 @@ description: inputGeoChat attributes, type and example ### Example: ``` -$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +{"_": "inputGeoChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaAudio.md b/old_docs/API_docs_v33/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v33/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 9a2ad8bb..b565e59d 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, caption=string, } +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 fbd27e16..f2aea243 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md @@ -25,13 +25,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyAll.md b/old_docs/API_docs_v33/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyChats.md b/old_docs/API_docs_v33/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md index 82927289..455e7fb2 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md @@ -21,13 +21,13 @@ description: inputNotifyGeoChatPeer attributes, type and example ### Example: ``` -$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +{"_": "inputNotifyGeoChatPeer", "peer": InputGeoChat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat, } +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 bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerChat.md b/old_docs/API_docs_v33/constructors/inputPeerChat.md index e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v33/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v33/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerUser.md b/old_docs/API_docs_v33/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v33/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v33/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetID.md b/old_docs/API_docs_v33/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v33/constructors/inputUser.md +++ b/old_docs/API_docs_v33/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v33/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputUserSelf.md b/old_docs/API_docs_v33/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v33/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v33/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputVideo.md b/old_docs/API_docs_v33/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v33/constructors/inputVideo.md +++ b/old_docs/API_docs_v33/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButton.md +++ b/old_docs/API_docs_v33/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v33/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 300ae130..4bd3fb32 100644 --- a/old_docs/API_docs_v33/constructors/message.md +++ b/old_docs/API_docs_v33/constructors/message.md @@ -30,13 +30,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v33/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md index 2ba609cc..bb915a42 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md @@ -16,13 +16,13 @@ description: messageActionGeoChatCheckin attributes, type and example ### Example: ``` -$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCheckin"} +{"_": "messageActionGeoChatCheckin"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCheckin={_='messageActionGeoChatCheckin', } +messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md index 4cdcab63..c1c2be2c 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md @@ -22,13 +22,13 @@ description: messageActionGeoChatCreate attributes, type and example ### Example: ``` -$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +{"_": "messageActionGeoChatCreate", "title": "string", "address": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGeoChatCreate={_='messageActionGeoChatCreate', title=string, address=string, } +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 d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v33/constructors/messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v33/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaGeo.md b/old_docs/API_docs_v33/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaVenue.md b/old_docs/API_docs_v33/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v33/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 28c8207f..432bf69b 100644 --- a/old_docs/API_docs_v33/constructors/messageService.md +++ b/old_docs/API_docs_v33/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 21c13447..b9af3512 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": "string", "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v33/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v33/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v33/constructors/messages_chats.md +++ b/old_docs/API_docs_v33/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2d89fe6d..6c2fd19f 100644 --- a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md @@ -16,13 +16,13 @@ description: messages_messageEmpty attributes, type and example ### Example: ``` -$messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; +$messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEmpty"} +{"_": "messages.messageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_messageEmpty={_='messages.messageEmpty', } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v33/constructors/messages_messages.md +++ b/old_docs/API_docs_v33/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 ac29f0ab..b94aacd7 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessage.md @@ -25,13 +25,13 @@ description: messages_sentMessage attributes, type and example ### Example: ``` -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; +$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessage","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int"} +{"_": "messages.sentMessage", "id": int, "date": int, "media": MessageMedia, "pts": int, "pts_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, } +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 dac61f4e..c83c0f2f 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md @@ -27,13 +27,13 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentMessageLink","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +{"_": "messages.sentMessageLink", "id": int, "date": int, "media": MessageMedia, "pts": int, "pts_count": int, "links": [contacts_Link], "seq": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v33/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickers.md +++ b/old_docs/API_docs_v33/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v33/constructors/nearestDc.md +++ b/old_docs/API_docs_v33/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v33/constructors/notifyAll.md +++ b/old_docs/API_docs_v33/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyChats.md b/old_docs/API_docs_v33/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v33/constructors/notifyChats.md +++ b/old_docs/API_docs_v33/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyPeer.md b/old_docs/API_docs_v33/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v33/constructors/notifyPeer.md +++ b/old_docs/API_docs_v33/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v33/constructors/notifyUsers.md +++ b/old_docs/API_docs_v33/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerChat.md b/old_docs/API_docs_v33/constructors/peerChat.md index a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v33/constructors/peerChat.md +++ b/old_docs/API_docs_v33/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifySettings.md b/old_docs/API_docs_v33/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerUser.md b/old_docs/API_docs_v33/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v33/constructors/peerUser.md +++ b/old_docs/API_docs_v33/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v33/constructors/photo.md +++ b/old_docs/API_docs_v33/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v33/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v33/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v33/constructors/photoEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v33/constructors/photoSize.md +++ b/old_docs/API_docs_v33/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v33/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v33/constructors/photos_photo.md +++ b/old_docs/API_docs_v33/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v33/constructors/photos_photos.md +++ b/old_docs/API_docs_v33/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v33/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v33/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 5c84d9bc..e7464ad5 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md @@ -20,13 +20,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply"} +{"_": "replyKeyboardForceReply"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', } +replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md index f857f46e..d1a59858 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md @@ -20,13 +20,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide"} +{"_": "replyKeyboardHide"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', } +replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md index 6c97277b..372cb905 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md @@ -21,13 +21,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v33/constructors/stickerPack.md +++ b/old_docs/API_docs_v33/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 1af551dd..2d2a1dc9 100644 --- a/old_docs/API_docs_v33/constructors/stickerSet.md +++ b/old_docs/API_docs_v33/constructors/stickerSet.md @@ -26,13 +26,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v33/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v33/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v33/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePng.md +++ b/old_docs/API_docs_v33/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v33/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v33/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v33/constructors/updateContactLink.md +++ b/old_docs/API_docs_v33/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v33/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v33/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v33/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v33/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v33/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v33/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryption.md +++ b/old_docs/API_docs_v33/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v33/constructors/updateMessageID.md +++ b/old_docs/API_docs_v33/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v33/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v33/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 e58cfe12..4a85b741 100644 --- a/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md @@ -21,13 +21,13 @@ description: updateNewGeoChatMessage attributes, type and example ### Example: ``` -$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +{"_": "updateNewGeoChatMessage", "message": GeoChatMessage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v33/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v33/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v33/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v33/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v33/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v33/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v33/constructors/updateShort.md +++ b/old_docs/API_docs_v33/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 c0246df1..358136b0 100644 --- a/old_docs/API_docs_v33/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortChatMessage.md @@ -30,13 +30,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 3911679c..9924d975 100644 --- a/old_docs/API_docs_v33/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortMessage.md @@ -29,13 +29,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v33/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v33/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v33/constructors/updateUserName.md +++ b/old_docs/API_docs_v33/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v33/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v33/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v33/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 e074db1d..ac6f2812 100644 --- a/old_docs/API_docs_v33/constructors/updateWebPage.md +++ b/old_docs/API_docs_v33/constructors/updateWebPage.md @@ -21,13 +21,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage"} +{"_": "updateWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v33/constructors/updates.md +++ b/old_docs/API_docs_v33/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v33/constructors/updatesCombined.md +++ b/old_docs/API_docs_v33/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v33/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v33/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v33/constructors/updates_difference.md +++ b/old_docs/API_docs_v33/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v33/constructors/updates_state.md +++ b/old_docs/API_docs_v33/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v33/constructors/upload_file.md +++ b/old_docs/API_docs_v33/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 fa220e68..50ae3696 100644 --- a/old_docs/API_docs_v33/constructors/user.md +++ b/old_docs/API_docs_v33/constructors/user.md @@ -29,13 +29,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +{"_": "user", "id": int, "access_hash": long, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus, "bot_info_version": int} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v33/constructors/userEmpty.md +++ b/old_docs/API_docs_v33/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v33/constructors/userFull.md +++ b/old_docs/API_docs_v33/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusEmpty.md b/old_docs/API_docs_v33/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v33/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v33/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusOffline.md b/old_docs/API_docs_v33/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v33/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v33/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v33/constructors/vector.md b/old_docs/API_docs_v33/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v33/constructors/vector.md +++ b/old_docs/API_docs_v33/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v33/constructors/video.md b/old_docs/API_docs_v33/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v33/constructors/video.md +++ b/old_docs/API_docs_v33/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v33/constructors/videoEmpty.md +++ b/old_docs/API_docs_v33/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v33/constructors/wallPaper.md +++ b/old_docs/API_docs_v33/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v33/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v33/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 9c33edd1..faa0274e 100644 --- a/old_docs/API_docs_v33/constructors/webPage.md +++ b/old_docs/API_docs_v33/constructors/webPage.md @@ -34,13 +34,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -48,7 +48,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v33/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v33/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v33/constructors/webPagePending.md +++ b/old_docs/API_docs_v33/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_checkPassword.md b/old_docs/API_docs_v33/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v33/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v33/methods/auth_importAuthorization.md b/old_docs/API_docs_v33/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v33/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_logOut.md b/old_docs/API_docs_v33/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v33/methods/auth_logOut.md +++ b/old_docs/API_docs_v33/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendCode.md b/old_docs/API_docs_v33/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCode.md +++ b/old_docs/API_docs_v33/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_signIn.md b/old_docs/API_docs_v33/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v33/methods/auth_signIn.md +++ b/old_docs/API_docs_v33/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_signUp.md b/old_docs/API_docs_v33/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v33/methods/auth_signUp.md +++ b/old_docs/API_docs_v33/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md index 06cce35c..b8102828 100644 --- a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$User = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = contacts.resolveUsername({username=string, }) +User = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 7a94d009..c23ce004 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.checkin -* params - {"peer":"InputGeoChat"} +* params - {"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 231b5c06..e472bca5 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.createGeoChat -* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} +* params - {"title": "string", "geo_point": InputGeoPoint, "address": "string", "venue": "string", } ``` @@ -69,6 +69,6 @@ venue - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.createGeoChat({title=string, geo_point=InputGeoPoint, address=string, venue=string, }) +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 e6f1522c..686656f5 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatPhoto -* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} +* params - {"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 0c542231..44741b92 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.editChatTitle -* params - {"peer":"InputGeoChat","title":"string","address":"string"} +* params - {"peer": InputGeoChat, "title": "string", "address": "string", } ``` @@ -67,6 +67,6 @@ address - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title=string, address=string, }) +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 0f021e0e..80b26576 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getFullChat -* params - {"peer":"InputGeoChat"} +* params - {"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 b671011f..a5dc2d25 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getHistory -* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} +* params - {"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 3beab19e..845a5f12 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getLocated -* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} +* params - {"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 b8c7a2f2..98e11d45 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.getRecents -* params - {"offset":"int","limit":"int"} +* params - {"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 33512fb1..76346999 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.search -* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputGeoChat, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -geochats_Messages = geochats.search({peer=InputGeoChat, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 77ac28f7..c57ce24a 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMedia -* params - {"peer":"InputGeoChat","media":"InputMedia"} +* params - {"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 95f36b1a..99306dab 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.sendMessage -* params - {"peer":"InputGeoChat","message":"string"} +* params - {"peer": InputGeoChat, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message=string, }) +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 b4483f71..20655f84 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - geochats.setTyping -* params - {"peer":"InputGeoChat","typing":"Bool"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v33/methods/messages_discardEncryption.md b/old_docs/API_docs_v33/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v33/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 e32455f5..4c195f80 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v33/methods/messages_getDhConfig.md b/old_docs/API_docs_v33/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v33/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index bb46805d..074911f6 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","max_id":"int","limit":"int"} +* params - {"offset": int, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_getFullChat.md b/old_docs/API_docs_v33/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v33/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v33/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index e0d42140..9a228dba 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 e07ef5a3..2ad9fd62 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_receivedQueue.md b/old_docs/API_docs_v33/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v33/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v33/methods/messages_requestEncryption.md b/old_docs/API_docs_v33/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v33/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 de3efc79..104efced 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 04b204e6..35d0828c 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, ]); +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup"} +* params - {"peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, } ``` @@ -69,7 +69,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: ``` -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message=string, reply_markup=ReplyMarkup, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 804280e9..f85e66a5 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "chat_id": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param=string, }) +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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v33/methods/updates_getDifference.md b/old_docs/API_docs_v33/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v33/methods/updates_getDifference.md +++ b/old_docs/API_docs_v33/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v33/methods/updates_getState.md b/old_docs/API_docs_v33/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v33/methods/updates_getState.md +++ b/old_docs/API_docs_v33/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v33/methods/upload_getFile.md b/old_docs/API_docs_v33/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v33/methods/upload_getFile.md +++ b/old_docs/API_docs_v33/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/upload_saveFilePart.md b/old_docs/API_docs_v33/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v33/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/users_getFullUser.md b/old_docs/API_docs_v33/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v33/methods/users_getFullUser.md +++ b/old_docs/API_docs_v33/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v38/constructors/accountDaysTTL.md b/old_docs/API_docs_v38/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v38/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v38/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v38/constructors/account_authorizations.md +++ b/old_docs/API_docs_v38/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v38/constructors/account_noPassword.md +++ b/old_docs/API_docs_v38/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v38/constructors/account_password.md +++ b/old_docs/API_docs_v38/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/account_passwordSettings.md b/old_docs/API_docs_v38/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v38/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v38/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v38/constructors/audio.md +++ b/old_docs/API_docs_v38/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v38/constructors/audioEmpty.md +++ b/old_docs/API_docs_v38/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v38/constructors/auth_authorization.md +++ b/old_docs/API_docs_v38/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v38/constructors/authorization.md +++ b/old_docs/API_docs_v38/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/botCommand.md b/old_docs/API_docs_v38/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v38/constructors/botCommand.md +++ b/old_docs/API_docs_v38/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v38/constructors/botInfo.md +++ b/old_docs/API_docs_v38/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v38/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v38/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channel.md b/old_docs/API_docs_v38/constructors/channel.md index eeaa6e98..489ea9d1 100644 --- a/old_docs/API_docs_v38/constructors/channel.md +++ b/old_docs/API_docs_v38/constructors/channel.md @@ -27,13 +27,13 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channel","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int"} +{"_": "channel", "id": int, "access_hash": long, "title": "string", "username": "string", "photo": ChatPhoto, "date": int, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -channel={_='channel', id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v38/constructors/channelForbidden.md +++ b/old_docs/API_docs_v38/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 848573f1..bd338194 100644 --- a/old_docs/API_docs_v38/constructors/channelFull.md +++ b/old_docs/API_docs_v38/constructors/channelFull.md @@ -31,13 +31,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 613384c5..67b464de 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilter.md @@ -21,13 +21,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "ranges": [MessageRange]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipant.md b/old_docs/API_docs_v38/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleEditor.md b/old_docs/API_docs_v38/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleModerator.md b/old_docs/API_docs_v38/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v38/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 6e67bbd8..9a90511a 100644 --- a/old_docs/API_docs_v38/constructors/chat.md +++ b/old_docs/API_docs_v38/constructors/chat.md @@ -26,13 +26,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "version": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v38/constructors/chatEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v38/constructors/chatForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v38/constructors/chatFull.md +++ b/old_docs/API_docs_v38/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInvite.md b/old_docs/API_docs_v38/constructors/chatInvite.md index 372e81ee..dac4ca64 100644 --- a/old_docs/API_docs_v38/constructors/chatInvite.md +++ b/old_docs/API_docs_v38/constructors/chatInvite.md @@ -21,13 +21,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","title":"string"} +{"_": "chatInvite", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v38/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInviteExported.md b/old_docs/API_docs_v38/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v38/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipant.md +++ b/old_docs/API_docs_v38/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipants.md +++ b/old_docs/API_docs_v38/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v38/constructors/chatPhoto.md +++ b/old_docs/API_docs_v38/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/config.md b/old_docs/API_docs_v38/constructors/config.md index 324b64b2..f39cc213 100644 --- a/old_docs/API_docs_v38/constructors/config.md +++ b/old_docs/API_docs_v38/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v38/constructors/contact.md +++ b/old_docs/API_docs_v38/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v38/constructors/contactBlocked.md +++ b/old_docs/API_docs_v38/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v38/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkNone.md b/old_docs/API_docs_v38/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactStatus.md b/old_docs/API_docs_v38/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v38/constructors/contactStatus.md +++ b/old_docs/API_docs_v38/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v38/constructors/contactSuggested.md +++ b/old_docs/API_docs_v38/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v38/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v38/constructors/contacts_found.md +++ b/old_docs/API_docs_v38/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v38/constructors/contacts_link.md +++ b/old_docs/API_docs_v38/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v38/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v38/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 7a0716aa..f83ef67b 100644 --- a/old_docs/API_docs_v38/constructors/dcOption.md +++ b/old_docs/API_docs_v38/constructors/dcOption.md @@ -23,13 +23,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "ip_address": "string", "port": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v38/constructors/dialog.md +++ b/old_docs/API_docs_v38/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v38/constructors/dialogChannel.md +++ b/old_docs/API_docs_v38/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v38/constructors/disabledFeature.md +++ b/old_docs/API_docs_v38/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v38/constructors/document.md +++ b/old_docs/API_docs_v38/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v38/constructors/documentEmpty.md +++ b/old_docs/API_docs_v38/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChat.md +++ b/old_docs/API_docs_v38/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFile.md +++ b/old_docs/API_docs_v38/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedMessage.md b/old_docs/API_docs_v38/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v38/constructors/error.md +++ b/old_docs/API_docs_v38/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v38/constructors/fileLocation.md +++ b/old_docs/API_docs_v38/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v38/constructors/geoPoint.md +++ b/old_docs/API_docs_v38/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v38/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v38/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v38/constructors/help_inviteText.md +++ b/old_docs/API_docs_v38/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v38/constructors/help_support.md +++ b/old_docs/API_docs_v38/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v38/constructors/importedContact.md +++ b/old_docs/API_docs_v38/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v38/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v38/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v38/constructors/inputAudio.md +++ b/old_docs/API_docs_v38/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v38/constructors/inputChannel.md +++ b/old_docs/API_docs_v38/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v38/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChatPhoto.md b/old_docs/API_docs_v38/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v38/constructors/inputDocument.md +++ b/old_docs/API_docs_v38/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v38/constructors/inputFile.md +++ b/old_docs/API_docs_v38/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v38/constructors/inputFileBig.md +++ b/old_docs/API_docs_v38/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v38/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaAudio.md b/old_docs/API_docs_v38/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v38/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyAll.md b/old_docs/API_docs_v38/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyChats.md b/old_docs/API_docs_v38/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerChannel.md b/old_docs/API_docs_v38/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v38/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerUser.md b/old_docs/API_docs_v38/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v38/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v38/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetID.md b/old_docs/API_docs_v38/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v38/constructors/inputUser.md +++ b/old_docs/API_docs_v38/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v38/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputUserSelf.md b/old_docs/API_docs_v38/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v38/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v38/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputVideo.md b/old_docs/API_docs_v38/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v38/constructors/inputVideo.md +++ b/old_docs/API_docs_v38/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButton.md +++ b/old_docs/API_docs_v38/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v38/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 0c3a7eec..763f7862 100644 --- a/old_docs/API_docs_v38/constructors/message.md +++ b/old_docs/API_docs_v38/constructors/message.md @@ -32,13 +32,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v38/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEmpty.md b/old_docs/API_docs_v38/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v38/constructors/messageEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v38/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v38/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v38/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v38/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v38/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v38/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v38/constructors/messageGroup.md +++ b/old_docs/API_docs_v38/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v38/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaGeo.md b/old_docs/API_docs_v38/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaVenue.md b/old_docs/API_docs_v38/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v38/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v38/constructors/messageRange.md +++ b/old_docs/API_docs_v38/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 002e1fba..b4c68739 100644 --- a/old_docs/API_docs_v38/constructors/messageService.md +++ b/old_docs/API_docs_v38/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 21c13447..b9af3512 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": "string", "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v38/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v38/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v38/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v38/constructors/messages_chats.md +++ b/old_docs/API_docs_v38/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v38/constructors/messages_messages.md +++ b/old_docs/API_docs_v38/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v38/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickers.md +++ b/old_docs/API_docs_v38/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v38/constructors/nearestDc.md +++ b/old_docs/API_docs_v38/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v38/constructors/notifyAll.md +++ b/old_docs/API_docs_v38/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyChats.md b/old_docs/API_docs_v38/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v38/constructors/notifyChats.md +++ b/old_docs/API_docs_v38/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyPeer.md b/old_docs/API_docs_v38/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v38/constructors/notifyPeer.md +++ b/old_docs/API_docs_v38/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v38/constructors/notifyUsers.md +++ b/old_docs/API_docs_v38/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerChannel.md b/old_docs/API_docs_v38/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v38/constructors/peerChannel.md +++ b/old_docs/API_docs_v38/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v38/constructors/peerChat.md +++ b/old_docs/API_docs_v38/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifySettings.md b/old_docs/API_docs_v38/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerUser.md b/old_docs/API_docs_v38/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v38/constructors/peerUser.md +++ b/old_docs/API_docs_v38/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v38/constructors/photo.md +++ b/old_docs/API_docs_v38/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v38/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v38/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v38/constructors/photoEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v38/constructors/photoSize.md +++ b/old_docs/API_docs_v38/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v38/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v38/constructors/photos_photo.md +++ b/old_docs/API_docs_v38/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v38/constructors/photos_photos.md +++ b/old_docs/API_docs_v38/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v38/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v38/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 5c84d9bc..e7464ad5 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md @@ -20,13 +20,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply"} +{"_": "replyKeyboardForceReply"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', } +replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md index f857f46e..d1a59858 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md @@ -20,13 +20,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide"} +{"_": "replyKeyboardHide"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', } +replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md index 6c97277b..372cb905 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md @@ -21,13 +21,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v38/constructors/stickerPack.md +++ b/old_docs/API_docs_v38/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 1af551dd..2d2a1dc9 100644 --- a/old_docs/API_docs_v38/constructors/stickerSet.md +++ b/old_docs/API_docs_v38/constructors/stickerSet.md @@ -26,13 +26,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v38/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v38/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v38/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePng.md +++ b/old_docs/API_docs_v38/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v38/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v38/constructors/updateChannel.md +++ b/old_docs/API_docs_v38/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v38/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v38/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v38/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v38/constructors/updateContactLink.md +++ b/old_docs/API_docs_v38/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v38/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v38/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v38/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v38/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryption.md +++ b/old_docs/API_docs_v38/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v38/constructors/updateMessageID.md +++ b/old_docs/API_docs_v38/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v38/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v38/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v38/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v38/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v38/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v38/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v38/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v38/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v38/constructors/updateShort.md +++ b/old_docs/API_docs_v38/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 25b1b403..f3943853 100644 --- a/old_docs/API_docs_v38/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortChatMessage.md @@ -31,13 +31,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 9377a868..17a9a1c5 100644 --- a/old_docs/API_docs_v38/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortMessage.md @@ -30,13 +30,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 b456091c..61a3f7e8 100644 --- a/old_docs/API_docs_v38/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortSentMessage.md @@ -26,13 +26,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v38/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v38/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v38/constructors/updateUserName.md +++ b/old_docs/API_docs_v38/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v38/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v38/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v38/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v38/constructors/updateWebPage.md +++ b/old_docs/API_docs_v38/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v38/constructors/updates.md +++ b/old_docs/API_docs_v38/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v38/constructors/updatesCombined.md +++ b/old_docs/API_docs_v38/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v38/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v38/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 e52d5a33..2a076f87 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifference.md @@ -26,13 +26,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 34b97329..5ccddce7 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md @@ -22,13 +22,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "pts": int, "timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int, } +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 c1ece402..0d469269 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v38/constructors/updates_difference.md +++ b/old_docs/API_docs_v38/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v38/constructors/updates_state.md +++ b/old_docs/API_docs_v38/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v38/constructors/upload_file.md +++ b/old_docs/API_docs_v38/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 fa220e68..50ae3696 100644 --- a/old_docs/API_docs_v38/constructors/user.md +++ b/old_docs/API_docs_v38/constructors/user.md @@ -29,13 +29,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +{"_": "user", "id": int, "access_hash": long, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus, "bot_info_version": int} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v38/constructors/userEmpty.md +++ b/old_docs/API_docs_v38/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v38/constructors/userFull.md +++ b/old_docs/API_docs_v38/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusEmpty.md b/old_docs/API_docs_v38/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v38/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v38/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusOffline.md b/old_docs/API_docs_v38/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v38/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v38/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v38/constructors/vector.md b/old_docs/API_docs_v38/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v38/constructors/vector.md +++ b/old_docs/API_docs_v38/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v38/constructors/video.md b/old_docs/API_docs_v38/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v38/constructors/video.md +++ b/old_docs/API_docs_v38/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v38/constructors/videoEmpty.md +++ b/old_docs/API_docs_v38/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v38/constructors/wallPaper.md +++ b/old_docs/API_docs_v38/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v38/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v38/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v38/constructors/webPage.md +++ b/old_docs/API_docs_v38/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v38/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v38/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v38/constructors/webPagePending.md +++ b/old_docs/API_docs_v38/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_checkPassword.md b/old_docs/API_docs_v38/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v38/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v38/methods/auth_importAuthorization.md b/old_docs/API_docs_v38/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v38/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_logOut.md b/old_docs/API_docs_v38/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v38/methods/auth_logOut.md +++ b/old_docs/API_docs_v38/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendCode.md b/old_docs/API_docs_v38/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCode.md +++ b/old_docs/API_docs_v38/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_signIn.md b/old_docs/API_docs_v38/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v38/methods/auth_signIn.md +++ b/old_docs/API_docs_v38/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_signUp.md b/old_docs/API_docs_v38/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v38/methods/auth_signUp.md +++ b/old_docs/API_docs_v38/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 9efd54f1..5c23f9d6 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['title' => string, 'about' => string, 'users' => [InputUser], ]); +$Updates = $MadelineProto->channels->createChannel(['title' => 'string', 'about' => 'string', 'users' => [InputUser], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"title":"string","about":"string","users":["InputUser"]} +* params - {"title": "string", "about": "string", "users": [InputUser], } ``` @@ -67,6 +67,6 @@ users - Json encoded array of InputUser Or, if you're into Lua: ``` -Updates = channels.createChannel({title=string, about=string, users={InputUser}, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 e809bc05..2ae350c6 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v38/methods/channels_getFullChannel.md b/old_docs/API_docs_v38/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v38/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v38/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v38/methods/messages_discardEncryption.md b/old_docs/API_docs_v38/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v38/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 2a633e0f..aa1533e1 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v38/methods/messages_getDhConfig.md b/old_docs/API_docs_v38/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v38/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index 84424892..2861dbdc 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_getFullChat.md b/old_docs/API_docs_v38/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v38/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v38/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 e07ef5a3..2ad9fd62 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_receivedQueue.md b/old_docs/API_docs_v38/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v38/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v38/methods/messages_requestEncryption.md b/old_docs/API_docs_v38/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v38/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 de3efc79..104efced 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 e267a588..5556082a 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 804280e9..f85e66a5 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "chat_id": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param=string, }) +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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v38/methods/updates_getDifference.md b/old_docs/API_docs_v38/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v38/methods/updates_getDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v38/methods/updates_getState.md b/old_docs/API_docs_v38/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v38/methods/updates_getState.md +++ b/old_docs/API_docs_v38/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v38/methods/upload_getFile.md b/old_docs/API_docs_v38/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v38/methods/upload_getFile.md +++ b/old_docs/API_docs_v38/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/upload_saveFilePart.md b/old_docs/API_docs_v38/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v38/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/users_getFullUser.md b/old_docs/API_docs_v38/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v38/methods/users_getFullUser.md +++ b/old_docs/API_docs_v38/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v40/constructors/accountDaysTTL.md b/old_docs/API_docs_v40/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v40/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v40/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v40/constructors/account_authorizations.md +++ b/old_docs/API_docs_v40/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v40/constructors/account_noPassword.md +++ b/old_docs/API_docs_v40/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v40/constructors/account_password.md +++ b/old_docs/API_docs_v40/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/account_passwordSettings.md b/old_docs/API_docs_v40/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v40/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v40/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v40/constructors/audio.md +++ b/old_docs/API_docs_v40/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v40/constructors/audioEmpty.md +++ b/old_docs/API_docs_v40/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v40/constructors/auth_authorization.md +++ b/old_docs/API_docs_v40/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v40/constructors/authorization.md +++ b/old_docs/API_docs_v40/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/botCommand.md b/old_docs/API_docs_v40/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v40/constructors/botCommand.md +++ b/old_docs/API_docs_v40/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v40/constructors/botInfo.md +++ b/old_docs/API_docs_v40/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v40/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v40/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/channel.md b/old_docs/API_docs_v40/constructors/channel.md index 2921c7ea..08b5bf56 100644 --- a/old_docs/API_docs_v40/constructors/channel.md +++ b/old_docs/API_docs_v40/constructors/channel.md @@ -26,13 +26,13 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channel","id":"int","access_hash":"long","title":"string","photo":"ChatPhoto","date":"int","version":"int"} +{"_": "channel", "id": int, "access_hash": long, "title": "string", "photo": ChatPhoto, "date": int, "version": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -channel={_='channel', id=int, access_hash=long, title=string, photo=ChatPhoto, date=int, version=int, } +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 9642a3b4..622f5d5f 100644 --- a/old_docs/API_docs_v40/constructors/channelFull.md +++ b/old_docs/API_docs_v40/constructors/channelFull.md @@ -27,13 +27,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelFull","id":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite"} +{"_": "channelFull", "id": int, "read_inbox_max_id": int, "unread_count": int, "unread_important_count": int, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite} ``` @@ -41,7 +41,7 @@ Or, if you're into 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, } +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 613384c5..67b464de 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilter.md @@ -21,13 +21,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "ranges": [MessageRange]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/chat.md b/old_docs/API_docs_v40/constructors/chat.md index 43c20df0..eb033c94 100644 --- a/old_docs/API_docs_v40/constructors/chat.md +++ b/old_docs/API_docs_v40/constructors/chat.md @@ -27,13 +27,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -chat={_='chat', id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int, } +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 27771917..ed3963db 100644 --- a/old_docs/API_docs_v40/constructors/chatEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 00ff4521..c12ce66a 100644 --- a/old_docs/API_docs_v40/constructors/chatForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatForbidden.md @@ -23,13 +23,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string","date":"int"} +{"_": "chatForbidden", "id": int, "title": "string", "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, date=int, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v40/constructors/chatFull.md +++ b/old_docs/API_docs_v40/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInvite.md b/old_docs/API_docs_v40/constructors/chatInvite.md index 372e81ee..dac4ca64 100644 --- a/old_docs/API_docs_v40/constructors/chatInvite.md +++ b/old_docs/API_docs_v40/constructors/chatInvite.md @@ -21,13 +21,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","title":"string"} +{"_": "chatInvite", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v40/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInviteExported.md b/old_docs/API_docs_v40/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v40/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipant.md +++ b/old_docs/API_docs_v40/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 ff71f0b9..ea28fb98 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipants.md +++ b/old_docs/API_docs_v40/constructors/chatParticipants.md @@ -24,13 +24,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "admin_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int, } +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 a7061ce0..8a896128 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md @@ -21,13 +21,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int"} +{"_": "chatParticipantsForbidden", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v40/constructors/chatPhoto.md +++ b/old_docs/API_docs_v40/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/config.md b/old_docs/API_docs_v40/constructors/config.md index 324b64b2..f39cc213 100644 --- a/old_docs/API_docs_v40/constructors/config.md +++ b/old_docs/API_docs_v40/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v40/constructors/contact.md +++ b/old_docs/API_docs_v40/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v40/constructors/contactBlocked.md +++ b/old_docs/API_docs_v40/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 2b164dd9..fea1d7a8 100644 --- a/old_docs/API_docs_v40/constructors/contactFound.md +++ b/old_docs/API_docs_v40/constructors/contactFound.md @@ -21,13 +21,13 @@ description: contactFound attributes, type and example ### Example: ``` -$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +$contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactFound","user_id":"int"} +{"_": "contactFound", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -contactFound={_='contactFound', user_id=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v40/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkNone.md b/old_docs/API_docs_v40/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactStatus.md b/old_docs/API_docs_v40/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v40/constructors/contactStatus.md +++ b/old_docs/API_docs_v40/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v40/constructors/contactSuggested.md +++ b/old_docs/API_docs_v40/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v40/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 98f22b0e..9f966611 100644 --- a/old_docs/API_docs_v40/constructors/contacts_found.md +++ b/old_docs/API_docs_v40/constructors/contacts_found.md @@ -22,13 +22,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +{"_": "contacts.found", "results": [ContactFound], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={ContactFound}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v40/constructors/contacts_link.md +++ b/old_docs/API_docs_v40/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v40/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v40/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 7a0716aa..f83ef67b 100644 --- a/old_docs/API_docs_v40/constructors/dcOption.md +++ b/old_docs/API_docs_v40/constructors/dcOption.md @@ -23,13 +23,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "id": int, "ip_address": "string", "port": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v40/constructors/dialog.md +++ b/old_docs/API_docs_v40/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v40/constructors/dialogChannel.md +++ b/old_docs/API_docs_v40/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v40/constructors/disabledFeature.md +++ b/old_docs/API_docs_v40/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v40/constructors/document.md +++ b/old_docs/API_docs_v40/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v40/constructors/documentEmpty.md +++ b/old_docs/API_docs_v40/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChat.md +++ b/old_docs/API_docs_v40/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFile.md +++ b/old_docs/API_docs_v40/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedMessage.md b/old_docs/API_docs_v40/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v40/constructors/error.md +++ b/old_docs/API_docs_v40/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v40/constructors/fileLocation.md +++ b/old_docs/API_docs_v40/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v40/constructors/geoPoint.md +++ b/old_docs/API_docs_v40/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v40/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v40/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v40/constructors/help_inviteText.md +++ b/old_docs/API_docs_v40/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v40/constructors/help_support.md +++ b/old_docs/API_docs_v40/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v40/constructors/importedContact.md +++ b/old_docs/API_docs_v40/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v40/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v40/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v40/constructors/inputAudio.md +++ b/old_docs/API_docs_v40/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 7218d207..5f70e3a1 100644 --- a/old_docs/API_docs_v40/constructors/inputChannel.md +++ b/old_docs/API_docs_v40/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 180e7cdd..d113e494 100644 --- a/old_docs/API_docs_v40/constructors/inputChat.md +++ b/old_docs/API_docs_v40/constructors/inputChat.md @@ -21,13 +21,13 @@ description: inputChat attributes, type and example ### Example: ``` -$inputChat = ['_' => 'inputChat', 'chat_id' => int, ]; +$inputChat = ['_' => 'inputChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChat","chat_id":"int"} +{"_": "inputChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChat={_='inputChat', chat_id=int, } +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 59900009..51b28158 100644 --- a/old_docs/API_docs_v40/constructors/inputChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatEmpty.md @@ -16,13 +16,13 @@ description: inputChatEmpty attributes, type and example ### Example: ``` -$inputChatEmpty = ['_' => 'inputChatEmpty', ]; +$inputChatEmpty = ['_' => 'inputChatEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatEmpty"} +{"_": "inputChatEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatEmpty={_='inputChatEmpty', } +inputChatEmpty={_='inputChatEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatPhoto.md b/old_docs/API_docs_v40/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v40/constructors/inputDocument.md +++ b/old_docs/API_docs_v40/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v40/constructors/inputFile.md +++ b/old_docs/API_docs_v40/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v40/constructors/inputFileBig.md +++ b/old_docs/API_docs_v40/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v40/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaAudio.md b/old_docs/API_docs_v40/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v40/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyAll.md b/old_docs/API_docs_v40/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyChats.md b/old_docs/API_docs_v40/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerChannel.md b/old_docs/API_docs_v40/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v40/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerUser.md b/old_docs/API_docs_v40/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v40/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v40/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetID.md b/old_docs/API_docs_v40/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v40/constructors/inputUser.md +++ b/old_docs/API_docs_v40/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v40/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputUserSelf.md b/old_docs/API_docs_v40/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v40/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v40/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputVideo.md b/old_docs/API_docs_v40/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v40/constructors/inputVideo.md +++ b/old_docs/API_docs_v40/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButton.md +++ b/old_docs/API_docs_v40/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v40/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 b71cf7a4..d571ee27 100644 --- a/old_docs/API_docs_v40/constructors/message.md +++ b/old_docs/API_docs_v40/constructors/message.md @@ -31,13 +31,13 @@ description: message attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v40/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEmpty.md b/old_docs/API_docs_v40/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v40/constructors/messageEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v40/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v40/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v40/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v40/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v40/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v40/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v40/constructors/messageGroup.md +++ b/old_docs/API_docs_v40/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v40/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaGeo.md b/old_docs/API_docs_v40/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaVenue.md b/old_docs/API_docs_v40/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v40/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v40/constructors/messageRange.md +++ b/old_docs/API_docs_v40/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 002e1fba..b4c68739 100644 --- a/old_docs/API_docs_v40/constructors/messageService.md +++ b/old_docs/API_docs_v40/constructors/messageService.md @@ -25,13 +25,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 21c13447..b9af3512 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": "string", "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v40/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v40/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v40/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v40/constructors/messages_chats.md +++ b/old_docs/API_docs_v40/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v40/constructors/messages_messages.md +++ b/old_docs/API_docs_v40/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v40/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickers.md +++ b/old_docs/API_docs_v40/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v40/constructors/nearestDc.md +++ b/old_docs/API_docs_v40/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v40/constructors/notifyAll.md +++ b/old_docs/API_docs_v40/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyChats.md b/old_docs/API_docs_v40/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v40/constructors/notifyChats.md +++ b/old_docs/API_docs_v40/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyPeer.md b/old_docs/API_docs_v40/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v40/constructors/notifyPeer.md +++ b/old_docs/API_docs_v40/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v40/constructors/notifyUsers.md +++ b/old_docs/API_docs_v40/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerChannel.md b/old_docs/API_docs_v40/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v40/constructors/peerChannel.md +++ b/old_docs/API_docs_v40/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v40/constructors/peerChat.md +++ b/old_docs/API_docs_v40/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifySettings.md b/old_docs/API_docs_v40/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerUser.md b/old_docs/API_docs_v40/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v40/constructors/peerUser.md +++ b/old_docs/API_docs_v40/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v40/constructors/photo.md +++ b/old_docs/API_docs_v40/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v40/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v40/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v40/constructors/photoEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v40/constructors/photoSize.md +++ b/old_docs/API_docs_v40/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v40/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v40/constructors/photos_photo.md +++ b/old_docs/API_docs_v40/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v40/constructors/photos_photos.md +++ b/old_docs/API_docs_v40/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v40/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v40/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 5c84d9bc..e7464ad5 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md @@ -20,13 +20,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply"} +{"_": "replyKeyboardForceReply"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', } +replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md index f857f46e..d1a59858 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md @@ -20,13 +20,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide"} +{"_": "replyKeyboardHide"} ``` @@ -34,7 +34,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', } +replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md index 6c97277b..372cb905 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md @@ -21,13 +21,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v40/constructors/stickerPack.md +++ b/old_docs/API_docs_v40/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 1af551dd..2d2a1dc9 100644 --- a/old_docs/API_docs_v40/constructors/stickerSet.md +++ b/old_docs/API_docs_v40/constructors/stickerSet.md @@ -26,13 +26,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v40/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v40/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v40/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePng.md +++ b/old_docs/API_docs_v40/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v40/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v40/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v40/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 7acee0ac..7c846162 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v40/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v40/constructors/updateContactLink.md +++ b/old_docs/API_docs_v40/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v40/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v40/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v40/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v40/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 032e12f6..14673d06 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => Peer, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => Peer, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","peer":"Peer","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "peer": Peer, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', peer=Peer, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryption.md +++ b/old_docs/API_docs_v40/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v40/constructors/updateMessageID.md +++ b/old_docs/API_docs_v40/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v40/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v40/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v40/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v40/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v40/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v40/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 52fffdea..8925580e 100644 --- a/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","peer":"Peer","max_id":"int"} +{"_": "updateReadChannelInbox", "peer": Peer, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', peer=Peer, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v40/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v40/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v40/constructors/updateShort.md +++ b/old_docs/API_docs_v40/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 24e1f00c..70cb94ad 100644 --- a/old_docs/API_docs_v40/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortChatMessage.md @@ -31,13 +31,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 9334f223..28e4d6ea 100644 --- a/old_docs/API_docs_v40/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortMessage.md @@ -30,13 +30,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 b456091c..61a3f7e8 100644 --- a/old_docs/API_docs_v40/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortSentMessage.md @@ -26,13 +26,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v40/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v40/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v40/constructors/updateUserName.md +++ b/old_docs/API_docs_v40/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v40/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v40/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v40/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 e074db1d..ac6f2812 100644 --- a/old_docs/API_docs_v40/constructors/updateWebPage.md +++ b/old_docs/API_docs_v40/constructors/updateWebPage.md @@ -21,13 +21,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage"} +{"_": "updateWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v40/constructors/updates.md +++ b/old_docs/API_docs_v40/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v40/constructors/updatesCombined.md +++ b/old_docs/API_docs_v40/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v40/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v40/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 e52d5a33..2a076f87 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifference.md @@ -26,13 +26,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 34b97329..5ccddce7 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md @@ -22,13 +22,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "pts": int, "timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int, } +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 c1ece402..0d469269 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v40/constructors/updates_difference.md +++ b/old_docs/API_docs_v40/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v40/constructors/updates_state.md +++ b/old_docs/API_docs_v40/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v40/constructors/upload_file.md +++ b/old_docs/API_docs_v40/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 fa220e68..50ae3696 100644 --- a/old_docs/API_docs_v40/constructors/user.md +++ b/old_docs/API_docs_v40/constructors/user.md @@ -29,13 +29,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +{"_": "user", "id": int, "access_hash": long, "first_name": "string", "last_name": "string", "username": "string", "phone": "string", "photo": UserProfilePhoto, "status": UserStatus, "bot_info_version": int} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v40/constructors/userEmpty.md +++ b/old_docs/API_docs_v40/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v40/constructors/userFull.md +++ b/old_docs/API_docs_v40/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusEmpty.md b/old_docs/API_docs_v40/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v40/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v40/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusOffline.md b/old_docs/API_docs_v40/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v40/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v40/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v40/constructors/vector.md b/old_docs/API_docs_v40/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v40/constructors/vector.md +++ b/old_docs/API_docs_v40/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v40/constructors/video.md b/old_docs/API_docs_v40/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v40/constructors/video.md +++ b/old_docs/API_docs_v40/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v40/constructors/videoEmpty.md +++ b/old_docs/API_docs_v40/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v40/constructors/wallPaper.md +++ b/old_docs/API_docs_v40/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v40/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v40/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v40/constructors/webPage.md +++ b/old_docs/API_docs_v40/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v40/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v40/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v40/constructors/webPagePending.md +++ b/old_docs/API_docs_v40/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_checkPassword.md b/old_docs/API_docs_v40/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v40/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v40/methods/auth_importAuthorization.md b/old_docs/API_docs_v40/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v40/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_logOut.md b/old_docs/API_docs_v40/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v40/methods/auth_logOut.md +++ b/old_docs/API_docs_v40/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendCode.md b/old_docs/API_docs_v40/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCode.md +++ b/old_docs/API_docs_v40/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_signIn.md b/old_docs/API_docs_v40/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v40/methods/auth_signIn.md +++ b/old_docs/API_docs_v40/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_signUp.md b/old_docs/API_docs_v40/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v40/methods/auth_signUp.md +++ b/old_docs/API_docs_v40/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md index 06cce35c..b8102828 100644 --- a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$User = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = contacts.resolveUsername({username=string, }) +User = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 8aff1f91..58d92953 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChannel(['title' => string, ]); +$Updates = $MadelineProto->messages->createChannel(['title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChannel -* params - {"title":"string"} +* params - {"title": "string", } ``` @@ -63,6 +63,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChannel({title=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 43c19441..163db18a 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChannelMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 1182a891..eca8a0d5 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","offset":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v40/methods/messages_discardEncryption.md b/old_docs/API_docs_v40/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v40/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 e32455f5..4c195f80 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"peer":"InputPeer","id":["int"]} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 2c0afd32..7062637a 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChannelDialogs -* params - {"offset":"int","limit":"int"} +* params - {"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 38bee8a3..0ff2677e 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["InputChat"]} +* params - {"id": [InputChat], } ``` diff --git a/old_docs/API_docs_v40/methods/messages_getDhConfig.md b/old_docs/API_docs_v40/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v40/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index 84424892..2861dbdc 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_getFullChat.md b/old_docs/API_docs_v40/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v40/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v40/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index a3915678..da57e968 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset":"int","max_id":"int","min_id":"int","limit":"int"} +* params - {"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 26416bd8..1582684a 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getImportantHistory -* params - {"peer":"InputPeer","max_id":"int","min_id":"int","limit":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 933a9c8c..fb9d894c 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readChannelHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 e07ef5a3..2ad9fd62 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int","offset":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_receivedQueue.md b/old_docs/API_docs_v40/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v40/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v40/methods/messages_requestEncryption.md b/old_docs/API_docs_v40/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v40/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 de3efc79..104efced 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 e267a588..5556082a 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 804280e9..f85e66a5 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "chat_id": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param=string, }) +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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md index d5fb1f7c..3e86e4d1 100644 --- a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"peer":"InputPeer","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"peer": InputPeer, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v40/methods/updates_getDifference.md b/old_docs/API_docs_v40/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v40/methods/updates_getDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v40/methods/updates_getState.md b/old_docs/API_docs_v40/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v40/methods/updates_getState.md +++ b/old_docs/API_docs_v40/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v40/methods/upload_getFile.md b/old_docs/API_docs_v40/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v40/methods/upload_getFile.md +++ b/old_docs/API_docs_v40/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/upload_saveFilePart.md b/old_docs/API_docs_v40/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v40/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/users_getFullUser.md b/old_docs/API_docs_v40/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v40/methods/users_getFullUser.md +++ b/old_docs/API_docs_v40/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v41/constructors/accountDaysTTL.md b/old_docs/API_docs_v41/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v41/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v41/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v41/constructors/account_authorizations.md +++ b/old_docs/API_docs_v41/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v41/constructors/account_noPassword.md +++ b/old_docs/API_docs_v41/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v41/constructors/account_password.md +++ b/old_docs/API_docs_v41/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/account_passwordSettings.md b/old_docs/API_docs_v41/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v41/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v41/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v41/constructors/audio.md +++ b/old_docs/API_docs_v41/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v41/constructors/audioEmpty.md +++ b/old_docs/API_docs_v41/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v41/constructors/auth_authorization.md +++ b/old_docs/API_docs_v41/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v41/constructors/authorization.md +++ b/old_docs/API_docs_v41/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/botCommand.md b/old_docs/API_docs_v41/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v41/constructors/botCommand.md +++ b/old_docs/API_docs_v41/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v41/constructors/botInfo.md +++ b/old_docs/API_docs_v41/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v41/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v41/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channel.md b/old_docs/API_docs_v41/constructors/channel.md index d4ee8d7f..76e012a7 100644 --- a/old_docs/API_docs_v41/constructors/channel.md +++ b/old_docs/API_docs_v41/constructors/channel.md @@ -35,13 +35,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v41/constructors/channelForbidden.md +++ b/old_docs/API_docs_v41/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 d44fd8e3..d8cfc660 100644 --- a/old_docs/API_docs_v41/constructors/channelFull.md +++ b/old_docs/API_docs_v41/constructors/channelFull.md @@ -35,13 +35,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 7d0f95ca..d6881e7f 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipant.md b/old_docs/API_docs_v41/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleEditor.md b/old_docs/API_docs_v41/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleModerator.md b/old_docs/API_docs_v41/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v41/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v41/constructors/chat.md +++ b/old_docs/API_docs_v41/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v41/constructors/chatEmpty.md b/old_docs/API_docs_v41/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v41/constructors/chatEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v41/constructors/chatForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v41/constructors/chatFull.md +++ b/old_docs/API_docs_v41/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInvite.md b/old_docs/API_docs_v41/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v41/constructors/chatInvite.md +++ b/old_docs/API_docs_v41/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v41/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInviteExported.md b/old_docs/API_docs_v41/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v41/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipant.md +++ b/old_docs/API_docs_v41/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipants.md +++ b/old_docs/API_docs_v41/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v41/constructors/chatPhoto.md +++ b/old_docs/API_docs_v41/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/config.md b/old_docs/API_docs_v41/constructors/config.md index 7de9a043..cd811559 100644 --- a/old_docs/API_docs_v41/constructors/config.md +++ b/old_docs/API_docs_v41/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v41/constructors/contact.md +++ b/old_docs/API_docs_v41/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v41/constructors/contactBlocked.md +++ b/old_docs/API_docs_v41/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v41/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkNone.md b/old_docs/API_docs_v41/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactStatus.md b/old_docs/API_docs_v41/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v41/constructors/contactStatus.md +++ b/old_docs/API_docs_v41/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v41/constructors/contactSuggested.md +++ b/old_docs/API_docs_v41/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v41/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v41/constructors/contacts_found.md +++ b/old_docs/API_docs_v41/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v41/constructors/contacts_link.md +++ b/old_docs/API_docs_v41/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v41/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v41/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 85ff3d71..e7408bca 100644 --- a/old_docs/API_docs_v41/constructors/dcOption.md +++ b/old_docs/API_docs_v41/constructors/dcOption.md @@ -25,13 +25,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v41/constructors/dialog.md +++ b/old_docs/API_docs_v41/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v41/constructors/dialogChannel.md +++ b/old_docs/API_docs_v41/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v41/constructors/disabledFeature.md +++ b/old_docs/API_docs_v41/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v41/constructors/document.md +++ b/old_docs/API_docs_v41/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v41/constructors/documentEmpty.md +++ b/old_docs/API_docs_v41/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChat.md +++ b/old_docs/API_docs_v41/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFile.md +++ b/old_docs/API_docs_v41/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedMessage.md b/old_docs/API_docs_v41/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v41/constructors/error.md +++ b/old_docs/API_docs_v41/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v41/constructors/fileLocation.md +++ b/old_docs/API_docs_v41/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v41/constructors/geoPoint.md +++ b/old_docs/API_docs_v41/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v41/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v41/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v41/constructors/help_inviteText.md +++ b/old_docs/API_docs_v41/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v41/constructors/help_support.md +++ b/old_docs/API_docs_v41/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v41/constructors/importedContact.md +++ b/old_docs/API_docs_v41/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v41/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v41/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v41/constructors/inputAudio.md +++ b/old_docs/API_docs_v41/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v41/constructors/inputChannel.md +++ b/old_docs/API_docs_v41/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v41/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChatPhoto.md b/old_docs/API_docs_v41/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v41/constructors/inputDocument.md +++ b/old_docs/API_docs_v41/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v41/constructors/inputFile.md +++ b/old_docs/API_docs_v41/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v41/constructors/inputFileBig.md +++ b/old_docs/API_docs_v41/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v41/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaAudio.md b/old_docs/API_docs_v41/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v41/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyAll.md b/old_docs/API_docs_v41/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyChats.md b/old_docs/API_docs_v41/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerChannel.md b/old_docs/API_docs_v41/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v41/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerUser.md b/old_docs/API_docs_v41/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v41/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v41/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetID.md b/old_docs/API_docs_v41/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v41/constructors/inputUser.md +++ b/old_docs/API_docs_v41/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v41/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputUserSelf.md b/old_docs/API_docs_v41/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v41/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v41/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputVideo.md b/old_docs/API_docs_v41/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v41/constructors/inputVideo.md +++ b/old_docs/API_docs_v41/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButton.md +++ b/old_docs/API_docs_v41/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v41/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 f79f8de6..2aaeb6eb 100644 --- a/old_docs/API_docs_v41/constructors/message.md +++ b/old_docs/API_docs_v41/constructors/message.md @@ -36,13 +36,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -50,7 +50,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 38a79031..9d580797 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatActivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatActivate.md @@ -16,13 +16,13 @@ description: messageActionChatActivate attributes, type and example ### Example: ``` -$messageActionChatActivate = ['_' => 'messageActionChatActivate', ]; +$messageActionChatActivate = ['_' => 'messageActionChatActivate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatActivate"} +{"_": "messageActionChatActivate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatActivate={_='messageActionChatActivate', } +messageActionChatActivate={_='messageActionChatActivate'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md index ee6711dd..9126a638 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","user_id":"int"} +{"_": "messageActionChatAddUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', user_id=int, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 25c7921c..0271662d 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md @@ -16,13 +16,13 @@ description: messageActionChatDeactivate attributes, type and example ### Example: ``` -$messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate', ]; +$messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeactivate"} +{"_": "messageActionChatDeactivate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeactivate={_='messageActionChatDeactivate', } +messageActionChatDeactivate={_='messageActionChatDeactivate'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md index f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v41/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEmpty.md b/old_docs/API_docs_v41/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v41/constructors/messageEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v41/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v41/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v41/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v41/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v41/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v41/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v41/constructors/messageGroup.md +++ b/old_docs/API_docs_v41/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v41/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaGeo.md b/old_docs/API_docs_v41/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaVenue.md b/old_docs/API_docs_v41/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v41/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v41/constructors/messageRange.md +++ b/old_docs/API_docs_v41/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 f44b4869..e0fafee7 100644 --- a/old_docs/API_docs_v41/constructors/messageService.md +++ b/old_docs/API_docs_v41/constructors/messageService.md @@ -29,13 +29,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 21c13447..b9af3512 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": "string", "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v41/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v41/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v41/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v41/constructors/messages_chats.md +++ b/old_docs/API_docs_v41/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v41/constructors/messages_messages.md +++ b/old_docs/API_docs_v41/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v41/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickers.md +++ b/old_docs/API_docs_v41/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v41/constructors/nearestDc.md +++ b/old_docs/API_docs_v41/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v41/constructors/notifyAll.md +++ b/old_docs/API_docs_v41/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyChats.md b/old_docs/API_docs_v41/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v41/constructors/notifyChats.md +++ b/old_docs/API_docs_v41/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyPeer.md b/old_docs/API_docs_v41/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v41/constructors/notifyPeer.md +++ b/old_docs/API_docs_v41/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v41/constructors/notifyUsers.md +++ b/old_docs/API_docs_v41/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerChannel.md b/old_docs/API_docs_v41/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v41/constructors/peerChannel.md +++ b/old_docs/API_docs_v41/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v41/constructors/peerChat.md +++ b/old_docs/API_docs_v41/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifySettings.md b/old_docs/API_docs_v41/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerUser.md b/old_docs/API_docs_v41/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v41/constructors/peerUser.md +++ b/old_docs/API_docs_v41/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v41/constructors/photo.md +++ b/old_docs/API_docs_v41/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v41/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v41/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v41/constructors/photoEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v41/constructors/photoSize.md +++ b/old_docs/API_docs_v41/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v41/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v41/constructors/photos_photo.md +++ b/old_docs/API_docs_v41/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v41/constructors/photos_photos.md +++ b/old_docs/API_docs_v41/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v41/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v41/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v41/constructors/stickerPack.md +++ b/old_docs/API_docs_v41/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v41/constructors/stickerSet.md +++ b/old_docs/API_docs_v41/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v41/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v41/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v41/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePng.md +++ b/old_docs/API_docs_v41/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v41/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v41/constructors/true.md +++ b/old_docs/API_docs_v41/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChannel.md b/old_docs/API_docs_v41/constructors/updateChannel.md index a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v41/constructors/updateChannel.md +++ b/old_docs/API_docs_v41/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v41/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v41/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v41/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v41/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v41/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v41/constructors/updateContactLink.md +++ b/old_docs/API_docs_v41/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v41/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v41/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v41/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v41/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryption.md +++ b/old_docs/API_docs_v41/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v41/constructors/updateMessageID.md +++ b/old_docs/API_docs_v41/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v41/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v41/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v41/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v41/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v41/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v41/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v41/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v41/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v41/constructors/updateShort.md +++ b/old_docs/API_docs_v41/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 a5cc5fce..e72e1b3c 100644 --- a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 076ffac8..ad848bd2 100644 --- a/old_docs/API_docs_v41/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v41/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v41/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v41/constructors/updateUserName.md +++ b/old_docs/API_docs_v41/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v41/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v41/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v41/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v41/constructors/updateWebPage.md +++ b/old_docs/API_docs_v41/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v41/constructors/updates.md +++ b/old_docs/API_docs_v41/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v41/constructors/updatesCombined.md +++ b/old_docs/API_docs_v41/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v41/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v41/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 4302d54b..d6cd354f 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v41/constructors/updates_difference.md +++ b/old_docs/API_docs_v41/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v41/constructors/updates_state.md +++ b/old_docs/API_docs_v41/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v41/constructors/upload_file.md +++ b/old_docs/API_docs_v41/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 1098035e..e28ba7cf 100644 --- a/old_docs/API_docs_v41/constructors/user.md +++ b/old_docs/API_docs_v41/constructors/user.md @@ -37,13 +37,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v41/constructors/userEmpty.md +++ b/old_docs/API_docs_v41/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v41/constructors/userFull.md +++ b/old_docs/API_docs_v41/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusEmpty.md b/old_docs/API_docs_v41/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v41/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v41/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusOffline.md b/old_docs/API_docs_v41/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v41/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v41/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v41/constructors/vector.md b/old_docs/API_docs_v41/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v41/constructors/vector.md +++ b/old_docs/API_docs_v41/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v41/constructors/video.md b/old_docs/API_docs_v41/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v41/constructors/video.md +++ b/old_docs/API_docs_v41/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v41/constructors/videoEmpty.md +++ b/old_docs/API_docs_v41/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v41/constructors/wallPaper.md +++ b/old_docs/API_docs_v41/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v41/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v41/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v41/constructors/webPage.md +++ b/old_docs/API_docs_v41/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v41/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v41/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v41/constructors/webPagePending.md +++ b/old_docs/API_docs_v41/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_checkPassword.md b/old_docs/API_docs_v41/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v41/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v41/methods/auth_importAuthorization.md b/old_docs/API_docs_v41/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v41/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_logOut.md b/old_docs/API_docs_v41/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v41/methods/auth_logOut.md +++ b/old_docs/API_docs_v41/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendCode.md b/old_docs/API_docs_v41/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCode.md +++ b/old_docs/API_docs_v41/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_signIn.md b/old_docs/API_docs_v41/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v41/methods/auth_signIn.md +++ b/old_docs/API_docs_v41/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_signUp.md b/old_docs/API_docs_v41/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v41/methods/auth_signUp.md +++ b/old_docs/API_docs_v41/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 e809bc05..2ae350c6 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v41/methods/channels_getFullChannel.md b/old_docs/API_docs_v41/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v41/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v41/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 8ab57c7c..72d42184 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deactivateChat -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v41/methods/messages_discardEncryption.md b/old_docs/API_docs_v41/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v41/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 812a4214..a0d4f132 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v41/methods/messages_getDhConfig.md b/old_docs/API_docs_v41/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v41/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index 84424892..2861dbdc 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_getFullChat.md b/old_docs/API_docs_v41/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v41/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v41/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_receivedQueue.md b/old_docs/API_docs_v41/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v41/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v41/methods/messages_requestEncryption.md b/old_docs/API_docs_v41/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v41/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 750419ad..6eca9578 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 cb76f655..23a6c50d 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into 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', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v41/methods/updates_getDifference.md b/old_docs/API_docs_v41/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v41/methods/updates_getDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v41/methods/updates_getState.md b/old_docs/API_docs_v41/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v41/methods/updates_getState.md +++ b/old_docs/API_docs_v41/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v41/methods/upload_getFile.md b/old_docs/API_docs_v41/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v41/methods/upload_getFile.md +++ b/old_docs/API_docs_v41/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/upload_saveFilePart.md b/old_docs/API_docs_v41/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v41/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/users_getFullUser.md b/old_docs/API_docs_v41/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v41/methods/users_getFullUser.md +++ b/old_docs/API_docs_v41/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v42/constructors/accountDaysTTL.md b/old_docs/API_docs_v42/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v42/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v42/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v42/constructors/account_authorizations.md +++ b/old_docs/API_docs_v42/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v42/constructors/account_noPassword.md +++ b/old_docs/API_docs_v42/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v42/constructors/account_password.md +++ b/old_docs/API_docs_v42/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/account_passwordSettings.md b/old_docs/API_docs_v42/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v42/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v42/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v42/constructors/audio.md +++ b/old_docs/API_docs_v42/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v42/constructors/audioEmpty.md +++ b/old_docs/API_docs_v42/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v42/constructors/auth_authorization.md +++ b/old_docs/API_docs_v42/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v42/constructors/authorization.md +++ b/old_docs/API_docs_v42/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/botCommand.md b/old_docs/API_docs_v42/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v42/constructors/botCommand.md +++ b/old_docs/API_docs_v42/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v42/constructors/botInfo.md +++ b/old_docs/API_docs_v42/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v42/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v42/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channel.md b/old_docs/API_docs_v42/constructors/channel.md index d4ee8d7f..76e012a7 100644 --- a/old_docs/API_docs_v42/constructors/channel.md +++ b/old_docs/API_docs_v42/constructors/channel.md @@ -35,13 +35,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v42/constructors/channelForbidden.md +++ b/old_docs/API_docs_v42/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 d44fd8e3..d8cfc660 100644 --- a/old_docs/API_docs_v42/constructors/channelFull.md +++ b/old_docs/API_docs_v42/constructors/channelFull.md @@ -35,13 +35,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 b6f94861..22379cfa 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md @@ -23,13 +23,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipant.md b/old_docs/API_docs_v42/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleEditor.md b/old_docs/API_docs_v42/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleModerator.md b/old_docs/API_docs_v42/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v42/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v42/constructors/chat.md +++ b/old_docs/API_docs_v42/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v42/constructors/chatEmpty.md b/old_docs/API_docs_v42/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v42/constructors/chatEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v42/constructors/chatForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v42/constructors/chatFull.md +++ b/old_docs/API_docs_v42/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInvite.md b/old_docs/API_docs_v42/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v42/constructors/chatInvite.md +++ b/old_docs/API_docs_v42/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v42/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInviteExported.md b/old_docs/API_docs_v42/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v42/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipant.md +++ b/old_docs/API_docs_v42/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipants.md +++ b/old_docs/API_docs_v42/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v42/constructors/chatPhoto.md +++ b/old_docs/API_docs_v42/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/config.md b/old_docs/API_docs_v42/constructors/config.md index 7de9a043..cd811559 100644 --- a/old_docs/API_docs_v42/constructors/config.md +++ b/old_docs/API_docs_v42/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v42/constructors/contact.md +++ b/old_docs/API_docs_v42/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v42/constructors/contactBlocked.md +++ b/old_docs/API_docs_v42/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v42/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkNone.md b/old_docs/API_docs_v42/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactStatus.md b/old_docs/API_docs_v42/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v42/constructors/contactStatus.md +++ b/old_docs/API_docs_v42/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v42/constructors/contactSuggested.md +++ b/old_docs/API_docs_v42/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v42/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v42/constructors/contacts_found.md +++ b/old_docs/API_docs_v42/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v42/constructors/contacts_link.md +++ b/old_docs/API_docs_v42/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v42/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v42/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 85ff3d71..e7408bca 100644 --- a/old_docs/API_docs_v42/constructors/dcOption.md +++ b/old_docs/API_docs_v42/constructors/dcOption.md @@ -25,13 +25,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v42/constructors/dialog.md +++ b/old_docs/API_docs_v42/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v42/constructors/dialogChannel.md +++ b/old_docs/API_docs_v42/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v42/constructors/disabledFeature.md +++ b/old_docs/API_docs_v42/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v42/constructors/document.md +++ b/old_docs/API_docs_v42/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v42/constructors/documentEmpty.md +++ b/old_docs/API_docs_v42/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChat.md +++ b/old_docs/API_docs_v42/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFile.md +++ b/old_docs/API_docs_v42/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedMessage.md b/old_docs/API_docs_v42/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v42/constructors/error.md +++ b/old_docs/API_docs_v42/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v42/constructors/fileLocation.md +++ b/old_docs/API_docs_v42/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v42/constructors/geoPoint.md +++ b/old_docs/API_docs_v42/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v42/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v42/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v42/constructors/help_inviteText.md +++ b/old_docs/API_docs_v42/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v42/constructors/help_support.md +++ b/old_docs/API_docs_v42/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v42/constructors/importedContact.md +++ b/old_docs/API_docs_v42/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v42/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v42/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v42/constructors/inputAudio.md +++ b/old_docs/API_docs_v42/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v42/constructors/inputChannel.md +++ b/old_docs/API_docs_v42/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v42/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChatPhoto.md b/old_docs/API_docs_v42/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v42/constructors/inputDocument.md +++ b/old_docs/API_docs_v42/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v42/constructors/inputFile.md +++ b/old_docs/API_docs_v42/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v42/constructors/inputFileBig.md +++ b/old_docs/API_docs_v42/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v42/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaAudio.md b/old_docs/API_docs_v42/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v42/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyAll.md b/old_docs/API_docs_v42/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyChats.md b/old_docs/API_docs_v42/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerChannel.md b/old_docs/API_docs_v42/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v42/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerUser.md b/old_docs/API_docs_v42/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v42/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v42/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetID.md b/old_docs/API_docs_v42/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v42/constructors/inputUser.md +++ b/old_docs/API_docs_v42/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v42/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputUserSelf.md b/old_docs/API_docs_v42/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v42/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v42/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputVideo.md b/old_docs/API_docs_v42/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v42/constructors/inputVideo.md +++ b/old_docs/API_docs_v42/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButton.md +++ b/old_docs/API_docs_v42/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v42/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 f79f8de6..2aaeb6eb 100644 --- a/old_docs/API_docs_v42/constructors/message.md +++ b/old_docs/API_docs_v42/constructors/message.md @@ -36,13 +36,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -50,7 +50,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v42/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEmpty.md b/old_docs/API_docs_v42/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v42/constructors/messageEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v42/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v42/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v42/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v42/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v42/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v42/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v42/constructors/messageGroup.md +++ b/old_docs/API_docs_v42/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v42/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaGeo.md b/old_docs/API_docs_v42/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaVenue.md b/old_docs/API_docs_v42/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v42/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v42/constructors/messageRange.md +++ b/old_docs/API_docs_v42/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 f44b4869..e0fafee7 100644 --- a/old_docs/API_docs_v42/constructors/messageService.md +++ b/old_docs/API_docs_v42/constructors/messageService.md @@ -29,13 +29,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 21c13447..b9af3512 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": "string", "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=string, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v42/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v42/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v42/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v42/constructors/messages_chats.md +++ b/old_docs/API_docs_v42/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v42/constructors/messages_messages.md +++ b/old_docs/API_docs_v42/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v42/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickers.md +++ b/old_docs/API_docs_v42/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v42/constructors/nearestDc.md +++ b/old_docs/API_docs_v42/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v42/constructors/notifyAll.md +++ b/old_docs/API_docs_v42/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyChats.md b/old_docs/API_docs_v42/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v42/constructors/notifyChats.md +++ b/old_docs/API_docs_v42/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyPeer.md b/old_docs/API_docs_v42/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v42/constructors/notifyPeer.md +++ b/old_docs/API_docs_v42/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v42/constructors/notifyUsers.md +++ b/old_docs/API_docs_v42/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerChannel.md b/old_docs/API_docs_v42/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v42/constructors/peerChannel.md +++ b/old_docs/API_docs_v42/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v42/constructors/peerChat.md +++ b/old_docs/API_docs_v42/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifySettings.md b/old_docs/API_docs_v42/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerUser.md b/old_docs/API_docs_v42/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v42/constructors/peerUser.md +++ b/old_docs/API_docs_v42/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v42/constructors/photo.md +++ b/old_docs/API_docs_v42/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v42/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v42/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v42/constructors/photoEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v42/constructors/photoSize.md +++ b/old_docs/API_docs_v42/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v42/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v42/constructors/photos_photo.md +++ b/old_docs/API_docs_v42/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v42/constructors/photos_photos.md +++ b/old_docs/API_docs_v42/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v42/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v42/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v42/constructors/stickerPack.md +++ b/old_docs/API_docs_v42/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v42/constructors/stickerSet.md +++ b/old_docs/API_docs_v42/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v42/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v42/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v42/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePng.md +++ b/old_docs/API_docs_v42/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v42/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v42/constructors/true.md +++ b/old_docs/API_docs_v42/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChannel.md b/old_docs/API_docs_v42/constructors/updateChannel.md index a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v42/constructors/updateChannel.md +++ b/old_docs/API_docs_v42/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v42/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v42/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v42/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v42/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v42/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v42/constructors/updateContactLink.md +++ b/old_docs/API_docs_v42/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v42/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v42/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v42/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v42/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryption.md +++ b/old_docs/API_docs_v42/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v42/constructors/updateMessageID.md +++ b/old_docs/API_docs_v42/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v42/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v42/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v42/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v42/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v42/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v42/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v42/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v42/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v42/constructors/updateShort.md +++ b/old_docs/API_docs_v42/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 a5cc5fce..e72e1b3c 100644 --- a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 076ffac8..ad848bd2 100644 --- a/old_docs/API_docs_v42/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v42/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v42/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v42/constructors/updateUserName.md +++ b/old_docs/API_docs_v42/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v42/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v42/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v42/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v42/constructors/updateWebPage.md +++ b/old_docs/API_docs_v42/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v42/constructors/updates.md +++ b/old_docs/API_docs_v42/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v42/constructors/updatesCombined.md +++ b/old_docs/API_docs_v42/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v42/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v42/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 4302d54b..d6cd354f 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v42/constructors/updates_difference.md +++ b/old_docs/API_docs_v42/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v42/constructors/updates_state.md +++ b/old_docs/API_docs_v42/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v42/constructors/upload_file.md +++ b/old_docs/API_docs_v42/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 1098035e..e28ba7cf 100644 --- a/old_docs/API_docs_v42/constructors/user.md +++ b/old_docs/API_docs_v42/constructors/user.md @@ -37,13 +37,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v42/constructors/userEmpty.md +++ b/old_docs/API_docs_v42/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v42/constructors/userFull.md +++ b/old_docs/API_docs_v42/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusEmpty.md b/old_docs/API_docs_v42/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v42/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v42/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusOffline.md b/old_docs/API_docs_v42/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v42/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v42/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v42/constructors/vector.md b/old_docs/API_docs_v42/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v42/constructors/vector.md +++ b/old_docs/API_docs_v42/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v42/constructors/video.md b/old_docs/API_docs_v42/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v42/constructors/video.md +++ b/old_docs/API_docs_v42/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v42/constructors/videoEmpty.md +++ b/old_docs/API_docs_v42/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v42/constructors/wallPaper.md +++ b/old_docs/API_docs_v42/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v42/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v42/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v42/constructors/webPage.md +++ b/old_docs/API_docs_v42/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v42/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v42/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v42/constructors/webPagePending.md +++ b/old_docs/API_docs_v42/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_checkPassword.md b/old_docs/API_docs_v42/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v42/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v42/methods/auth_importAuthorization.md b/old_docs/API_docs_v42/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v42/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_logOut.md b/old_docs/API_docs_v42/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v42/methods/auth_logOut.md +++ b/old_docs/API_docs_v42/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendCode.md b/old_docs/API_docs_v42/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCode.md +++ b/old_docs/API_docs_v42/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_signIn.md b/old_docs/API_docs_v42/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v42/methods/auth_signIn.md +++ b/old_docs/API_docs_v42/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_signUp.md b/old_docs/API_docs_v42/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v42/methods/auth_signUp.md +++ b/old_docs/API_docs_v42/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v42/methods/channels_getFullChannel.md b/old_docs/API_docs_v42/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v42/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v42/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v42/methods/messages_discardEncryption.md b/old_docs/API_docs_v42/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v42/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 812a4214..a0d4f132 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 35ba6f74..fb1c3b89 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_AllStickers = messages.getAllStickers({hash=string, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v42/methods/messages_getDhConfig.md b/old_docs/API_docs_v42/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v42/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"offset_date": int, "offset_id": int, "offset_peer": InputPeer, "limit": int, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_getFullChat.md b/old_docs/API_docs_v42/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v42/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v42/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_receivedQueue.md b/old_docs/API_docs_v42/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v42/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v42/methods/messages_requestEncryption.md b/old_docs/API_docs_v42/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v42/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 750419ad..6eca9578 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 cb76f655..23a6c50d 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into 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', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v42/methods/updates_getDifference.md b/old_docs/API_docs_v42/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v42/methods/updates_getDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v42/methods/updates_getState.md b/old_docs/API_docs_v42/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v42/methods/updates_getState.md +++ b/old_docs/API_docs_v42/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v42/methods/upload_getFile.md b/old_docs/API_docs_v42/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v42/methods/upload_getFile.md +++ b/old_docs/API_docs_v42/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/upload_saveFilePart.md b/old_docs/API_docs_v42/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v42/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/users_getFullUser.md b/old_docs/API_docs_v42/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v42/methods/users_getFullUser.md +++ b/old_docs/API_docs_v42/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v44/constructors/accountDaysTTL.md b/old_docs/API_docs_v44/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v44/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v44/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v44/constructors/account_authorizations.md +++ b/old_docs/API_docs_v44/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v44/constructors/account_noPassword.md +++ b/old_docs/API_docs_v44/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v44/constructors/account_password.md +++ b/old_docs/API_docs_v44/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/account_passwordSettings.md b/old_docs/API_docs_v44/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v44/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v44/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v44/constructors/audio.md +++ b/old_docs/API_docs_v44/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v44/constructors/audioEmpty.md +++ b/old_docs/API_docs_v44/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v44/constructors/auth_authorization.md +++ b/old_docs/API_docs_v44/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v44/constructors/authorization.md +++ b/old_docs/API_docs_v44/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/botCommand.md b/old_docs/API_docs_v44/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v44/constructors/botCommand.md +++ b/old_docs/API_docs_v44/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v44/constructors/botInfo.md +++ b/old_docs/API_docs_v44/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v44/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v44/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channel.md b/old_docs/API_docs_v44/constructors/channel.md index 81987071..d0e5ede0 100644 --- a/old_docs/API_docs_v44/constructors/channel.md +++ b/old_docs/API_docs_v44/constructors/channel.md @@ -37,13 +37,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v44/constructors/channelForbidden.md +++ b/old_docs/API_docs_v44/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 d44fd8e3..d8cfc660 100644 --- a/old_docs/API_docs_v44/constructors/channelFull.md +++ b/old_docs/API_docs_v44/constructors/channelFull.md @@ -35,13 +35,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 b6f94861..22379cfa 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md @@ -23,13 +23,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipant.md b/old_docs/API_docs_v44/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleEditor.md b/old_docs/API_docs_v44/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleModerator.md b/old_docs/API_docs_v44/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v44/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v44/constructors/chat.md +++ b/old_docs/API_docs_v44/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v44/constructors/chatEmpty.md b/old_docs/API_docs_v44/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v44/constructors/chatEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v44/constructors/chatForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v44/constructors/chatFull.md +++ b/old_docs/API_docs_v44/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInvite.md b/old_docs/API_docs_v44/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v44/constructors/chatInvite.md +++ b/old_docs/API_docs_v44/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v44/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInviteExported.md b/old_docs/API_docs_v44/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v44/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipant.md +++ b/old_docs/API_docs_v44/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipants.md +++ b/old_docs/API_docs_v44/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v44/constructors/chatPhoto.md +++ b/old_docs/API_docs_v44/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/config.md b/old_docs/API_docs_v44/constructors/config.md index 7de9a043..cd811559 100644 --- a/old_docs/API_docs_v44/constructors/config.md +++ b/old_docs/API_docs_v44/constructors/config.md @@ -38,13 +38,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -52,7 +52,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v44/constructors/contact.md +++ b/old_docs/API_docs_v44/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v44/constructors/contactBlocked.md +++ b/old_docs/API_docs_v44/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v44/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkNone.md b/old_docs/API_docs_v44/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactStatus.md b/old_docs/API_docs_v44/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v44/constructors/contactStatus.md +++ b/old_docs/API_docs_v44/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v44/constructors/contactSuggested.md +++ b/old_docs/API_docs_v44/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v44/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v44/constructors/contacts_found.md +++ b/old_docs/API_docs_v44/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v44/constructors/contacts_link.md +++ b/old_docs/API_docs_v44/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v44/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v44/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 85ff3d71..e7408bca 100644 --- a/old_docs/API_docs_v44/constructors/dcOption.md +++ b/old_docs/API_docs_v44/constructors/dcOption.md @@ -25,13 +25,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v44/constructors/dialog.md +++ b/old_docs/API_docs_v44/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v44/constructors/dialogChannel.md +++ b/old_docs/API_docs_v44/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v44/constructors/disabledFeature.md +++ b/old_docs/API_docs_v44/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v44/constructors/document.md +++ b/old_docs/API_docs_v44/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v44/constructors/documentEmpty.md +++ b/old_docs/API_docs_v44/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChat.md +++ b/old_docs/API_docs_v44/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFile.md +++ b/old_docs/API_docs_v44/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedMessage.md b/old_docs/API_docs_v44/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v44/constructors/error.md +++ b/old_docs/API_docs_v44/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v44/constructors/fileLocation.md +++ b/old_docs/API_docs_v44/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 580015f0..be7a8750 100644 --- a/old_docs/API_docs_v44/constructors/foundGif.md +++ b/old_docs/API_docs_v44/constructors/foundGif.md @@ -21,13 +21,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'webpage' => WebPage, ]; +$foundGif = ['_' => 'foundGif', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","webpage":"WebPage"} +{"_": "foundGif", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', webpage=WebPage, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v44/constructors/geoPoint.md +++ b/old_docs/API_docs_v44/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v44/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v44/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v44/constructors/help_inviteText.md +++ b/old_docs/API_docs_v44/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v44/constructors/help_support.md +++ b/old_docs/API_docs_v44/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v44/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v44/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v44/constructors/importedContact.md +++ b/old_docs/API_docs_v44/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v44/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v44/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v44/constructors/inputAudio.md +++ b/old_docs/API_docs_v44/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v44/constructors/inputChannel.md +++ b/old_docs/API_docs_v44/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v44/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChatPhoto.md b/old_docs/API_docs_v44/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v44/constructors/inputDocument.md +++ b/old_docs/API_docs_v44/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v44/constructors/inputFile.md +++ b/old_docs/API_docs_v44/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v44/constructors/inputFileBig.md +++ b/old_docs/API_docs_v44/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v44/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaAudio.md b/old_docs/API_docs_v44/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v44/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 231c733f..a030d732 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaDocument.md @@ -21,13 +21,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument"} +{"_": "inputMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d36bed64..d3e232a9 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md @@ -23,13 +23,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 843b4415..b58dd757 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyAll.md b/old_docs/API_docs_v44/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyChats.md b/old_docs/API_docs_v44/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerChannel.md b/old_docs/API_docs_v44/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v44/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerUser.md b/old_docs/API_docs_v44/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v44/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v44/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetID.md b/old_docs/API_docs_v44/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v44/constructors/inputUser.md +++ b/old_docs/API_docs_v44/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v44/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputUserSelf.md b/old_docs/API_docs_v44/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v44/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v44/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputVideo.md b/old_docs/API_docs_v44/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v44/constructors/inputVideo.md +++ b/old_docs/API_docs_v44/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButton.md +++ b/old_docs/API_docs_v44/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v44/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 f79f8de6..2aaeb6eb 100644 --- a/old_docs/API_docs_v44/constructors/message.md +++ b/old_docs/API_docs_v44/constructors/message.md @@ -36,13 +36,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -50,7 +50,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v44/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEmpty.md b/old_docs/API_docs_v44/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v44/constructors/messageEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v44/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v44/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v44/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v44/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v44/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v44/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v44/constructors/messageGroup.md +++ b/old_docs/API_docs_v44/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v44/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 ec51032e..0455b935 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/messageMediaDocument.md @@ -21,13 +21,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document"} +{"_": "messageMediaDocument", "document": Document} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaGeo.md b/old_docs/API_docs_v44/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaVenue.md b/old_docs/API_docs_v44/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v44/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v44/constructors/messageRange.md +++ b/old_docs/API_docs_v44/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 f44b4869..e0fafee7 100644 --- a/old_docs/API_docs_v44/constructors/messageService.md +++ b/old_docs/API_docs_v44/constructors/messageService.md @@ -29,13 +29,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v44/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v44/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v44/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v44/constructors/messages_chats.md +++ b/old_docs/API_docs_v44/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v44/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v44/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v44/constructors/messages_messages.md +++ b/old_docs/API_docs_v44/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v44/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickers.md +++ b/old_docs/API_docs_v44/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v44/constructors/nearestDc.md +++ b/old_docs/API_docs_v44/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v44/constructors/notifyAll.md +++ b/old_docs/API_docs_v44/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyChats.md b/old_docs/API_docs_v44/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v44/constructors/notifyChats.md +++ b/old_docs/API_docs_v44/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyPeer.md b/old_docs/API_docs_v44/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v44/constructors/notifyPeer.md +++ b/old_docs/API_docs_v44/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v44/constructors/notifyUsers.md +++ b/old_docs/API_docs_v44/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerChannel.md b/old_docs/API_docs_v44/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v44/constructors/peerChannel.md +++ b/old_docs/API_docs_v44/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v44/constructors/peerChat.md +++ b/old_docs/API_docs_v44/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifySettings.md b/old_docs/API_docs_v44/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerUser.md b/old_docs/API_docs_v44/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v44/constructors/peerUser.md +++ b/old_docs/API_docs_v44/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v44/constructors/photo.md +++ b/old_docs/API_docs_v44/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v44/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v44/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v44/constructors/photoEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v44/constructors/photoSize.md +++ b/old_docs/API_docs_v44/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v44/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v44/constructors/photos_photo.md +++ b/old_docs/API_docs_v44/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v44/constructors/photos_photos.md +++ b/old_docs/API_docs_v44/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v44/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v44/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v44/constructors/stickerPack.md +++ b/old_docs/API_docs_v44/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v44/constructors/stickerSet.md +++ b/old_docs/API_docs_v44/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v44/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v44/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v44/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePng.md +++ b/old_docs/API_docs_v44/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v44/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v44/constructors/true.md +++ b/old_docs/API_docs_v44/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChannel.md b/old_docs/API_docs_v44/constructors/updateChannel.md index a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v44/constructors/updateChannel.md +++ b/old_docs/API_docs_v44/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v44/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v44/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v44/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v44/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v44/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v44/constructors/updateContactLink.md +++ b/old_docs/API_docs_v44/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v44/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v44/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v44/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v44/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryption.md +++ b/old_docs/API_docs_v44/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v44/constructors/updateMessageID.md +++ b/old_docs/API_docs_v44/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v44/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v44/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v44/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v44/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v44/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v44/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 1b604182..8c907716 100644 --- a/old_docs/API_docs_v44/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v44/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v44/constructors/updateShort.md +++ b/old_docs/API_docs_v44/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 a5cc5fce..e72e1b3c 100644 --- a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 076ffac8..ad848bd2 100644 --- a/old_docs/API_docs_v44/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v44/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v44/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v44/constructors/updateUserName.md +++ b/old_docs/API_docs_v44/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v44/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v44/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v44/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v44/constructors/updateWebPage.md +++ b/old_docs/API_docs_v44/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v44/constructors/updates.md +++ b/old_docs/API_docs_v44/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v44/constructors/updatesCombined.md +++ b/old_docs/API_docs_v44/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v44/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v44/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 4302d54b..d6cd354f 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v44/constructors/updates_difference.md +++ b/old_docs/API_docs_v44/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v44/constructors/updates_state.md +++ b/old_docs/API_docs_v44/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v44/constructors/upload_file.md +++ b/old_docs/API_docs_v44/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 cb179e83..c867e569 100644 --- a/old_docs/API_docs_v44/constructors/user.md +++ b/old_docs/API_docs_v44/constructors/user.md @@ -39,13 +39,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -53,7 +53,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v44/constructors/userEmpty.md +++ b/old_docs/API_docs_v44/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v44/constructors/userFull.md +++ b/old_docs/API_docs_v44/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusEmpty.md b/old_docs/API_docs_v44/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v44/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v44/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusOffline.md b/old_docs/API_docs_v44/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v44/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v44/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v44/constructors/vector.md b/old_docs/API_docs_v44/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v44/constructors/vector.md +++ b/old_docs/API_docs_v44/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v44/constructors/video.md b/old_docs/API_docs_v44/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v44/constructors/video.md +++ b/old_docs/API_docs_v44/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v44/constructors/videoEmpty.md +++ b/old_docs/API_docs_v44/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v44/constructors/wallPaper.md +++ b/old_docs/API_docs_v44/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v44/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v44/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v44/constructors/webPage.md +++ b/old_docs/API_docs_v44/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v44/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v44/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 f7c3d7d8..7088ff0d 100644 --- a/old_docs/API_docs_v44/constructors/webPageExternal.md +++ b/old_docs/API_docs_v44/constructors/webPageExternal.md @@ -30,13 +30,13 @@ description: webPageExternal attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageExternal","url":"string","display_url":"string","type":"string","title":"string","description":"string","thumb_url":"string","content_url":"string","w":"int","h":"int","duration":"int"} +{"_": "webPageExternal", "url": "string", "display_url": "string", "type": "string", "title": "string", "description": "string", "thumb_url": "string", "content_url": "string", "w": int, "h": int, "duration": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v44/constructors/webPagePending.md +++ b/old_docs/API_docs_v44/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_checkPassword.md b/old_docs/API_docs_v44/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v44/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v44/methods/auth_importAuthorization.md b/old_docs/API_docs_v44/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v44/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_logOut.md b/old_docs/API_docs_v44/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v44/methods/auth_logOut.md +++ b/old_docs/API_docs_v44/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendCode.md b/old_docs/API_docs_v44/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCode.md +++ b/old_docs/API_docs_v44/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_signIn.md b/old_docs/API_docs_v44/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v44/methods/auth_signIn.md +++ b/old_docs/API_docs_v44/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_signUp.md b/old_docs/API_docs_v44/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v44/methods/auth_signUp.md +++ b/old_docs/API_docs_v44/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v44/methods/channels_getFullChannel.md b/old_docs/API_docs_v44/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v44/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v44/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index c6bfce8a..77ee8875 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_TermsOfService = help.getTermsOfService({lang_code=string, }) +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 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v44/methods/messages_discardEncryption.md b/old_docs/API_docs_v44/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v44/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 812a4214..a0d4f132 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDhConfig.md b/old_docs/API_docs_v44/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v44/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getFullChat.md b/old_docs/API_docs_v44/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v44/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v44/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_receivedQueue.md b/old_docs/API_docs_v44/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v44/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v44/methods/messages_requestEncryption.md b/old_docs/API_docs_v44/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v44/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 750419ad..6eca9578 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 cb76f655..23a6c50d 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into 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', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v44/methods/updates_getDifference.md b/old_docs/API_docs_v44/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v44/methods/updates_getDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v44/methods/updates_getState.md b/old_docs/API_docs_v44/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v44/methods/updates_getState.md +++ b/old_docs/API_docs_v44/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v44/methods/upload_getFile.md b/old_docs/API_docs_v44/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v44/methods/upload_getFile.md +++ b/old_docs/API_docs_v44/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/upload_saveFilePart.md b/old_docs/API_docs_v44/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v44/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/users_getFullUser.md b/old_docs/API_docs_v44/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v44/methods/users_getFullUser.md +++ b/old_docs/API_docs_v44/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v45/constructors/accountDaysTTL.md b/old_docs/API_docs_v45/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v45/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v45/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v45/constructors/account_authorizations.md +++ b/old_docs/API_docs_v45/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v45/constructors/account_noPassword.md +++ b/old_docs/API_docs_v45/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v45/constructors/account_password.md +++ b/old_docs/API_docs_v45/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/account_passwordSettings.md b/old_docs/API_docs_v45/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v45/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v45/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v45/constructors/audio.md +++ b/old_docs/API_docs_v45/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v45/constructors/audioEmpty.md +++ b/old_docs/API_docs_v45/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v45/constructors/auth_authorization.md +++ b/old_docs/API_docs_v45/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v45/constructors/authorization.md +++ b/old_docs/API_docs_v45/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/botCommand.md b/old_docs/API_docs_v45/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v45/constructors/botCommand.md +++ b/old_docs/API_docs_v45/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v45/constructors/botInfo.md +++ b/old_docs/API_docs_v45/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v45/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v45/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md index 5efa9544..03726155 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md @@ -24,13 +24,13 @@ description: botInlineMediaResultDocument attributes, type and example ### Example: ``` -$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => 'string', 'type' => 'string', 'document' => Document, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResultDocument","id":"string","type":"string","document":"Document","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResultDocument", "id": "string", "type": "string", "document": Document, "send_message": BotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMediaResultDocument={_='botInlineMediaResultDocument', id=string, type=string, document=Document, send_message=BotInlineMessage, } +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 8f3ffa7e..0837a227 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md @@ -24,13 +24,13 @@ description: botInlineMediaResultPhoto attributes, type and example ### Example: ``` -$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResultPhoto","id":"string","type":"string","photo":"Photo","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResultPhoto", "id": "string", "type": "string", "photo": Photo, "send_message": BotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id=string, type=string, photo=Photo, send_message=BotInlineMessage, } +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 2eab032c..e5cf1af5 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md @@ -21,13 +21,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string"} +{"_": "botInlineMessageMediaAuto", "caption": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, } +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 c0f2a745..4737d6ba 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageText.md @@ -23,13 +23,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } +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 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v45/constructors/botInlineResult.md +++ b/old_docs/API_docs_v45/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 fde31936..73bdcb81 100644 --- a/old_docs/API_docs_v45/constructors/channel.md +++ b/old_docs/API_docs_v45/constructors/channel.md @@ -37,13 +37,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v45/constructors/channelForbidden.md +++ b/old_docs/API_docs_v45/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 d44fd8e3..d8cfc660 100644 --- a/old_docs/API_docs_v45/constructors/channelFull.md +++ b/old_docs/API_docs_v45/constructors/channelFull.md @@ -35,13 +35,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 b6f94861..22379cfa 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md @@ -23,13 +23,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipant.md b/old_docs/API_docs_v45/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleEditor.md b/old_docs/API_docs_v45/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleModerator.md b/old_docs/API_docs_v45/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v45/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v45/constructors/chat.md +++ b/old_docs/API_docs_v45/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v45/constructors/chatEmpty.md b/old_docs/API_docs_v45/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v45/constructors/chatEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v45/constructors/chatForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v45/constructors/chatFull.md +++ b/old_docs/API_docs_v45/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInvite.md b/old_docs/API_docs_v45/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v45/constructors/chatInvite.md +++ b/old_docs/API_docs_v45/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v45/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInviteExported.md b/old_docs/API_docs_v45/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v45/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipant.md +++ b/old_docs/API_docs_v45/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipants.md +++ b/old_docs/API_docs_v45/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v45/constructors/chatPhoto.md +++ b/old_docs/API_docs_v45/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/config.md b/old_docs/API_docs_v45/constructors/config.md index cd33aeda..2e9c15b7 100644 --- a/old_docs/API_docs_v45/constructors/config.md +++ b/old_docs/API_docs_v45/constructors/config.md @@ -39,13 +39,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -53,7 +53,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v45/constructors/contact.md +++ b/old_docs/API_docs_v45/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v45/constructors/contactBlocked.md +++ b/old_docs/API_docs_v45/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v45/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkNone.md b/old_docs/API_docs_v45/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactStatus.md b/old_docs/API_docs_v45/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v45/constructors/contactStatus.md +++ b/old_docs/API_docs_v45/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v45/constructors/contactSuggested.md +++ b/old_docs/API_docs_v45/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v45/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v45/constructors/contacts_found.md +++ b/old_docs/API_docs_v45/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v45/constructors/contacts_link.md +++ b/old_docs/API_docs_v45/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v45/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v45/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 85ff3d71..e7408bca 100644 --- a/old_docs/API_docs_v45/constructors/dcOption.md +++ b/old_docs/API_docs_v45/constructors/dcOption.md @@ -25,13 +25,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v45/constructors/dialog.md +++ b/old_docs/API_docs_v45/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v45/constructors/dialogChannel.md +++ b/old_docs/API_docs_v45/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v45/constructors/disabledFeature.md +++ b/old_docs/API_docs_v45/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v45/constructors/document.md +++ b/old_docs/API_docs_v45/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v45/constructors/documentEmpty.md +++ b/old_docs/API_docs_v45/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChat.md +++ b/old_docs/API_docs_v45/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFile.md +++ b/old_docs/API_docs_v45/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedMessage.md b/old_docs/API_docs_v45/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v45/constructors/error.md +++ b/old_docs/API_docs_v45/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v45/constructors/fileLocation.md +++ b/old_docs/API_docs_v45/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v45/constructors/foundGif.md +++ b/old_docs/API_docs_v45/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v45/constructors/foundGifCached.md +++ b/old_docs/API_docs_v45/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v45/constructors/geoPoint.md +++ b/old_docs/API_docs_v45/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v45/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v45/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v45/constructors/help_inviteText.md +++ b/old_docs/API_docs_v45/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v45/constructors/help_support.md +++ b/old_docs/API_docs_v45/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v45/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v45/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v45/constructors/importedContact.md +++ b/old_docs/API_docs_v45/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v45/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v45/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v45/constructors/inputAudio.md +++ b/old_docs/API_docs_v45/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 bed6991a..91e0125e 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, } +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 b28d194f..4c4b0e7d 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v45/constructors/inputChannel.md +++ b/old_docs/API_docs_v45/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v45/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChatPhoto.md b/old_docs/API_docs_v45/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v45/constructors/inputDocument.md +++ b/old_docs/API_docs_v45/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v45/constructors/inputFile.md +++ b/old_docs/API_docs_v45/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v45/constructors/inputFileBig.md +++ b/old_docs/API_docs_v45/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v45/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaAudio.md b/old_docs/API_docs_v45/constructors/inputMediaAudio.md index 0c83afd5..975c269b 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","id":"InputAudio"} +{"_": "inputMediaAudio", "id": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', id=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v45/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d7c6dee4..e102bfc4 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 8c1c9295..03fb76e2 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8626bf3d..8941aa9a 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyAll.md b/old_docs/API_docs_v45/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyChats.md b/old_docs/API_docs_v45/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerChannel.md b/old_docs/API_docs_v45/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v45/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerUser.md b/old_docs/API_docs_v45/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v45/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v45/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetID.md b/old_docs/API_docs_v45/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v45/constructors/inputUser.md +++ b/old_docs/API_docs_v45/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v45/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputUserSelf.md b/old_docs/API_docs_v45/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v45/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v45/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputVideo.md b/old_docs/API_docs_v45/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v45/constructors/inputVideo.md +++ b/old_docs/API_docs_v45/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButton.md +++ b/old_docs/API_docs_v45/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v45/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 38811d9e..52d40d97 100644 --- a/old_docs/API_docs_v45/constructors/message.md +++ b/old_docs/API_docs_v45/constructors/message.md @@ -37,13 +37,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v45/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEmpty.md b/old_docs/API_docs_v45/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v45/constructors/messageEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v45/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v45/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v45/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v45/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v45/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v45/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v45/constructors/messageGroup.md +++ b/old_docs/API_docs_v45/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v45/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaGeo.md b/old_docs/API_docs_v45/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaVenue.md b/old_docs/API_docs_v45/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v45/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v45/constructors/messageRange.md +++ b/old_docs/API_docs_v45/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 f44b4869..e0fafee7 100644 --- a/old_docs/API_docs_v45/constructors/messageService.md +++ b/old_docs/API_docs_v45/constructors/messageService.md @@ -29,13 +29,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7c070065..3de08179 100644 --- a/old_docs/API_docs_v45/constructors/messages_botResults.md +++ b/old_docs/API_docs_v45/constructors/messages_botResults.md @@ -24,13 +24,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "results": [BotInlineResult]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, results={BotInlineResult}, } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v45/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v45/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v45/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v45/constructors/messages_chats.md +++ b/old_docs/API_docs_v45/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v45/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v45/constructors/messages_messages.md +++ b/old_docs/API_docs_v45/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v45/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickers.md +++ b/old_docs/API_docs_v45/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v45/constructors/nearestDc.md +++ b/old_docs/API_docs_v45/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v45/constructors/notifyAll.md +++ b/old_docs/API_docs_v45/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyChats.md b/old_docs/API_docs_v45/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v45/constructors/notifyChats.md +++ b/old_docs/API_docs_v45/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyPeer.md b/old_docs/API_docs_v45/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v45/constructors/notifyPeer.md +++ b/old_docs/API_docs_v45/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v45/constructors/notifyUsers.md +++ b/old_docs/API_docs_v45/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerChannel.md b/old_docs/API_docs_v45/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v45/constructors/peerChannel.md +++ b/old_docs/API_docs_v45/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v45/constructors/peerChat.md +++ b/old_docs/API_docs_v45/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifySettings.md b/old_docs/API_docs_v45/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerUser.md b/old_docs/API_docs_v45/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v45/constructors/peerUser.md +++ b/old_docs/API_docs_v45/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v45/constructors/photo.md +++ b/old_docs/API_docs_v45/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v45/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v45/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v45/constructors/photoEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v45/constructors/photoSize.md +++ b/old_docs/API_docs_v45/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v45/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v45/constructors/photos_photo.md +++ b/old_docs/API_docs_v45/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v45/constructors/photos_photos.md +++ b/old_docs/API_docs_v45/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v45/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v45/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v45/constructors/stickerPack.md +++ b/old_docs/API_docs_v45/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v45/constructors/stickerSet.md +++ b/old_docs/API_docs_v45/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v45/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v45/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v45/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePng.md +++ b/old_docs/API_docs_v45/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v45/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v45/constructors/true.md +++ b/old_docs/API_docs_v45/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md index 7dbbd355..40dfba51 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md @@ -24,13 +24,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "offset": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, offset=string, } +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 7e27ab5b..e1fbc827 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineSend.md @@ -23,13 +23,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'id' => string, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","id":"string"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "id": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, id=string, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v45/constructors/updateChannel.md +++ b/old_docs/API_docs_v45/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v45/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v45/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v45/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v45/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v45/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v45/constructors/updateContactLink.md +++ b/old_docs/API_docs_v45/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v45/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v45/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v45/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v45/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryption.md +++ b/old_docs/API_docs_v45/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v45/constructors/updateMessageID.md +++ b/old_docs/API_docs_v45/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v45/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v45/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v45/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v45/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v45/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v45/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v45/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v45/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateServiceNotification.md b/old_docs/API_docs_v45/constructors/updateServiceNotification.md index 1b604182..8c907716 100644 --- a/old_docs/API_docs_v45/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v45/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v45/constructors/updateShort.md +++ b/old_docs/API_docs_v45/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 8a27f3f4..c288b09b 100644 --- a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md @@ -36,13 +36,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -50,7 +50,7 @@ Or, if you're into 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}, } +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 cf7f581d..3db2beec 100644 --- a/old_docs/API_docs_v45/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortMessage.md @@ -35,13 +35,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v45/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v45/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v45/constructors/updateUserName.md +++ b/old_docs/API_docs_v45/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v45/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v45/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v45/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v45/constructors/updateWebPage.md +++ b/old_docs/API_docs_v45/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v45/constructors/updates.md +++ b/old_docs/API_docs_v45/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v45/constructors/updatesCombined.md +++ b/old_docs/API_docs_v45/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v45/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v45/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 4302d54b..d6cd354f 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v45/constructors/updates_difference.md +++ b/old_docs/API_docs_v45/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v45/constructors/updates_state.md +++ b/old_docs/API_docs_v45/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v45/constructors/upload_file.md +++ b/old_docs/API_docs_v45/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 1765d729..ebec2c20 100644 --- a/old_docs/API_docs_v45/constructors/user.md +++ b/old_docs/API_docs_v45/constructors/user.md @@ -40,13 +40,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v45/constructors/userEmpty.md +++ b/old_docs/API_docs_v45/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v45/constructors/userFull.md +++ b/old_docs/API_docs_v45/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusEmpty.md b/old_docs/API_docs_v45/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v45/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v45/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusOffline.md b/old_docs/API_docs_v45/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v45/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v45/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v45/constructors/vector.md b/old_docs/API_docs_v45/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v45/constructors/vector.md +++ b/old_docs/API_docs_v45/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v45/constructors/video.md b/old_docs/API_docs_v45/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v45/constructors/video.md +++ b/old_docs/API_docs_v45/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v45/constructors/videoEmpty.md +++ b/old_docs/API_docs_v45/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v45/constructors/wallPaper.md +++ b/old_docs/API_docs_v45/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v45/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v45/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v45/constructors/webPage.md +++ b/old_docs/API_docs_v45/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v45/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v45/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v45/constructors/webPagePending.md +++ b/old_docs/API_docs_v45/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_checkPassword.md b/old_docs/API_docs_v45/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v45/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v45/methods/auth_importAuthorization.md b/old_docs/API_docs_v45/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v45/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_logOut.md b/old_docs/API_docs_v45/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v45/methods/auth_logOut.md +++ b/old_docs/API_docs_v45/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendCode.md b/old_docs/API_docs_v45/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCode.md +++ b/old_docs/API_docs_v45/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_signIn.md b/old_docs/API_docs_v45/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v45/methods/auth_signIn.md +++ b/old_docs/API_docs_v45/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_signUp.md b/old_docs/API_docs_v45/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v45/methods/auth_signUp.md +++ b/old_docs/API_docs_v45/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v45/methods/channels_getFullChannel.md b/old_docs/API_docs_v45/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v45/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v45/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index c6bfce8a..77ee8875 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_TermsOfService = help.getTermsOfService({lang_code=string, }) +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 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v45/methods/messages_discardEncryption.md b/old_docs/API_docs_v45/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v45/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 812a4214..a0d4f132 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDhConfig.md b/old_docs/API_docs_v45/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v45/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getFullChat.md b/old_docs/API_docs_v45/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v45/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v45/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 452e70c8..8e488ca9 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","query":"string","offset":"string"} +* params - {"bot": InputUser, "query": "string", "offset": "string", } ``` @@ -67,6 +67,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, query=string, offset=string, }) +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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_receivedQueue.md b/old_docs/API_docs_v45/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v45/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v45/methods/messages_requestEncryption.md b/old_docs/API_docs_v45/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v45/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 3552d87b..ddd5a962 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -71,6 +71,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 750419ad..6eca9578 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 cb76f655..23a6c50d 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into 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', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 0231ff63..32c49ea2 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", } ``` @@ -73,6 +73,6 @@ next_offset - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, }) +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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v45/methods/updates_getDifference.md b/old_docs/API_docs_v45/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v45/methods/updates_getDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v45/methods/updates_getState.md b/old_docs/API_docs_v45/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v45/methods/updates_getState.md +++ b/old_docs/API_docs_v45/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v45/methods/upload_getFile.md b/old_docs/API_docs_v45/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v45/methods/upload_getFile.md +++ b/old_docs/API_docs_v45/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/upload_saveFilePart.md b/old_docs/API_docs_v45/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v45/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/users_getFullUser.md b/old_docs/API_docs_v45/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v45/methods/users_getFullUser.md +++ b/old_docs/API_docs_v45/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v46/constructors/accountDaysTTL.md b/old_docs/API_docs_v46/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v46/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v46/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v46/constructors/account_authorizations.md +++ b/old_docs/API_docs_v46/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v46/constructors/account_noPassword.md +++ b/old_docs/API_docs_v46/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v46/constructors/account_password.md +++ b/old_docs/API_docs_v46/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/account_passwordSettings.md b/old_docs/API_docs_v46/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v46/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v46/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 1b776018..4e05220d 100644 --- a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md @@ -22,13 +22,13 @@ description: account_sentChangePhoneCode attributes, type and example ### Example: ``` -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, } +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 d0f34764..171600e9 100644 --- a/old_docs/API_docs_v46/constructors/audio.md +++ b/old_docs/API_docs_v46/constructors/audio.md @@ -27,13 +27,13 @@ description: audio attributes, type and example ### Example: ``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +{"_": "audio", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "dc_id": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type=string, size=int, dc_id=int, } +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 72e43b19..eebd4362 100644 --- a/old_docs/API_docs_v46/constructors/audioEmpty.md +++ b/old_docs/API_docs_v46/constructors/audioEmpty.md @@ -21,13 +21,13 @@ description: audioEmpty attributes, type and example ### Example: ``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +$audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"audioEmpty","id":"long"} +{"_": "audioEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -audioEmpty={_='audioEmpty', id=long, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v46/constructors/auth_authorization.md +++ b/old_docs/API_docs_v46/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 4288276f..b90921f4 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md @@ -24,13 +24,13 @@ description: auth_sentAppCode attributes, type and example ### Example: ``` -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentAppCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 d393aeae..e68508c1 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentCode.md @@ -24,13 +24,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +{"_": "auth.sentCode", "phone_registered": Bool, "phone_code_hash": "string", "send_call_timeout": int, "is_password": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash=string, send_call_timeout=int, is_password=Bool, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v46/constructors/authorization.md +++ b/old_docs/API_docs_v46/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/botCommand.md b/old_docs/API_docs_v46/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v46/constructors/botCommand.md +++ b/old_docs/API_docs_v46/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 32328ee5..cf3406af 100644 --- a/old_docs/API_docs_v46/constructors/botInfo.md +++ b/old_docs/API_docs_v46/constructors/botInfo.md @@ -25,13 +25,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "version": int, "share_text": "string", "description": "string", "commands": [BotCommand]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, version=int, share_text=string, description=string, commands={BotCommand}, } +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 0e6a5962..9172cdc2 100644 --- a/old_docs/API_docs_v46/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v46/constructors/botInfoEmpty.md @@ -16,13 +16,13 @@ description: botInfoEmpty attributes, type and example ### Example: ``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +$botInfoEmpty = ['_' => 'botInfoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfoEmpty"} +{"_": "botInfoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -botInfoEmpty={_='botInfoEmpty', } +botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md index 5efa9544..03726155 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md @@ -24,13 +24,13 @@ description: botInlineMediaResultDocument attributes, type and example ### Example: ``` -$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => 'string', 'type' => 'string', 'document' => Document, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResultDocument","id":"string","type":"string","document":"Document","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResultDocument", "id": "string", "type": "string", "document": Document, "send_message": BotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMediaResultDocument={_='botInlineMediaResultDocument', id=string, type=string, document=Document, send_message=BotInlineMessage, } +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 8f3ffa7e..0837a227 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md @@ -24,13 +24,13 @@ description: botInlineMediaResultPhoto attributes, type and example ### Example: ``` -$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResultPhoto","id":"string","type":"string","photo":"Photo","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResultPhoto", "id": "string", "type": "string", "photo": Photo, "send_message": BotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id=string, type=string, photo=Photo, send_message=BotInlineMessage, } +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 2eab032c..e5cf1af5 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md @@ -21,13 +21,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string"} +{"_": "botInlineMessageMediaAuto", "caption": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, } +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 c0f2a745..4737d6ba 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageText.md @@ -23,13 +23,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } +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 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v46/constructors/botInlineResult.md +++ b/old_docs/API_docs_v46/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 fde31936..73bdcb81 100644 --- a/old_docs/API_docs_v46/constructors/channel.md +++ b/old_docs/API_docs_v46/constructors/channel.md @@ -37,13 +37,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v46/constructors/channelForbidden.md +++ b/old_docs/API_docs_v46/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 d44fd8e3..d8cfc660 100644 --- a/old_docs/API_docs_v46/constructors/channelFull.md +++ b/old_docs/API_docs_v46/constructors/channelFull.md @@ -35,13 +35,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 b6f94861..22379cfa 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md @@ -23,13 +23,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipant.md b/old_docs/API_docs_v46/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleEditor.md b/old_docs/API_docs_v46/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleModerator.md b/old_docs/API_docs_v46/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v46/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v46/constructors/chat.md +++ b/old_docs/API_docs_v46/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v46/constructors/chatEmpty.md b/old_docs/API_docs_v46/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v46/constructors/chatEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v46/constructors/chatForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v46/constructors/chatFull.md +++ b/old_docs/API_docs_v46/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInvite.md b/old_docs/API_docs_v46/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v46/constructors/chatInvite.md +++ b/old_docs/API_docs_v46/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v46/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInviteExported.md b/old_docs/API_docs_v46/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v46/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipant.md +++ b/old_docs/API_docs_v46/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipants.md +++ b/old_docs/API_docs_v46/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v46/constructors/chatPhoto.md +++ b/old_docs/API_docs_v46/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/config.md b/old_docs/API_docs_v46/constructors/config.md index cd33aeda..2e9c15b7 100644 --- a/old_docs/API_docs_v46/constructors/config.md +++ b/old_docs/API_docs_v46/constructors/config.md @@ -39,13 +39,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -53,7 +53,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v46/constructors/contact.md +++ b/old_docs/API_docs_v46/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v46/constructors/contactBlocked.md +++ b/old_docs/API_docs_v46/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v46/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkNone.md b/old_docs/API_docs_v46/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactStatus.md b/old_docs/API_docs_v46/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v46/constructors/contactStatus.md +++ b/old_docs/API_docs_v46/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 0508f837..82a7acbb 100644 --- a/old_docs/API_docs_v46/constructors/contactSuggested.md +++ b/old_docs/API_docs_v46/constructors/contactSuggested.md @@ -22,13 +22,13 @@ description: contactSuggested attributes, type and example ### Example: ``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +{"_": "contactSuggested", "user_id": int, "mutual_contacts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v46/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v46/constructors/contacts_found.md +++ b/old_docs/API_docs_v46/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v46/constructors/contacts_link.md +++ b/old_docs/API_docs_v46/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 e4dd4100..b3b0e3ae 100644 --- a/old_docs/API_docs_v46/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v46/constructors/contacts_suggested.md @@ -22,13 +22,13 @@ description: contacts_suggested attributes, type and example ### Example: ``` -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; +$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +{"_": "contacts.suggested", "results": [ContactSuggested], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, } +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 85ff3d71..e7408bca 100644 --- a/old_docs/API_docs_v46/constructors/dcOption.md +++ b/old_docs/API_docs_v46/constructors/dcOption.md @@ -25,13 +25,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v46/constructors/dialog.md +++ b/old_docs/API_docs_v46/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v46/constructors/dialogChannel.md +++ b/old_docs/API_docs_v46/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v46/constructors/disabledFeature.md +++ b/old_docs/API_docs_v46/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v46/constructors/document.md +++ b/old_docs/API_docs_v46/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md index d56ef28d..a76187ea 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md @@ -23,13 +23,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', duration=int, title=string, performer=string, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v46/constructors/documentEmpty.md +++ b/old_docs/API_docs_v46/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChat.md +++ b/old_docs/API_docs_v46/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFile.md +++ b/old_docs/API_docs_v46/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedMessage.md b/old_docs/API_docs_v46/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v46/constructors/error.md +++ b/old_docs/API_docs_v46/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v46/constructors/fileLocation.md +++ b/old_docs/API_docs_v46/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v46/constructors/foundGif.md +++ b/old_docs/API_docs_v46/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v46/constructors/foundGifCached.md +++ b/old_docs/API_docs_v46/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 6c37e948..f568cca7 100644 --- a/old_docs/API_docs_v46/constructors/geoPoint.md +++ b/old_docs/API_docs_v46/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","longitude":"double","latitude":"double"} +{"_": "geoPoint", "longitude": double, "latitude": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', longitude=double, latitude=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v46/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v46/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v46/constructors/help_inviteText.md +++ b/old_docs/API_docs_v46/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v46/constructors/help_support.md +++ b/old_docs/API_docs_v46/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v46/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v46/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v46/constructors/importedContact.md +++ b/old_docs/API_docs_v46/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v46/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v46/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 a75e690f..ebc9247c 100644 --- a/old_docs/API_docs_v46/constructors/inputAudio.md +++ b/old_docs/API_docs_v46/constructors/inputAudio.md @@ -22,13 +22,13 @@ description: inputAudio attributes, type and example ### Example: ``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudio","id":"long","access_hash":"long"} +{"_": "inputAudio", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudio={_='inputAudio', id=long, access_hash=long, } +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 4de803d5..792b5804 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputAudioEmpty.md @@ -16,13 +16,13 @@ description: inputAudioEmpty attributes, type and example ### Example: ``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +$inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioEmpty"} +{"_": "inputAudioEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputAudioEmpty={_='inputAudioEmpty', } +inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md index 25650826..a0a4468d 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md @@ -22,13 +22,13 @@ description: inputAudioFileLocation attributes, type and example ### Example: ``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +{"_": "inputAudioFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long, } +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 bed6991a..91e0125e 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, } +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 b28d194f..4c4b0e7d 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v46/constructors/inputChannel.md +++ b/old_docs/API_docs_v46/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v46/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChatPhoto.md b/old_docs/API_docs_v46/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v46/constructors/inputDocument.md +++ b/old_docs/API_docs_v46/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v46/constructors/inputFile.md +++ b/old_docs/API_docs_v46/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v46/constructors/inputFileBig.md +++ b/old_docs/API_docs_v46/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v46/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 4c44c459..88301c1f 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","latitude":"double","longitude":"double"} +{"_": "inputGeoPoint", "latitude": double, "longitude": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', latitude=double, longitude=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaAudio.md b/old_docs/API_docs_v46/constructors/inputMediaAudio.md index 6f13f6c3..5d187b4b 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaAudio.md @@ -21,13 +21,13 @@ description: inputMediaAudio attributes, type and example ### Example: ``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio, ]; +$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaAudio","audio":"InputAudio"} +{"_": "inputMediaAudio", "audio": InputAudio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaAudio={_='inputMediaAudio', audio=InputAudio, } +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 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v46/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 0d98007d..70da8de2 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","document_id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "document_id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', document_id=InputDocument, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 e3298757..0ef4152a 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md @@ -23,13 +23,13 @@ description: inputMediaUploadedAudio attributes, type and example ### Example: ``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +{"_": "inputMediaUploadedAudio", "file": InputFile, "duration": int, "mime_type": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type=string, } +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 d7c6dee4..e102bfc4 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 8c1c9295..03fb76e2 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 5042784d..4c1c34c9 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md @@ -27,13 +27,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example ### Example: ``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 0009243e..d883233f 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md @@ -26,13 +26,13 @@ description: inputMediaUploadedVideo attributes, type and example ### Example: ``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string", "caption": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 ee4d1d94..7f6f6d19 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVideo.md @@ -22,13 +22,13 @@ description: inputMediaVideo attributes, type and example ### Example: ``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ]; +$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVideo","video":"InputVideo","caption":"string"} +{"_": "inputMediaVideo", "video": InputVideo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaVideo={_='inputMediaVideo', video=InputVideo, caption=string, } +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 2c8e29fe..0c857d55 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudio attributes, type and example ### Example: ``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudio"} +{"_": "inputMessagesFilterAudio"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudio={_='inputMessagesFilterAudio', } +inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md index 8b876e5e..ec33ef97 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterAudioDocuments"} +{"_": "inputMessagesFilterAudioDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments', } +inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyAll.md b/old_docs/API_docs_v46/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyChats.md b/old_docs/API_docs_v46/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerChannel.md b/old_docs/API_docs_v46/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md index 4881d26e..93b9a562 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v46/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerUser.md b/old_docs/API_docs_v46/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v46/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v46/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetID.md b/old_docs/API_docs_v46/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v46/constructors/inputUser.md +++ b/old_docs/API_docs_v46/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v46/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputUserSelf.md b/old_docs/API_docs_v46/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v46/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v46/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputVideo.md b/old_docs/API_docs_v46/constructors/inputVideo.md index e6dc5b1f..e41726ec 100644 --- a/old_docs/API_docs_v46/constructors/inputVideo.md +++ b/old_docs/API_docs_v46/constructors/inputVideo.md @@ -22,13 +22,13 @@ description: inputVideo attributes, type and example ### Example: ``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideo","id":"long","access_hash":"long"} +{"_": "inputVideo", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideo={_='inputVideo', id=long, access_hash=long, } +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 072ace8d..301c611d 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputVideoEmpty.md @@ -16,13 +16,13 @@ description: inputVideoEmpty attributes, type and example ### Example: ``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +$inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoEmpty"} +{"_": "inputVideoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputVideoEmpty={_='inputVideoEmpty', } +inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md index f4c6646e..2277c46d 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md @@ -22,13 +22,13 @@ description: inputVideoFileLocation attributes, type and example ### Example: ``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +{"_": "inputVideoFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButton.md +++ b/old_docs/API_docs_v46/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v46/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 38811d9e..52d40d97 100644 --- a/old_docs/API_docs_v46/constructors/message.md +++ b/old_docs/API_docs_v46/constructors/message.md @@ -37,13 +37,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v46/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEmpty.md b/old_docs/API_docs_v46/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v46/constructors/messageEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v46/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v46/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v46/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v46/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v46/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v46/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v46/constructors/messageGroup.md +++ b/old_docs/API_docs_v46/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 24ca7823..f4054450 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/messageMediaAudio.md @@ -21,13 +21,13 @@ description: messageMediaAudio attributes, type and example ### Example: ``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaAudio","audio":"Audio"} +{"_": "messageMediaAudio", "audio": Audio} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaAudio={_='messageMediaAudio', audio=Audio, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v46/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaGeo.md b/old_docs/API_docs_v46/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaVenue.md b/old_docs/API_docs_v46/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 8e72030c..567f8255 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVideo.md @@ -22,13 +22,13 @@ description: messageMediaVideo attributes, type and example ### Example: ``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVideo","video":"Video","caption":"string"} +{"_": "messageMediaVideo", "video": Video, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaVideo={_='messageMediaVideo', video=Video, caption=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v46/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v46/constructors/messageRange.md +++ b/old_docs/API_docs_v46/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 f44b4869..e0fafee7 100644 --- a/old_docs/API_docs_v46/constructors/messageService.md +++ b/old_docs/API_docs_v46/constructors/messageService.md @@ -29,13 +29,13 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7c070065..3de08179 100644 --- a/old_docs/API_docs_v46/constructors/messages_botResults.md +++ b/old_docs/API_docs_v46/constructors/messages_botResults.md @@ -24,13 +24,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "results": [BotInlineResult]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, results={BotInlineResult}, } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v46/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v46/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v46/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v46/constructors/messages_chats.md +++ b/old_docs/API_docs_v46/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v46/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v46/constructors/messages_messages.md +++ b/old_docs/API_docs_v46/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v46/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickers.md +++ b/old_docs/API_docs_v46/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v46/constructors/nearestDc.md +++ b/old_docs/API_docs_v46/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v46/constructors/notifyAll.md +++ b/old_docs/API_docs_v46/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyChats.md b/old_docs/API_docs_v46/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v46/constructors/notifyChats.md +++ b/old_docs/API_docs_v46/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyPeer.md b/old_docs/API_docs_v46/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v46/constructors/notifyPeer.md +++ b/old_docs/API_docs_v46/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v46/constructors/notifyUsers.md +++ b/old_docs/API_docs_v46/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerChannel.md b/old_docs/API_docs_v46/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v46/constructors/peerChannel.md +++ b/old_docs/API_docs_v46/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v46/constructors/peerChat.md +++ b/old_docs/API_docs_v46/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifySettings.md b/old_docs/API_docs_v46/constructors/peerNotifySettings.md index d0659143..1e45fff0 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +{"_": "peerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', mute_until=int, sound=string, show_previews=Bool, events_mask=int, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerUser.md b/old_docs/API_docs_v46/constructors/peerUser.md index 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v46/constructors/peerUser.md +++ b/old_docs/API_docs_v46/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v46/constructors/photo.md +++ b/old_docs/API_docs_v46/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v46/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v46/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v46/constructors/photoEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v46/constructors/photoSize.md +++ b/old_docs/API_docs_v46/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v46/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v46/constructors/photos_photo.md +++ b/old_docs/API_docs_v46/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v46/constructors/photos_photos.md +++ b/old_docs/API_docs_v46/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v46/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v46/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v46/constructors/stickerPack.md +++ b/old_docs/API_docs_v46/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v46/constructors/stickerSet.md +++ b/old_docs/API_docs_v46/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v46/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v46/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v46/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePng.md +++ b/old_docs/API_docs_v46/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v46/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v46/constructors/true.md +++ b/old_docs/API_docs_v46/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md index 7dbbd355..40dfba51 100644 --- a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md @@ -24,13 +24,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "offset": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, offset=string, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v46/constructors/updateChannel.md +++ b/old_docs/API_docs_v46/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v46/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 621e7774..acfe62e8 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v46/constructors/updateChannelTooLong.md @@ -21,13 +21,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int"} +{"_": "updateChannelTooLong", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v46/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v46/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v46/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v46/constructors/updateContactLink.md +++ b/old_docs/API_docs_v46/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v46/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v46/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v46/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v46/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 8bc24681..680a6a55 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'channel_pts' => int, 'channel_pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'channel_pts' => int, 'channel_pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"channel_pts":"int","channel_pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "channel_pts": int, "channel_pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, channel_pts=int, channel_pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 2f433302..8c9e1e7f 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryption.md +++ b/old_docs/API_docs_v46/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","encr_chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "encr_chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', encr_chat=EncryptedChat, date=int, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v46/constructors/updateMessageID.md +++ b/old_docs/API_docs_v46/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v46/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v46/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 732ae2ec..6192f22c 100644 --- a/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'channel_pts' => int, 'channel_pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'channel_pts' => int, 'channel_pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","channel_pts":"int","channel_pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "channel_pts": int, "channel_pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, channel_pts=int, channel_pts_count=int, } +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 f848b53e..cfbf7978 100644 --- a/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","encr_message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "encr_message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', encr_message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v46/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 0e6c5055..c198d0ae 100644 --- a/old_docs/API_docs_v46/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","notify_peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "notify_peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', notify_peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v46/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v46/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v46/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v46/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateServiceNotification.md b/old_docs/API_docs_v46/constructors/updateServiceNotification.md index d335106c..cf151295 100644 --- a/old_docs/API_docs_v46/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v46/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message_text' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message_text' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message_text":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message_text": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message_text=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v46/constructors/updateShort.md +++ b/old_docs/API_docs_v46/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 8a27f3f4..c288b09b 100644 --- a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md @@ -36,13 +36,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -50,7 +50,7 @@ Or, if you're into 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}, } +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 cf7f581d..3db2beec 100644 --- a/old_docs/API_docs_v46/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortMessage.md @@ -35,13 +35,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v46/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v46/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v46/constructors/updateUserName.md +++ b/old_docs/API_docs_v46/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v46/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v46/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v46/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v46/constructors/updateWebPage.md +++ b/old_docs/API_docs_v46/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v46/constructors/updates.md +++ b/old_docs/API_docs_v46/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v46/constructors/updatesCombined.md +++ b/old_docs/API_docs_v46/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v46/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v46/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 49249e72..cc3d9f30 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","channel_pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "channel_pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 a999cd5b..a11a6505 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","channel_pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "channel_pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, channel_pts=int, timeout=int, } +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 4e77f461..c4fd4727 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v46/constructors/updates_difference.md +++ b/old_docs/API_docs_v46/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v46/constructors/updates_state.md +++ b/old_docs/API_docs_v46/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v46/constructors/upload_file.md +++ b/old_docs/API_docs_v46/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 1765d729..ebec2c20 100644 --- a/old_docs/API_docs_v46/constructors/user.md +++ b/old_docs/API_docs_v46/constructors/user.md @@ -40,13 +40,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v46/constructors/userEmpty.md +++ b/old_docs/API_docs_v46/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 2e6da813..ae2ef8e0 100644 --- a/old_docs/API_docs_v46/constructors/userFull.md +++ b/old_docs/API_docs_v46/constructors/userFull.md @@ -26,13 +26,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusEmpty.md b/old_docs/API_docs_v46/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v46/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v46/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusOffline.md b/old_docs/API_docs_v46/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v46/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v46/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v46/constructors/video.md b/old_docs/API_docs_v46/constructors/video.md index d1e2e49e..47415345 100644 --- a/old_docs/API_docs_v46/constructors/video.md +++ b/old_docs/API_docs_v46/constructors/video.md @@ -30,13 +30,13 @@ description: video attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +{"_": "video", "id": long, "access_hash": long, "date": int, "duration": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "w": int, "h": int} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 d5d10973..f925671e 100644 --- a/old_docs/API_docs_v46/constructors/videoEmpty.md +++ b/old_docs/API_docs_v46/constructors/videoEmpty.md @@ -21,13 +21,13 @@ description: videoEmpty attributes, type and example ### Example: ``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +$videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"videoEmpty","id":"long"} +{"_": "videoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -videoEmpty={_='videoEmpty', id=long, } +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 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v46/constructors/wallPaper.md +++ b/old_docs/API_docs_v46/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v46/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v46/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v46/constructors/webPage.md +++ b/old_docs/API_docs_v46/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v46/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v46/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v46/constructors/webPagePending.md +++ b/old_docs/API_docs_v46/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 605bcaa3..15b2af6e 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number=string, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 bf1c3b8f..84a73d62 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string"} +* params - {"first_name": "string", "last_name": "string", } ``` @@ -65,6 +65,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_checkPassword.md b/old_docs/API_docs_v46/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v46/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v46/methods/auth_importAuthorization.md b/old_docs/API_docs_v46/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v46/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_logOut.md b/old_docs/API_docs_v46/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v46/methods/auth_logOut.md +++ b/old_docs/API_docs_v46/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index 08b4d1d4..2ea9c9b0 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCall -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendCall({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendCode.md b/old_docs/API_docs_v46/methods/auth_sendCode.md index a9009e4b..a5dfebd8 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCode.md +++ b/old_docs/API_docs_v46/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"phone_number": "string", "sms_type": int, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -71,6 +71,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({phone_number=string, sms_type=int, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +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 5e62431c..cf482581 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendSms -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendSms({phone_number=string, phone_code_hash=string, }) +Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_signIn.md b/old_docs/API_docs_v46/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v46/methods/auth_signIn.md +++ b/old_docs/API_docs_v46/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_signUp.md b/old_docs/API_docs_v46/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v46/methods/auth_signUp.md +++ b/old_docs/API_docs_v46/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v46/methods/channels_getFullChannel.md b/old_docs/API_docs_v46/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v46/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v46/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index 348621e1..cbb74200 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index 66e4c1b3..6c7ab705 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getSuggested -* params - {"limit":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index c6bfce8a..77ee8875 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_TermsOfService = help.getTermsOfService({lang_code=string, }) +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 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v46/methods/messages_discardEncryption.md b/old_docs/API_docs_v46/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v46/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 812a4214..a0d4f132 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDhConfig.md b/old_docs/API_docs_v46/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v46/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getFullChat.md b/old_docs/API_docs_v46/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v46/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v46/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index b22bd09e..b6c23548 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 452e70c8..8e488ca9 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","query":"string","offset":"string"} +* params - {"bot": InputUser, "query": "string", "offset": "string", } ``` @@ -67,6 +67,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, query=string, offset=string, }) +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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_receivedQueue.md b/old_docs/API_docs_v46/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v46/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v46/methods/messages_requestEncryption.md b/old_docs/API_docs_v46/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v46/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 3552d87b..ddd5a962 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -71,6 +71,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 750419ad..6eca9578 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 cb76f655..23a6c50d 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "broadcast": Bool, "peer": InputPeer, "reply_to_msg_id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into 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', }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 0231ff63..32c49ea2 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", } ``` @@ -73,6 +73,6 @@ next_offset - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, }) +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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v46/methods/updates_getDifference.md b/old_docs/API_docs_v46/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v46/methods/updates_getDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v46/methods/updates_getState.md b/old_docs/API_docs_v46/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v46/methods/updates_getState.md +++ b/old_docs/API_docs_v46/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v46/methods/upload_getFile.md b/old_docs/API_docs_v46/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v46/methods/upload_getFile.md +++ b/old_docs/API_docs_v46/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/upload_saveFilePart.md b/old_docs/API_docs_v46/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v46/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/users_getFullUser.md b/old_docs/API_docs_v46/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v46/methods/users_getFullUser.md +++ b/old_docs/API_docs_v46/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v51/constructors/accountDaysTTL.md b/old_docs/API_docs_v51/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v51/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v51/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v51/constructors/account_authorizations.md +++ b/old_docs/API_docs_v51/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v51/constructors/account_noPassword.md +++ b/old_docs/API_docs_v51/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v51/constructors/account_password.md +++ b/old_docs/API_docs_v51/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/account_passwordSettings.md b/old_docs/API_docs_v51/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v51/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v51/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v51/constructors/auth_authorization.md +++ b/old_docs/API_docs_v51/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v51/constructors/authorization.md +++ b/old_docs/API_docs_v51/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/botCommand.md b/old_docs/API_docs_v51/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v51/constructors/botCommand.md +++ b/old_docs/API_docs_v51/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v51/constructors/botInfo.md +++ b/old_docs/API_docs_v51/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageText.md b/old_docs/API_docs_v51/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineResult.md b/old_docs/API_docs_v51/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v51/constructors/botInlineResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v51/constructors/channel.md +++ b/old_docs/API_docs_v51/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 7c9a3dae..3800de68 100644 --- a/old_docs/API_docs_v51/constructors/channelForbidden.md +++ b/old_docs/API_docs_v51/constructors/channelForbidden.md @@ -23,13 +23,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "id": int, "access_hash": long, "title": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', id=int, access_hash=long, title=string, } +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 50ef4406..ce0634c6 100644 --- a/old_docs/API_docs_v51/constructors/channelFull.md +++ b/old_docs/API_docs_v51/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 b6f94861..22379cfa 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md @@ -23,13 +23,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "important_only": Bool, "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } +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 a1563c5b..9ce027a9 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md @@ -16,13 +16,13 @@ description: channelMessagesFilterCollapsed attributes, type and example ### Example: ``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterCollapsed"} +{"_": "channelMessagesFilterCollapsed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed', } +channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md index 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipant.md b/old_docs/API_docs_v51/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleEditor.md b/old_docs/API_docs_v51/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleModerator.md b/old_docs/API_docs_v51/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v51/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v51/constructors/chat.md +++ b/old_docs/API_docs_v51/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v51/constructors/chatEmpty.md b/old_docs/API_docs_v51/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v51/constructors/chatEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v51/constructors/chatForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v51/constructors/chatFull.md +++ b/old_docs/API_docs_v51/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInvite.md b/old_docs/API_docs_v51/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v51/constructors/chatInvite.md +++ b/old_docs/API_docs_v51/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v51/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInviteExported.md b/old_docs/API_docs_v51/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v51/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipant.md +++ b/old_docs/API_docs_v51/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipants.md +++ b/old_docs/API_docs_v51/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v51/constructors/chatPhoto.md +++ b/old_docs/API_docs_v51/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/config.md b/old_docs/API_docs_v51/constructors/config.md index 56ff1361..8e7d6c5a 100644 --- a/old_docs/API_docs_v51/constructors/config.md +++ b/old_docs/API_docs_v51/constructors/config.md @@ -40,13 +40,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -54,7 +54,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v51/constructors/contact.md +++ b/old_docs/API_docs_v51/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v51/constructors/contactBlocked.md +++ b/old_docs/API_docs_v51/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v51/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkNone.md b/old_docs/API_docs_v51/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactStatus.md b/old_docs/API_docs_v51/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v51/constructors/contactStatus.md +++ b/old_docs/API_docs_v51/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v51/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v51/constructors/contacts_found.md +++ b/old_docs/API_docs_v51/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v51/constructors/contacts_link.md +++ b/old_docs/API_docs_v51/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v51/constructors/dcOption.md +++ b/old_docs/API_docs_v51/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 d706225d..ee87a107 100644 --- a/old_docs/API_docs_v51/constructors/dialog.md +++ b/old_docs/API_docs_v51/constructors/dialog.md @@ -25,13 +25,13 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +{"_": "dialog", "peer": Peer, "top_message": int, "read_inbox_max_id": int, "unread_count": int, "notify_settings": PeerNotifySettings} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, } +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 f4d28d89..cdecb037 100644 --- a/old_docs/API_docs_v51/constructors/dialogChannel.md +++ b/old_docs/API_docs_v51/constructors/dialogChannel.md @@ -28,13 +28,13 @@ description: dialogChannel attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v51/constructors/disabledFeature.md +++ b/old_docs/API_docs_v51/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v51/constructors/document.md +++ b/old_docs/API_docs_v51/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v51/constructors/documentEmpty.md +++ b/old_docs/API_docs_v51/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 e111cf85..422ba333 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChat.md +++ b/old_docs/API_docs_v51/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFile.md +++ b/old_docs/API_docs_v51/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedMessage.md b/old_docs/API_docs_v51/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v51/constructors/error.md +++ b/old_docs/API_docs_v51/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v51/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v51/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v51/constructors/fileLocation.md +++ b/old_docs/API_docs_v51/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v51/constructors/foundGif.md +++ b/old_docs/API_docs_v51/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v51/constructors/foundGifCached.md +++ b/old_docs/API_docs_v51/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v51/constructors/geoPoint.md +++ b/old_docs/API_docs_v51/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v51/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v51/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v51/constructors/help_inviteText.md +++ b/old_docs/API_docs_v51/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v51/constructors/help_support.md +++ b/old_docs/API_docs_v51/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v51/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v51/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v51/constructors/importedContact.md +++ b/old_docs/API_docs_v51/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v51/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v51/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v51/constructors/inputChannel.md +++ b/old_docs/API_docs_v51/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v51/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChatPhoto.md b/old_docs/API_docs_v51/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v51/constructors/inputDocument.md +++ b/old_docs/API_docs_v51/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v51/constructors/inputFile.md +++ b/old_docs/API_docs_v51/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v51/constructors/inputFileBig.md +++ b/old_docs/API_docs_v51/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v51/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaContact.md b/old_docs/API_docs_v51/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 d7c6dee4..e102bfc4 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 8c1c9295..03fb76e2 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyAll.md b/old_docs/API_docs_v51/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyChats.md b/old_docs/API_docs_v51/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerChannel.md b/old_docs/API_docs_v51/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v51/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerUser.md b/old_docs/API_docs_v51/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v51/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v51/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetID.md b/old_docs/API_docs_v51/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v51/constructors/inputUser.md +++ b/old_docs/API_docs_v51/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v51/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputUserSelf.md b/old_docs/API_docs_v51/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v51/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v51/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButton.md b/old_docs/API_docs_v51/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButton.md +++ b/old_docs/API_docs_v51/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 def12264..30d6108f 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md @@ -22,13 +22,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "text": "string", "query": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 e45289d6..9f8b7b04 100644 --- a/old_docs/API_docs_v51/constructors/message.md +++ b/old_docs/API_docs_v51/constructors/message.md @@ -39,13 +39,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -53,7 +53,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v51/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md index c8595522..3887229f 100644 --- a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEmpty.md b/old_docs/API_docs_v51/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v51/constructors/messageEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v51/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v51/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v51/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v51/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v51/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v51/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v51/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v51/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 ddbc0e37..4dc4b3d0 100644 --- a/old_docs/API_docs_v51/constructors/messageGroup.md +++ b/old_docs/API_docs_v51/constructors/messageGroup.md @@ -24,13 +24,13 @@ description: messageGroup attributes, type and example ### Example: ``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +{"_": "messageGroup", "min_id": int, "max_id": int, "count": int, "date": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaGeo.md b/old_docs/API_docs_v51/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaVenue.md b/old_docs/API_docs_v51/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v51/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v51/constructors/messageRange.md +++ b/old_docs/API_docs_v51/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 5848fb77..fac4a13f 100644 --- a/old_docs/API_docs_v51/constructors/messageService.md +++ b/old_docs/API_docs_v51/constructors/messageService.md @@ -32,13 +32,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -46,7 +46,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 02430084..9c8abe65 100644 --- a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md @@ -22,13 +22,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, } +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 d552a4fe..362bc115 100644 --- a/old_docs/API_docs_v51/constructors/messages_botResults.md +++ b/old_docs/API_docs_v51/constructors/messages_botResults.md @@ -25,13 +25,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +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 d9264977..c96b3093 100644 --- a/old_docs/API_docs_v51/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_channelMessages.md @@ -26,13 +26,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "collapsed": [MessageGroup], "chats": [Chat], "users": [User]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v51/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v51/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v51/constructors/messages_chats.md +++ b/old_docs/API_docs_v51/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v51/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v51/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v51/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v51/constructors/messages_messages.md +++ b/old_docs/API_docs_v51/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v51/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickers.md +++ b/old_docs/API_docs_v51/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v51/constructors/nearestDc.md +++ b/old_docs/API_docs_v51/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v51/constructors/notifyAll.md +++ b/old_docs/API_docs_v51/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyChats.md b/old_docs/API_docs_v51/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v51/constructors/notifyChats.md +++ b/old_docs/API_docs_v51/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyPeer.md b/old_docs/API_docs_v51/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v51/constructors/notifyPeer.md +++ b/old_docs/API_docs_v51/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v51/constructors/notifyUsers.md +++ b/old_docs/API_docs_v51/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerChannel.md b/old_docs/API_docs_v51/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v51/constructors/peerChannel.md +++ b/old_docs/API_docs_v51/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v51/constructors/peerChat.md +++ b/old_docs/API_docs_v51/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettings.md b/old_docs/API_docs_v51/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerSettings.md b/old_docs/API_docs_v51/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v51/constructors/peerSettings.md +++ b/old_docs/API_docs_v51/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v51/constructors/peerUser.md +++ b/old_docs/API_docs_v51/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v51/constructors/photo.md +++ b/old_docs/API_docs_v51/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v51/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v51/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v51/constructors/photoEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v51/constructors/photoSize.md +++ b/old_docs/API_docs_v51/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v51/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v51/constructors/photos_photo.md +++ b/old_docs/API_docs_v51/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v51/constructors/photos_photos.md +++ b/old_docs/API_docs_v51/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v51/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v51/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v51/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v51/constructors/stickerPack.md +++ b/old_docs/API_docs_v51/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v51/constructors/stickerSet.md +++ b/old_docs/API_docs_v51/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v51/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v51/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v51/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePng.md +++ b/old_docs/API_docs_v51/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v51/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v51/constructors/true.md +++ b/old_docs/API_docs_v51/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md index 3c72736d..1aef0bf6 100644 --- a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md @@ -25,13 +25,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "data": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data=bytes, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v51/constructors/updateChannel.md +++ b/old_docs/API_docs_v51/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 59290243..57e28225 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v51/constructors/updateChannelGroup.md @@ -22,13 +22,13 @@ description: updateChannelGroup attributes, type and example ### Example: ``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +{"_": "updateChannelGroup", "channel_id": int, "group": MessageGroup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v51/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v51/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v51/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v51/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v51/constructors/updateContactLink.md +++ b/old_docs/API_docs_v51/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v51/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v51/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v51/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v51/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v51/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryption.md +++ b/old_docs/API_docs_v51/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 da31cfe1..72f65cb6 100644 --- a/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md @@ -24,13 +24,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "data": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data=bytes, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v51/constructors/updateMessageID.md +++ b/old_docs/API_docs_v51/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v51/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v51/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v51/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v51/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v51/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v51/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v51/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v51/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateServiceNotification.md b/old_docs/API_docs_v51/constructors/updateServiceNotification.md index 1b604182..8c907716 100644 --- a/old_docs/API_docs_v51/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v51/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v51/constructors/updateShort.md +++ b/old_docs/API_docs_v51/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 b317c31a..6d6d331d 100644 --- a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md @@ -36,13 +36,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -50,7 +50,7 @@ Or, if you're into 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}, } +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 fbb470f4..cfcfbfb0 100644 --- a/old_docs/API_docs_v51/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortMessage.md @@ -35,13 +35,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 5005d3a2..1f02d177 100644 --- a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md @@ -28,13 +28,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "unread": Bool, "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v51/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v51/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v51/constructors/updateUserName.md +++ b/old_docs/API_docs_v51/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v51/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v51/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v51/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v51/constructors/updateWebPage.md +++ b/old_docs/API_docs_v51/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v51/constructors/updates.md +++ b/old_docs/API_docs_v51/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v51/constructors/updatesCombined.md +++ b/old_docs/API_docs_v51/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v51/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v51/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 4302d54b..d6cd354f 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md @@ -31,13 +31,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v51/constructors/updates_difference.md +++ b/old_docs/API_docs_v51/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v51/constructors/updates_state.md +++ b/old_docs/API_docs_v51/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v51/constructors/upload_file.md +++ b/old_docs/API_docs_v51/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v51/constructors/user.md +++ b/old_docs/API_docs_v51/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v51/constructors/userEmpty.md +++ b/old_docs/API_docs_v51/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 da08e19b..b2a8edda 100644 --- a/old_docs/API_docs_v51/constructors/userFull.md +++ b/old_docs/API_docs_v51/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +{"_": "userFull", "blocked": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusEmpty.md b/old_docs/API_docs_v51/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v51/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v51/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusOffline.md b/old_docs/API_docs_v51/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v51/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v51/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v51/constructors/vector.md b/old_docs/API_docs_v51/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v51/constructors/vector.md +++ b/old_docs/API_docs_v51/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v51/constructors/wallPaper.md b/old_docs/API_docs_v51/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v51/constructors/wallPaper.md +++ b/old_docs/API_docs_v51/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v51/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v51/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v51/constructors/webPage.md +++ b/old_docs/API_docs_v51/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v51/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v51/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v51/constructors/webPagePending.md +++ b/old_docs/API_docs_v51/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index c786c6a8..a7db7ea9 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} +* params - {"token_type": int, "token": "string", "device_model": "string", "system_version": "string", "app_version": "string", "app_sandbox": Bool, "lang_code": "string", } ``` @@ -75,6 +75,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, device_model=string, system_version=string, app_version=string, app_sandbox=Bool, lang_code=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_checkPassword.md b/old_docs/API_docs_v51/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v51/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v51/methods/auth_importAuthorization.md b/old_docs/API_docs_v51/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v51/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_logOut.md b/old_docs/API_docs_v51/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v51/methods/auth_logOut.md +++ b/old_docs/API_docs_v51/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/auth_sendCode.md b/old_docs/API_docs_v51/methods/auth_sendCode.md index fb7f5085..e08ce0cc 100644 --- a/old_docs/API_docs_v51/methods/auth_sendCode.md +++ b/old_docs/API_docs_v51/methods/auth_sendCode.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string","lang_code":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", "lang_code": "string", } ``` @@ -73,6 +73,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, lang_code=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_signIn.md b/old_docs/API_docs_v51/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v51/methods/auth_signIn.md +++ b/old_docs/API_docs_v51/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_signUp.md b/old_docs/API_docs_v51/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v51/methods/auth_signUp.md +++ b/old_docs/API_docs_v51/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"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 b20fb17c..6b8ef430 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getDialogs -* params - {"offset":"int","limit":"int"} +* params - {"offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v51/methods/channels_getFullChannel.md b/old_docs/API_docs_v51/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v51/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v51/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index 305b171d..4cb523d9 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getImportantHistory -* params - {"channel":"InputChannel","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 e3b45398..c33a152b 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleComments -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"contacts": [InputContact], "replace": Bool, } ``` diff --git a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 b93c56db..19995020 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppChangelog = help.getAppChangelog({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 58430792..5e795e76 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} +* params - {"device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", } ``` @@ -69,6 +69,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_AppUpdate = help.getAppUpdate({device_model=string, system_version=string, app_version=string, lang_code=string, }) +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 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index ec75a17f..42b9cca4 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_InviteText = help.getInviteText({lang_code=string, }) +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 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index c6bfce8a..77ee8875 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - {"lang_code":"string"} +* params - {"lang_code": "string", } ``` @@ -63,6 +63,6 @@ lang_code - Json encoded string Or, if you're into Lua: ``` -help_TermsOfService = help.getTermsOfService({lang_code=string, }) +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 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 e5f132c6..7ade3efe 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v51/methods/messages_discardEncryption.md b/old_docs/API_docs_v51/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v51/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 69481a44..8d2fc671 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 0efcfbba..1cca01fd 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -67,6 +67,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDhConfig.md b/old_docs/API_docs_v51/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v51/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getFullChat.md b/old_docs/API_docs_v51/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v51/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v51/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_receivedQueue.md b/old_docs/API_docs_v51/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v51/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v51/methods/messages_requestEncryption.md b/old_docs/API_docs_v51/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v51/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 bba7fce0..8c49c049 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -41,7 +41,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -53,7 +53,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"important_only": Bool, "peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -79,6 +79,6 @@ limit - Json encoded int Or, if you're into 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, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 e703900f..5f8e3629 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"broadcast": Bool, "silent": Bool, "background": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({broadcast=Bool, silent=Bool, background=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 432d4e44..b6652e5a 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 0e55beb8..fa99c21d 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 39216c12..2c1c883e 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string"} +* params - {"alert": Bool, "query_id": long, "message": "string", } ``` @@ -67,7 +67,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v51/methods/updates_getDifference.md b/old_docs/API_docs_v51/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v51/methods/updates_getDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v51/methods/updates_getState.md b/old_docs/API_docs_v51/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v51/methods/updates_getState.md +++ b/old_docs/API_docs_v51/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v51/methods/upload_getFile.md b/old_docs/API_docs_v51/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v51/methods/upload_getFile.md +++ b/old_docs/API_docs_v51/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/upload_saveFilePart.md b/old_docs/API_docs_v51/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v51/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/users_getFullUser.md b/old_docs/API_docs_v51/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v51/methods/users_getFullUser.md +++ b/old_docs/API_docs_v51/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v53/constructors/accountDaysTTL.md b/old_docs/API_docs_v53/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v53/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v53/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v53/constructors/account_authorizations.md +++ b/old_docs/API_docs_v53/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v53/constructors/account_noPassword.md +++ b/old_docs/API_docs_v53/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v53/constructors/account_password.md +++ b/old_docs/API_docs_v53/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/account_passwordSettings.md b/old_docs/API_docs_v53/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v53/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v53/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 90504507..e64f9227 100644 --- a/old_docs/API_docs_v53/constructors/auth_authorization.md +++ b/old_docs/API_docs_v53/constructors/auth_authorization.md @@ -21,13 +21,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","user":"User"} +{"_": "auth.authorization", "user": User} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v53/constructors/authorization.md +++ b/old_docs/API_docs_v53/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/botCommand.md b/old_docs/API_docs_v53/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v53/constructors/botCommand.md +++ b/old_docs/API_docs_v53/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v53/constructors/botInfo.md +++ b/old_docs/API_docs_v53/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageText.md b/old_docs/API_docs_v53/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineResult.md b/old_docs/API_docs_v53/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v53/constructors/botInlineResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v53/constructors/channel.md +++ b/old_docs/API_docs_v53/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v53/constructors/channelForbidden.md +++ b/old_docs/API_docs_v53/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v53/constructors/channelFull.md +++ b/old_docs/API_docs_v53/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipant.md b/old_docs/API_docs_v53/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleEditor.md b/old_docs/API_docs_v53/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleModerator.md b/old_docs/API_docs_v53/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v53/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v53/constructors/chat.md +++ b/old_docs/API_docs_v53/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v53/constructors/chatEmpty.md b/old_docs/API_docs_v53/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v53/constructors/chatEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v53/constructors/chatForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v53/constructors/chatFull.md +++ b/old_docs/API_docs_v53/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInvite.md b/old_docs/API_docs_v53/constructors/chatInvite.md index effead5a..29dbd4da 100644 --- a/old_docs/API_docs_v53/constructors/chatInvite.md +++ b/old_docs/API_docs_v53/constructors/chatInvite.md @@ -25,13 +25,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } +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 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v53/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInviteExported.md b/old_docs/API_docs_v53/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v53/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipant.md +++ b/old_docs/API_docs_v53/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipants.md +++ b/old_docs/API_docs_v53/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v53/constructors/chatPhoto.md +++ b/old_docs/API_docs_v53/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/config.md b/old_docs/API_docs_v53/constructors/config.md index 8e632f8e..98d8ba81 100644 --- a/old_docs/API_docs_v53/constructors/config.md +++ b/old_docs/API_docs_v53/constructors/config.md @@ -41,13 +41,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -55,7 +55,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v53/constructors/contact.md +++ b/old_docs/API_docs_v53/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v53/constructors/contactBlocked.md +++ b/old_docs/API_docs_v53/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v53/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkNone.md b/old_docs/API_docs_v53/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactStatus.md b/old_docs/API_docs_v53/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v53/constructors/contactStatus.md +++ b/old_docs/API_docs_v53/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v53/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v53/constructors/contacts_found.md +++ b/old_docs/API_docs_v53/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v53/constructors/contacts_link.md +++ b/old_docs/API_docs_v53/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v53/constructors/dcOption.md +++ b/old_docs/API_docs_v53/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 de84b635..f34506e3 100644 --- a/old_docs/API_docs_v53/constructors/dialog.md +++ b/old_docs/API_docs_v53/constructors/dialog.md @@ -28,13 +28,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v53/constructors/disabledFeature.md +++ b/old_docs/API_docs_v53/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 7e3482ad..bc77f38c 100644 --- a/old_docs/API_docs_v53/constructors/document.md +++ b/old_docs/API_docs_v53/constructors/document.md @@ -28,13 +28,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "attributes": [DocumentAttribute]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v53/constructors/documentEmpty.md +++ b/old_docs/API_docs_v53/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v53/constructors/draftMessage.md +++ b/old_docs/API_docs_v53/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v53/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v53/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChat.md b/old_docs/API_docs_v53/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChat.md +++ b/old_docs/API_docs_v53/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFile.md +++ b/old_docs/API_docs_v53/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedMessage.md b/old_docs/API_docs_v53/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v53/constructors/error.md +++ b/old_docs/API_docs_v53/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v53/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v53/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v53/constructors/fileLocation.md +++ b/old_docs/API_docs_v53/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v53/constructors/foundGif.md +++ b/old_docs/API_docs_v53/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v53/constructors/foundGifCached.md +++ b/old_docs/API_docs_v53/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v53/constructors/geoPoint.md +++ b/old_docs/API_docs_v53/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v53/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v53/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v53/constructors/help_inviteText.md +++ b/old_docs/API_docs_v53/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v53/constructors/help_support.md +++ b/old_docs/API_docs_v53/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v53/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v53/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v53/constructors/importedContact.md +++ b/old_docs/API_docs_v53/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v53/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v53/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v53/constructors/inputChannel.md +++ b/old_docs/API_docs_v53/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v53/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChatPhoto.md b/old_docs/API_docs_v53/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v53/constructors/inputDocument.md +++ b/old_docs/API_docs_v53/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md index 373b6e01..da87958a 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md @@ -22,13 +22,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v53/constructors/inputFile.md +++ b/old_docs/API_docs_v53/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v53/constructors/inputFileBig.md +++ b/old_docs/API_docs_v53/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v53/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaContact.md b/old_docs/API_docs_v53/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 d7c6dee4..e102bfc4 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 8c1c9295..03fb76e2 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyAll.md b/old_docs/API_docs_v53/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyChats.md b/old_docs/API_docs_v53/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerChannel.md b/old_docs/API_docs_v53/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v53/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerUser.md b/old_docs/API_docs_v53/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v53/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v53/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetID.md b/old_docs/API_docs_v53/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v53/constructors/inputUser.md +++ b/old_docs/API_docs_v53/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v53/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputUserSelf.md b/old_docs/API_docs_v53/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v53/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v53/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButton.md b/old_docs/API_docs_v53/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButton.md +++ b/old_docs/API_docs_v53/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 def12264..30d6108f 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md @@ -22,13 +22,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "text": "string", "query": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v53/constructors/message.md +++ b/old_docs/API_docs_v53/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v53/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md index d576d087..78a1e098 100644 --- a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md index c8595522..3887229f 100644 --- a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEmpty.md b/old_docs/API_docs_v53/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v53/constructors/messageEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v53/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v53/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v53/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v53/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v53/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v53/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v53/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaGeo.md b/old_docs/API_docs_v53/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaVenue.md b/old_docs/API_docs_v53/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v53/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v53/constructors/messageRange.md +++ b/old_docs/API_docs_v53/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v53/constructors/messageService.md +++ b/old_docs/API_docs_v53/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 02430084..9c8abe65 100644 --- a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md @@ -22,13 +22,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, } +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 d552a4fe..362bc115 100644 --- a/old_docs/API_docs_v53/constructors/messages_botResults.md +++ b/old_docs/API_docs_v53/constructors/messages_botResults.md @@ -25,13 +25,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v53/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v53/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v53/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v53/constructors/messages_chats.md +++ b/old_docs/API_docs_v53/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v53/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v53/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v53/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v53/constructors/messages_messages.md +++ b/old_docs/API_docs_v53/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v53/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickers.md +++ b/old_docs/API_docs_v53/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v53/constructors/nearestDc.md +++ b/old_docs/API_docs_v53/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v53/constructors/notifyAll.md +++ b/old_docs/API_docs_v53/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyChats.md b/old_docs/API_docs_v53/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v53/constructors/notifyChats.md +++ b/old_docs/API_docs_v53/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyPeer.md b/old_docs/API_docs_v53/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v53/constructors/notifyPeer.md +++ b/old_docs/API_docs_v53/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v53/constructors/notifyUsers.md +++ b/old_docs/API_docs_v53/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerChannel.md b/old_docs/API_docs_v53/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v53/constructors/peerChannel.md +++ b/old_docs/API_docs_v53/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v53/constructors/peerChat.md +++ b/old_docs/API_docs_v53/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettings.md b/old_docs/API_docs_v53/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerSettings.md b/old_docs/API_docs_v53/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v53/constructors/peerSettings.md +++ b/old_docs/API_docs_v53/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v53/constructors/peerUser.md +++ b/old_docs/API_docs_v53/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v53/constructors/photo.md +++ b/old_docs/API_docs_v53/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v53/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v53/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v53/constructors/photoEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v53/constructors/photoSize.md +++ b/old_docs/API_docs_v53/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v53/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v53/constructors/photos_photo.md +++ b/old_docs/API_docs_v53/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v53/constructors/photos_photos.md +++ b/old_docs/API_docs_v53/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v53/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v53/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v53/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v53/constructors/stickerPack.md +++ b/old_docs/API_docs_v53/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 2c2aa5aa..bc6128ed 100644 --- a/old_docs/API_docs_v53/constructors/stickerSet.md +++ b/old_docs/API_docs_v53/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "disabled": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v53/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v53/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v53/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePng.md +++ b/old_docs/API_docs_v53/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v53/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v53/constructors/topPeer.md +++ b/old_docs/API_docs_v53/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v53/constructors/true.md +++ b/old_docs/API_docs_v53/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md index 3c72736d..1aef0bf6 100644 --- a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md @@ -25,13 +25,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "data": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data=bytes, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v53/constructors/updateChannel.md +++ b/old_docs/API_docs_v53/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v53/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v53/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v53/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v53/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v53/constructors/updateContactLink.md +++ b/old_docs/API_docs_v53/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v53/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v53/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v53/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v53/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v53/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v53/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v53/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryption.md +++ b/old_docs/API_docs_v53/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 da31cfe1..72f65cb6 100644 --- a/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md @@ -24,13 +24,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "data": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data=bytes, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v53/constructors/updateMessageID.md +++ b/old_docs/API_docs_v53/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v53/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v53/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v53/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v53/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v53/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v53/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v53/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v53/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateServiceNotification.md b/old_docs/API_docs_v53/constructors/updateServiceNotification.md index 1b604182..8c907716 100644 --- a/old_docs/API_docs_v53/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v53/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v53/constructors/updateShort.md +++ b/old_docs/API_docs_v53/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v53/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v53/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v53/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v53/constructors/updateUserName.md +++ b/old_docs/API_docs_v53/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v53/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v53/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v53/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v53/constructors/updateWebPage.md +++ b/old_docs/API_docs_v53/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v53/constructors/updates.md +++ b/old_docs/API_docs_v53/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v53/constructors/updatesCombined.md +++ b/old_docs/API_docs_v53/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v53/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v53/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v53/constructors/updates_difference.md +++ b/old_docs/API_docs_v53/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v53/constructors/updates_state.md +++ b/old_docs/API_docs_v53/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v53/constructors/upload_file.md +++ b/old_docs/API_docs_v53/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v53/constructors/user.md +++ b/old_docs/API_docs_v53/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v53/constructors/userEmpty.md +++ b/old_docs/API_docs_v53/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 da08e19b..b2a8edda 100644 --- a/old_docs/API_docs_v53/constructors/userFull.md +++ b/old_docs/API_docs_v53/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +{"_": "userFull", "blocked": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusEmpty.md b/old_docs/API_docs_v53/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v53/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v53/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusOffline.md b/old_docs/API_docs_v53/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v53/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v53/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v53/constructors/vector.md b/old_docs/API_docs_v53/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v53/constructors/vector.md +++ b/old_docs/API_docs_v53/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v53/constructors/wallPaper.md b/old_docs/API_docs_v53/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v53/constructors/wallPaper.md +++ b/old_docs/API_docs_v53/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v53/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v53/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v53/constructors/webPage.md +++ b/old_docs/API_docs_v53/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v53/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v53/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v53/constructors/webPagePending.md +++ b/old_docs/API_docs_v53/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_checkPassword.md b/old_docs/API_docs_v53/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v53/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v53/methods/auth_importAuthorization.md b/old_docs/API_docs_v53/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v53/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_logOut.md b/old_docs/API_docs_v53/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v53/methods/auth_logOut.md +++ b/old_docs/API_docs_v53/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/auth_sendCode.md b/old_docs/API_docs_v53/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v53/methods/auth_sendCode.md +++ b/old_docs/API_docs_v53/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_signIn.md b/old_docs/API_docs_v53/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v53/methods/auth_signIn.md +++ b/old_docs/API_docs_v53/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_signUp.md b/old_docs/API_docs_v53/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v53/methods/auth_signUp.md +++ b/old_docs/API_docs_v53/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v53/methods/channels_getFullChannel.md b/old_docs/API_docs_v53/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v53/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v53/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 e88c66bd..053d2f15 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v53/methods/messages_discardEncryption.md b/old_docs/API_docs_v53/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v53/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f7ae9a13..8bb8a2e1 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 0efcfbba..1cca01fd 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -67,6 +67,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDhConfig.md b/old_docs/API_docs_v53/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v53/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getFullChat.md b/old_docs/API_docs_v53/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v53/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v53/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 637005f3..8b287377 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","disabled":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_receivedQueue.md b/old_docs/API_docs_v53/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v53/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v53/methods/messages_requestEncryption.md b/old_docs/API_docs_v53/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v53/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 39216c12..2c1c883e 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string"} +* params - {"alert": Bool, "query_id": long, "message": "string", } ``` @@ -67,7 +67,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v53/methods/updates_getDifference.md b/old_docs/API_docs_v53/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v53/methods/updates_getDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v53/methods/updates_getState.md b/old_docs/API_docs_v53/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v53/methods/updates_getState.md +++ b/old_docs/API_docs_v53/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v53/methods/upload_getFile.md b/old_docs/API_docs_v53/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v53/methods/upload_getFile.md +++ b/old_docs/API_docs_v53/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/upload_saveFilePart.md b/old_docs/API_docs_v53/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v53/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/users_getFullUser.md b/old_docs/API_docs_v53/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v53/methods/users_getFullUser.md +++ b/old_docs/API_docs_v53/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v55/constructors/accountDaysTTL.md b/old_docs/API_docs_v55/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v55/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v55/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v55/constructors/account_authorizations.md +++ b/old_docs/API_docs_v55/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v55/constructors/account_noPassword.md +++ b/old_docs/API_docs_v55/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v55/constructors/account_password.md +++ b/old_docs/API_docs_v55/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/account_passwordSettings.md b/old_docs/API_docs_v55/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v55/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v55/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 b59d5d96..dacdc97c 100644 --- a/old_docs/API_docs_v55/constructors/auth_authorization.md +++ b/old_docs/API_docs_v55/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v55/constructors/authorization.md +++ b/old_docs/API_docs_v55/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/botCommand.md b/old_docs/API_docs_v55/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v55/constructors/botCommand.md +++ b/old_docs/API_docs_v55/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v55/constructors/botInfo.md +++ b/old_docs/API_docs_v55/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageText.md b/old_docs/API_docs_v55/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineResult.md b/old_docs/API_docs_v55/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v55/constructors/botInlineResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v55/constructors/channel.md +++ b/old_docs/API_docs_v55/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v55/constructors/channelForbidden.md +++ b/old_docs/API_docs_v55/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v55/constructors/channelFull.md +++ b/old_docs/API_docs_v55/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipant.md b/old_docs/API_docs_v55/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleEditor.md b/old_docs/API_docs_v55/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleModerator.md b/old_docs/API_docs_v55/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v55/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v55/constructors/chat.md +++ b/old_docs/API_docs_v55/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v55/constructors/chatEmpty.md b/old_docs/API_docs_v55/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v55/constructors/chatEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v55/constructors/chatForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v55/constructors/chatFull.md +++ b/old_docs/API_docs_v55/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInvite.md b/old_docs/API_docs_v55/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/old_docs/API_docs_v55/constructors/chatInvite.md +++ b/old_docs/API_docs_v55/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInviteAlready.md b/old_docs/API_docs_v55/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v55/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInviteExported.md b/old_docs/API_docs_v55/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v55/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipant.md +++ b/old_docs/API_docs_v55/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipants.md +++ b/old_docs/API_docs_v55/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v55/constructors/chatPhoto.md +++ b/old_docs/API_docs_v55/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/config.md b/old_docs/API_docs_v55/constructors/config.md index 86416c97..7ec9aadf 100644 --- a/old_docs/API_docs_v55/constructors/config.md +++ b/old_docs/API_docs_v55/constructors/config.md @@ -43,13 +43,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -57,7 +57,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v55/constructors/contact.md +++ b/old_docs/API_docs_v55/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v55/constructors/contactBlocked.md +++ b/old_docs/API_docs_v55/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v55/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkNone.md b/old_docs/API_docs_v55/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactStatus.md b/old_docs/API_docs_v55/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v55/constructors/contactStatus.md +++ b/old_docs/API_docs_v55/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v55/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v55/constructors/contacts_found.md +++ b/old_docs/API_docs_v55/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v55/constructors/contacts_link.md +++ b/old_docs/API_docs_v55/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v55/constructors/dcOption.md +++ b/old_docs/API_docs_v55/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 de84b635..f34506e3 100644 --- a/old_docs/API_docs_v55/constructors/dialog.md +++ b/old_docs/API_docs_v55/constructors/dialog.md @@ -28,13 +28,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v55/constructors/disabledFeature.md +++ b/old_docs/API_docs_v55/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 fdadf27d..2a1319da 100644 --- a/old_docs/API_docs_v55/constructors/document.md +++ b/old_docs/API_docs_v55/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 3cb9fcd5..0de750df 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeSticker.md @@ -22,13 +22,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +{"_": "documentAttributeSticker", "alt": "string", "stickerset": InputStickerSet} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', alt=string, stickerset=InputStickerSet, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v55/constructors/documentEmpty.md +++ b/old_docs/API_docs_v55/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v55/constructors/draftMessage.md +++ b/old_docs/API_docs_v55/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v55/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v55/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChat.md b/old_docs/API_docs_v55/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChat.md +++ b/old_docs/API_docs_v55/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFile.md +++ b/old_docs/API_docs_v55/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedMessage.md b/old_docs/API_docs_v55/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v55/constructors/error.md +++ b/old_docs/API_docs_v55/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v55/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v55/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v55/constructors/fileLocation.md +++ b/old_docs/API_docs_v55/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v55/constructors/foundGif.md +++ b/old_docs/API_docs_v55/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v55/constructors/foundGifCached.md +++ b/old_docs/API_docs_v55/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v55/constructors/geoPoint.md +++ b/old_docs/API_docs_v55/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v55/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v55/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v55/constructors/help_inviteText.md +++ b/old_docs/API_docs_v55/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v55/constructors/help_support.md +++ b/old_docs/API_docs_v55/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v55/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v55/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v55/constructors/importedContact.md +++ b/old_docs/API_docs_v55/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v55/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v55/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v55/constructors/inputChannel.md +++ b/old_docs/API_docs_v55/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v55/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChatPhoto.md b/old_docs/API_docs_v55/constructors/inputChatPhoto.md index f37bd939..02ba910b 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhoto.md @@ -22,13 +22,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +{"_": "inputChatPhoto", "id": InputPhoto, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md index 27a1ce61..b36283cc 100644 --- a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +{"_": "inputChatUploadedPhoto", "file": InputFile, "crop": InputPhotoCrop} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v55/constructors/inputDocument.md +++ b/old_docs/API_docs_v55/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v55/constructors/inputFile.md +++ b/old_docs/API_docs_v55/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v55/constructors/inputFileBig.md +++ b/old_docs/API_docs_v55/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v55/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaContact.md b/old_docs/API_docs_v55/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md index 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 d7c6dee4..e102bfc4 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md @@ -24,13 +24,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 923fd903..d4433d63 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md @@ -22,13 +22,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, } +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 8c1c9295..03fb76e2 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyAll.md b/old_docs/API_docs_v55/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyChats.md b/old_docs/API_docs_v55/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerChannel.md b/old_docs/API_docs_v55/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v55/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerUser.md b/old_docs/API_docs_v55/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v55/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v55/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 a9202ca6..5f87eead 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCrop.md @@ -23,13 +23,13 @@ description: inputPhotoCrop attributes, type and example ### Example: ``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +{"_": "inputPhotoCrop", "crop_left": double, "crop_top": double, "crop_width": double} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double, } +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 b81ce17d..c76ccefa 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md @@ -16,13 +16,13 @@ description: inputPhotoCropAuto attributes, type and example ### Example: ``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoCropAuto"} +{"_": "inputPhotoCropAuto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoCropAuto={_='inputPhotoCropAuto', } +inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md index d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetID.md b/old_docs/API_docs_v55/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v55/constructors/inputUser.md +++ b/old_docs/API_docs_v55/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v55/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputUserSelf.md b/old_docs/API_docs_v55/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v55/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v55/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButton.md b/old_docs/API_docs_v55/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButton.md +++ b/old_docs/API_docs_v55/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 def12264..30d6108f 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md @@ -22,13 +22,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "text": "string", "query": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v55/constructors/message.md +++ b/old_docs/API_docs_v55/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v55/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md index d576d087..78a1e098 100644 --- a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md index c8595522..3887229f 100644 --- a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEmpty.md b/old_docs/API_docs_v55/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v55/constructors/messageEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v55/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v55/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v55/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v55/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v55/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v55/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v55/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaGeo.md b/old_docs/API_docs_v55/constructors/messageMediaGeo.md index 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaVenue.md b/old_docs/API_docs_v55/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v55/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v55/constructors/messageRange.md +++ b/old_docs/API_docs_v55/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v55/constructors/messageService.md +++ b/old_docs/API_docs_v55/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7cc54d64..561d9c4e 100644 --- a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 5a897d6b..681b7566 100644 --- a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md @@ -23,13 +23,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, 'url' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string","url":"string"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "message": "string", "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, url=string, } +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 d552a4fe..362bc115 100644 --- a/old_docs/API_docs_v55/constructors/messages_botResults.md +++ b/old_docs/API_docs_v55/constructors/messages_botResults.md @@ -25,13 +25,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v55/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v55/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v55/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v55/constructors/messages_chats.md +++ b/old_docs/API_docs_v55/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 beae5c36..1f23efe5 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v55/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v55/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v55/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v55/constructors/messages_messages.md +++ b/old_docs/API_docs_v55/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +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 d4c2f39a..c7cf1ea0 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickers.md +++ b/old_docs/API_docs_v55/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v55/constructors/nearestDc.md +++ b/old_docs/API_docs_v55/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v55/constructors/notifyAll.md +++ b/old_docs/API_docs_v55/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyChats.md b/old_docs/API_docs_v55/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v55/constructors/notifyChats.md +++ b/old_docs/API_docs_v55/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyPeer.md b/old_docs/API_docs_v55/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v55/constructors/notifyPeer.md +++ b/old_docs/API_docs_v55/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v55/constructors/notifyUsers.md +++ b/old_docs/API_docs_v55/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerChannel.md b/old_docs/API_docs_v55/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v55/constructors/peerChannel.md +++ b/old_docs/API_docs_v55/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v55/constructors/peerChat.md +++ b/old_docs/API_docs_v55/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettings.md b/old_docs/API_docs_v55/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerSettings.md b/old_docs/API_docs_v55/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v55/constructors/peerSettings.md +++ b/old_docs/API_docs_v55/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v55/constructors/peerUser.md +++ b/old_docs/API_docs_v55/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 2aaa4efd..4ae1b2ba 100644 --- a/old_docs/API_docs_v55/constructors/photo.md +++ b/old_docs/API_docs_v55/constructors/photo.md @@ -24,13 +24,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v55/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v55/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v55/constructors/photoEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v55/constructors/photoSize.md +++ b/old_docs/API_docs_v55/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v55/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v55/constructors/photos_photo.md +++ b/old_docs/API_docs_v55/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v55/constructors/photos_photos.md +++ b/old_docs/API_docs_v55/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v55/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v55/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v55/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v55/constructors/stickerPack.md +++ b/old_docs/API_docs_v55/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 9a52fc91..fa15b7ed 100644 --- a/old_docs/API_docs_v55/constructors/stickerSet.md +++ b/old_docs/API_docs_v55/constructors/stickerSet.md @@ -29,13 +29,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +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 3421f170..1c6eed5a 100644 --- a/old_docs/API_docs_v55/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v55/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v55/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v55/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v55/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePng.md +++ b/old_docs/API_docs_v55/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v55/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v55/constructors/topPeer.md +++ b/old_docs/API_docs_v55/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v55/constructors/true.md +++ b/old_docs/API_docs_v55/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md index 3c72736d..1aef0bf6 100644 --- a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md @@ -25,13 +25,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "data": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data=bytes, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v55/constructors/updateChannel.md +++ b/old_docs/API_docs_v55/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v55/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v55/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v55/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v55/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v55/constructors/updateContactLink.md +++ b/old_docs/API_docs_v55/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v55/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v55/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v55/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v55/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v55/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v55/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v55/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryption.md +++ b/old_docs/API_docs_v55/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 da31cfe1..72f65cb6 100644 --- a/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md @@ -24,13 +24,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "data": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data=bytes, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v55/constructors/updateMessageID.md +++ b/old_docs/API_docs_v55/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v55/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v55/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v55/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v55/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v55/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v55/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 b5aea850..b566d250 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/old_docs/API_docs_v55/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v55/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateSavedGifs.md b/old_docs/API_docs_v55/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v55/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v55/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateServiceNotification.md b/old_docs/API_docs_v55/constructors/updateServiceNotification.md index 1b604182..8c907716 100644 --- a/old_docs/API_docs_v55/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v55/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v55/constructors/updateShort.md +++ b/old_docs/API_docs_v55/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v55/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md index 950fdb48..990ca424 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md @@ -21,13 +21,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","order":["long"]} +{"_": "updateStickerSetsOrder", "order": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v55/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v55/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v55/constructors/updateUserName.md +++ b/old_docs/API_docs_v55/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v55/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v55/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v55/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v55/constructors/updateWebPage.md +++ b/old_docs/API_docs_v55/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v55/constructors/updates.md +++ b/old_docs/API_docs_v55/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v55/constructors/updatesCombined.md +++ b/old_docs/API_docs_v55/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v55/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v55/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v55/constructors/updates_difference.md +++ b/old_docs/API_docs_v55/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v55/constructors/updates_state.md +++ b/old_docs/API_docs_v55/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v55/constructors/upload_file.md +++ b/old_docs/API_docs_v55/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v55/constructors/user.md +++ b/old_docs/API_docs_v55/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v55/constructors/userEmpty.md +++ b/old_docs/API_docs_v55/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 da08e19b..b2a8edda 100644 --- a/old_docs/API_docs_v55/constructors/userFull.md +++ b/old_docs/API_docs_v55/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +{"_": "userFull", "blocked": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusEmpty.md b/old_docs/API_docs_v55/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v55/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v55/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusOffline.md b/old_docs/API_docs_v55/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v55/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v55/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v55/constructors/vector.md b/old_docs/API_docs_v55/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v55/constructors/vector.md +++ b/old_docs/API_docs_v55/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v55/constructors/wallPaper.md b/old_docs/API_docs_v55/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v55/constructors/wallPaper.md +++ b/old_docs/API_docs_v55/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v55/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v55/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v55/constructors/webPage.md +++ b/old_docs/API_docs_v55/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v55/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v55/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v55/constructors/webPagePending.md +++ b/old_docs/API_docs_v55/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 6ce6e811..aa7c10a6 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_checkPassword.md b/old_docs/API_docs_v55/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v55/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v55/methods/auth_importAuthorization.md b/old_docs/API_docs_v55/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v55/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_logOut.md b/old_docs/API_docs_v55/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v55/methods/auth_logOut.md +++ b/old_docs/API_docs_v55/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/auth_sendCode.md b/old_docs/API_docs_v55/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v55/methods/auth_sendCode.md +++ b/old_docs/API_docs_v55/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_signIn.md b/old_docs/API_docs_v55/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v55/methods/auth_signIn.md +++ b/old_docs/API_docs_v55/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_signUp.md b/old_docs/API_docs_v55/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v55/methods/auth_signUp.md +++ b/old_docs/API_docs_v55/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v55/methods/channels_getFullChannel.md b/old_docs/API_docs_v55/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v55/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v55/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 e88c66bd..053d2f15 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 a8da1edf..566d34b7 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v55/methods/messages_discardEncryption.md b/old_docs/API_docs_v55/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v55/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f7ae9a13..8bb8a2e1 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 2ed93956..02776a2f 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"offset_id":"long","limit":"int"} +* params - {"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 0efcfbba..1cca01fd 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -67,6 +67,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDhConfig.md b/old_docs/API_docs_v55/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v55/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +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 3bab2043..a5f3b355 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_getFullChat.md b/old_docs/API_docs_v55/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v55/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v55/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 874fbeea..12d48b11 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"hash":"int"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 8a84f177..e9395754 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickers -* params - {"emoticon":"string","hash":"string"} +* params - {"emoticon": "string", "hash": "string", } ``` @@ -65,6 +65,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -messages_Stickers = messages.getStickers({emoticon=string, hash=string, }) +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 b4292882..968dede8 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getUnusedStickers -* params - {"limit":"int"} +* params - {"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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 6d1e701b..5d07e85c 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 6caf9285..29fa2aed 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_receivedQueue.md b/old_docs/API_docs_v55/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v55/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index 3187ba89..b3047843 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v55/methods/messages_requestEncryption.md b/old_docs/API_docs_v55/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v55/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 709a772e..8c9c4afb 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 81e9c7b8..296a7a5b 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendBroadcast -* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} +* params - {"contacts": [InputUser], "message": "string", "media": InputMedia, } ``` @@ -67,7 +67,7 @@ media - Json encoded InputMedia Or, if you're into Lua: ``` -Updates = messages.sendBroadcast({contacts={InputUser}, message=string, media=InputMedia, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 e4483ee2..a8b66a16 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", } ``` @@ -69,7 +69,7 @@ url - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 b6eff60b..67b34687 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} +* params - {"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 6fc5b87e..1894a44b 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} +* params - {"file": InputFile, "caption": "string", "geo_point": InputGeoPoint, "crop": InputPhotoCrop, } ``` @@ -69,6 +69,6 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: ``` -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption=string, geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v55/methods/updates_getDifference.md b/old_docs/API_docs_v55/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v55/methods/updates_getDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v55/methods/updates_getState.md b/old_docs/API_docs_v55/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v55/methods/updates_getState.md +++ b/old_docs/API_docs_v55/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v55/methods/upload_getFile.md b/old_docs/API_docs_v55/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v55/methods/upload_getFile.md +++ b/old_docs/API_docs_v55/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/upload_saveFilePart.md b/old_docs/API_docs_v55/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v55/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/users_getFullUser.md b/old_docs/API_docs_v55/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v55/methods/users_getFullUser.md +++ b/old_docs/API_docs_v55/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v57/constructors/accountDaysTTL.md b/old_docs/API_docs_v57/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v57/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v57/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v57/constructors/account_authorizations.md +++ b/old_docs/API_docs_v57/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v57/constructors/account_noPassword.md +++ b/old_docs/API_docs_v57/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v57/constructors/account_password.md +++ b/old_docs/API_docs_v57/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/account_passwordSettings.md b/old_docs/API_docs_v57/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v57/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v57/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 b59d5d96..dacdc97c 100644 --- a/old_docs/API_docs_v57/constructors/auth_authorization.md +++ b/old_docs/API_docs_v57/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v57/constructors/authorization.md +++ b/old_docs/API_docs_v57/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/botCommand.md b/old_docs/API_docs_v57/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v57/constructors/botCommand.md +++ b/old_docs/API_docs_v57/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v57/constructors/botInfo.md +++ b/old_docs/API_docs_v57/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageText.md b/old_docs/API_docs_v57/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineResult.md b/old_docs/API_docs_v57/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v57/constructors/botInlineResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v57/constructors/channel.md +++ b/old_docs/API_docs_v57/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v57/constructors/channelForbidden.md +++ b/old_docs/API_docs_v57/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v57/constructors/channelFull.md +++ b/old_docs/API_docs_v57/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipant.md b/old_docs/API_docs_v57/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleEditor.md b/old_docs/API_docs_v57/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleModerator.md b/old_docs/API_docs_v57/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v57/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v57/constructors/chat.md +++ b/old_docs/API_docs_v57/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v57/constructors/chatEmpty.md b/old_docs/API_docs_v57/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v57/constructors/chatEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v57/constructors/chatForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v57/constructors/chatFull.md +++ b/old_docs/API_docs_v57/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInvite.md b/old_docs/API_docs_v57/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/old_docs/API_docs_v57/constructors/chatInvite.md +++ b/old_docs/API_docs_v57/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInviteAlready.md b/old_docs/API_docs_v57/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v57/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInviteExported.md b/old_docs/API_docs_v57/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v57/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipant.md +++ b/old_docs/API_docs_v57/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipants.md +++ b/old_docs/API_docs_v57/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v57/constructors/chatPhoto.md +++ b/old_docs/API_docs_v57/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/config.md b/old_docs/API_docs_v57/constructors/config.md index 86416c97..7ec9aadf 100644 --- a/old_docs/API_docs_v57/constructors/config.md +++ b/old_docs/API_docs_v57/constructors/config.md @@ -43,13 +43,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -57,7 +57,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v57/constructors/contact.md +++ b/old_docs/API_docs_v57/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v57/constructors/contactBlocked.md +++ b/old_docs/API_docs_v57/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v57/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkNone.md b/old_docs/API_docs_v57/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactStatus.md b/old_docs/API_docs_v57/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v57/constructors/contactStatus.md +++ b/old_docs/API_docs_v57/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v57/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v57/constructors/contacts_found.md +++ b/old_docs/API_docs_v57/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v57/constructors/contacts_link.md +++ b/old_docs/API_docs_v57/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v57/constructors/dcOption.md +++ b/old_docs/API_docs_v57/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 de84b635..f34506e3 100644 --- a/old_docs/API_docs_v57/constructors/dialog.md +++ b/old_docs/API_docs_v57/constructors/dialog.md @@ -28,13 +28,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -42,7 +42,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v57/constructors/disabledFeature.md +++ b/old_docs/API_docs_v57/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 fdadf27d..2a1319da 100644 --- a/old_docs/API_docs_v57/constructors/document.md +++ b/old_docs/API_docs_v57/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 b09f783d..f1e3342e 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md @@ -16,13 +16,13 @@ description: documentAttributeHasStickers attributes, type and example ### Example: ``` -$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; +$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeHasStickers"} +{"_": "documentAttributeHasStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeHasStickers={_='documentAttributeHasStickers', } +documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md index f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 77b8f437..a7923f10 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md @@ -24,13 +24,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v57/constructors/documentEmpty.md +++ b/old_docs/API_docs_v57/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v57/constructors/draftMessage.md +++ b/old_docs/API_docs_v57/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v57/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v57/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChat.md b/old_docs/API_docs_v57/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChat.md +++ b/old_docs/API_docs_v57/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFile.md +++ b/old_docs/API_docs_v57/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedMessage.md b/old_docs/API_docs_v57/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v57/constructors/error.md +++ b/old_docs/API_docs_v57/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v57/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v57/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v57/constructors/fileLocation.md +++ b/old_docs/API_docs_v57/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v57/constructors/foundGif.md +++ b/old_docs/API_docs_v57/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v57/constructors/foundGifCached.md +++ b/old_docs/API_docs_v57/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 3bb1dfe1..46792b77 100644 --- a/old_docs/API_docs_v57/constructors/game.md +++ b/old_docs/API_docs_v57/constructors/game.md @@ -27,13 +27,13 @@ description: game attributes, type and example ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +{"_": "game", "id": long, "access_hash": long, "short_name": "string", "title": "string", "description": "string", "photo": Photo, "document": Document} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, access_hash=long, short_name=string, title=string, description=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v57/constructors/geoPoint.md +++ b/old_docs/API_docs_v57/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v57/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 67e40e85..6044f267 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelog.md @@ -21,13 +21,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","text":"string"} +{"_": "help.appChangelog", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', text=string, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v57/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v57/constructors/help_inviteText.md +++ b/old_docs/API_docs_v57/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v57/constructors/help_support.md +++ b/old_docs/API_docs_v57/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v57/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v57/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 8fe62af9..e5b5fdeb 100644 --- a/old_docs/API_docs_v57/constructors/highScore.md +++ b/old_docs/API_docs_v57/constructors/highScore.md @@ -23,13 +23,13 @@ description: highScore attributes, type and example ### Example: ``` -$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; +$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"highScore","pos":"int","user_id":"int","score":"int"} +{"_": "highScore", "pos": int, "user_id": int, "score": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -highScore={_='highScore', pos=int, user_id=int, score=int, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v57/constructors/importedContact.md +++ b/old_docs/API_docs_v57/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v57/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v57/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 1a8bc54d..cf5e9a44 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageGame attributes, type and example ### Example: ``` -$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageGame", "reply_markup": ReplyMarkup} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 be8f6f21..57779977 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md @@ -23,13 +23,13 @@ description: inputBotInlineResultGame attributes, type and example ### Example: ``` -$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultGame", "id": "string", "short_name": "string", "send_message": InputBotInlineMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultGame={_='inputBotInlineResultGame', id=string, short_name=string, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v57/constructors/inputChannel.md +++ b/old_docs/API_docs_v57/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v57/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChatPhoto.md b/old_docs/API_docs_v57/constructors/inputChatPhoto.md index aa98b610..8114d1d3 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhoto.md @@ -21,13 +21,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto"} +{"_": "inputChatPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md index ce3b4224..0615c324 100644 --- a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile"} +{"_": "inputChatUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v57/constructors/inputDocument.md +++ b/old_docs/API_docs_v57/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v57/constructors/inputFile.md +++ b/old_docs/API_docs_v57/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v57/constructors/inputFileBig.md +++ b/old_docs/API_docs_v57/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v57/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 c8ce7efc..15aa00bd 100644 --- a/old_docs/API_docs_v57/constructors/inputGameID.md +++ b/old_docs/API_docs_v57/constructors/inputGameID.md @@ -22,13 +22,13 @@ description: inputGameID attributes, type and example ### Example: ``` -$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; +$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameID","id":"long","access_hash":"long"} +{"_": "inputGameID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameID={_='inputGameID', id=long, access_hash=long, } +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 82671253..00895eed 100644 --- a/old_docs/API_docs_v57/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v57/constructors/inputGameShortName.md @@ -22,13 +22,13 @@ description: inputGameShortName attributes, type and example ### Example: ``` -$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; +$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name=string, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaContact.md b/old_docs/API_docs_v57/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 df91c315..8bd11508 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md @@ -22,13 +22,13 @@ description: inputMediaDocumentExternal attributes, type and example ### Example: ``` -$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; +$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +{"_": "inputMediaDocumentExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocumentExternal={_='inputMediaDocumentExternal', url=string, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaGame.md b/old_docs/API_docs_v57/constructors/inputMediaGame.md index 399f03c0..a97c0c70 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGame.md @@ -21,13 +21,13 @@ description: inputMediaGame attributes, type and example ### Example: ``` -$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; +$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGame","id":"InputGame"} +{"_": "inputMediaGame", "id": InputGame} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGame={_='inputMediaGame', id=InputGame, } +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 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 b50c9771..c2860028 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md @@ -22,13 +22,13 @@ description: inputMediaPhotoExternal attributes, type and example ### Example: ``` -$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; +$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhotoExternal={_='inputMediaPhotoExternal', url=string, caption=string, } +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 f88ff5f0..5614925e 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 ee07669d..e69293fa 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md @@ -23,13 +23,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string", "stickers": [InputDocument]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, stickers={InputDocument}, } +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 fcbbab79..51d344d2 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md index 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyAll.md b/old_docs/API_docs_v57/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyChats.md b/old_docs/API_docs_v57/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerChannel.md b/old_docs/API_docs_v57/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v57/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerUser.md b/old_docs/API_docs_v57/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v57/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v57/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetID.md b/old_docs/API_docs_v57/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 e7a64e8c..5f19e725 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md @@ -21,13 +21,13 @@ description: inputStickeredMediaDocument attributes, type and example ### Example: ``` -$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; +$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaDocument","id":"InputDocument"} +{"_": "inputStickeredMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument, } +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 d909033a..575918d7 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md @@ -21,13 +21,13 @@ description: inputStickeredMediaPhoto attributes, type and example ### Example: ``` -$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; +$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +{"_": "inputStickeredMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v57/constructors/inputUser.md +++ b/old_docs/API_docs_v57/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v57/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputUserSelf.md b/old_docs/API_docs_v57/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v57/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v57/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButton.md b/old_docs/API_docs_v57/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButton.md +++ b/old_docs/API_docs_v57/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 a8569aed..0c5c99ab 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonGame.md @@ -21,13 +21,13 @@ description: keyboardButtonGame attributes, type and example ### Example: ``` -$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; +$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonGame","text":"string"} +{"_": "keyboardButtonGame", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonGame={_='keyboardButtonGame', text=string, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 76688727..97722a90 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md @@ -23,13 +23,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 72c25c0e..0a6190f5 100644 --- a/old_docs/API_docs_v57/constructors/maskCoords.md +++ b/old_docs/API_docs_v57/constructors/maskCoords.md @@ -24,13 +24,13 @@ description: maskCoords attributes, type and example ### Example: ``` -$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +{"_": "maskCoords", "n": int, "x": double, "y": double, "zoom": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v57/constructors/message.md +++ b/old_docs/API_docs_v57/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v57/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionGameScore.md b/old_docs/API_docs_v57/constructors/messageActionGameScore.md index 0f498dab..acb0208f 100644 --- a/old_docs/API_docs_v57/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v57/constructors/messageActionGameScore.md @@ -22,13 +22,13 @@ description: messageActionGameScore attributes, type and example ### Example: ``` -$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; +$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGameScore","game_id":"long","score":"int"} +{"_": "messageActionGameScore", "game_id": long, "score": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGameScore={_='messageActionGameScore', game_id=long, score=int, } +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 d576d087..78a1e098 100644 --- a/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md index c8595522..3887229f 100644 --- a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEmpty.md b/old_docs/API_docs_v57/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v57/constructors/messageEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v57/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v57/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v57/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v57/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v57/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v57/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v57/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaGame.md b/old_docs/API_docs_v57/constructors/messageMediaGame.md index 349b9023..59f29080 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGame.md @@ -21,13 +21,13 @@ description: messageMediaGame attributes, type and example ### Example: ``` -$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; +$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGame","game":"Game"} +{"_": "messageMediaGame", "game": Game} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGame={_='messageMediaGame', game=Game, } +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 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaVenue.md b/old_docs/API_docs_v57/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v57/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v57/constructors/messageRange.md +++ b/old_docs/API_docs_v57/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v57/constructors/messageService.md +++ b/old_docs/API_docs_v57/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7cc54d64..561d9c4e 100644 --- a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 e9d1e81a..de6113c5 100644 --- a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md @@ -24,13 +24,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, } +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 d552a4fe..362bc115 100644 --- a/old_docs/API_docs_v57/constructors/messages_botResults.md +++ b/old_docs/API_docs_v57/constructors/messages_botResults.md @@ -25,13 +25,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v57/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v57/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v57/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v57/constructors/messages_chats.md +++ b/old_docs/API_docs_v57/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 beae5c36..1f23efe5 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v57/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 6fdb3222..5897923e 100644 --- a/old_docs/API_docs_v57/constructors/messages_highScores.md +++ b/old_docs/API_docs_v57/constructors/messages_highScores.md @@ -22,13 +22,13 @@ description: messages_highScores attributes, type and example ### Example: ``` -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; +$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +{"_": "messages.highScores", "scores": [HighScore], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v57/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v57/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v57/constructors/messages_messages.md +++ b/old_docs/API_docs_v57/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +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 d4c2f39a..c7cf1ea0 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickers.md +++ b/old_docs/API_docs_v57/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v57/constructors/nearestDc.md +++ b/old_docs/API_docs_v57/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v57/constructors/notifyAll.md +++ b/old_docs/API_docs_v57/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyChats.md b/old_docs/API_docs_v57/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v57/constructors/notifyChats.md +++ b/old_docs/API_docs_v57/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyPeer.md b/old_docs/API_docs_v57/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v57/constructors/notifyPeer.md +++ b/old_docs/API_docs_v57/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v57/constructors/notifyUsers.md +++ b/old_docs/API_docs_v57/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerChannel.md b/old_docs/API_docs_v57/constructors/peerChannel.md index 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v57/constructors/peerChannel.md +++ b/old_docs/API_docs_v57/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v57/constructors/peerChat.md +++ b/old_docs/API_docs_v57/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettings.md b/old_docs/API_docs_v57/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerSettings.md b/old_docs/API_docs_v57/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v57/constructors/peerSettings.md +++ b/old_docs/API_docs_v57/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v57/constructors/peerUser.md +++ b/old_docs/API_docs_v57/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 eeb39d1f..4c3434e0 100644 --- a/old_docs/API_docs_v57/constructors/photo.md +++ b/old_docs/API_docs_v57/constructors/photo.md @@ -25,13 +25,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "has_stickers": Bool, "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v57/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v57/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v57/constructors/photoEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v57/constructors/photoSize.md +++ b/old_docs/API_docs_v57/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v57/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v57/constructors/photos_photo.md +++ b/old_docs/API_docs_v57/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v57/constructors/photos_photos.md +++ b/old_docs/API_docs_v57/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v57/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v57/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v57/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md index 3fa832ac..8549a255 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md @@ -16,13 +16,13 @@ description: sendMessageGamePlayAction attributes, type and example ### Example: ``` -$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; +$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGamePlayAction"} +{"_": "sendMessageGamePlayAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGamePlayAction={_='sendMessageGamePlayAction', } +sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v57/constructors/stickerPack.md +++ b/old_docs/API_docs_v57/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 20964d59..41fd5b23 100644 --- a/old_docs/API_docs_v57/constructors/stickerSet.md +++ b/old_docs/API_docs_v57/constructors/stickerSet.md @@ -30,13 +30,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', 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 3421f170..1c6eed5a 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +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 c71c0503..41502aa6 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md @@ -22,13 +22,13 @@ description: stickerSetMultiCovered attributes, type and example ### Example: ``` -$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; +$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +{"_": "stickerSetMultiCovered", "set": StickerSet, "covers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v57/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v57/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v57/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePng.md +++ b/old_docs/API_docs_v57/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v57/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v57/constructors/topPeer.md +++ b/old_docs/API_docs_v57/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v57/constructors/true.md +++ b/old_docs/API_docs_v57/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md index 8275bafc..c5fa96e7 100644 --- a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md @@ -27,13 +27,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data=bytes, game_short_name=string, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v57/constructors/updateChannel.md +++ b/old_docs/API_docs_v57/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v57/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v57/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v57/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v57/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 ed455bd6..3bf8ae50 100644 --- a/old_docs/API_docs_v57/constructors/updateConfig.md +++ b/old_docs/API_docs_v57/constructors/updateConfig.md @@ -16,13 +16,13 @@ description: updateConfig attributes, type and example ### Example: ``` -$updateConfig = ['_' => 'updateConfig', ]; +$updateConfig = ['_' => 'updateConfig']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateConfig"} +{"_": "updateConfig"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateConfig={_='updateConfig', } +updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateContactLink.md b/old_docs/API_docs_v57/constructors/updateContactLink.md index 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v57/constructors/updateContactLink.md +++ b/old_docs/API_docs_v57/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v57/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v57/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v57/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v57/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v57/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v57/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v57/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryption.md +++ b/old_docs/API_docs_v57/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 a0fbf330..6b71357e 100644 --- a/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md @@ -26,13 +26,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data=bytes, game_short_name=string, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v57/constructors/updateMessageID.md +++ b/old_docs/API_docs_v57/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 4420ddbf..9acbde6a 100644 --- a/old_docs/API_docs_v57/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v57/constructors/updateNewAuthorization.md @@ -24,13 +24,13 @@ description: updateNewAuthorization attributes, type and example ### Example: ``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +{"_": "updateNewAuthorization", "auth_key_id": long, "date": int, "device": "string", "location": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device=string, location=string, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v57/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v57/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v57/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v57/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 bc4c62dd..a8e3d53d 100644 --- a/old_docs/API_docs_v57/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v57/constructors/updatePtsChanged.md @@ -16,13 +16,13 @@ description: updatePtsChanged attributes, type and example ### Example: ``` -$updatePtsChanged = ['_' => 'updatePtsChanged', ]; +$updatePtsChanged = ['_' => 'updatePtsChanged']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePtsChanged"} +{"_": "updatePtsChanged"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatePtsChanged={_='updatePtsChanged', } +updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md index b5aea850..b566d250 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/old_docs/API_docs_v57/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v57/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateSavedGifs.md b/old_docs/API_docs_v57/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v57/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v57/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateServiceNotification.md b/old_docs/API_docs_v57/constructors/updateServiceNotification.md index 1b604182..8c907716 100644 --- a/old_docs/API_docs_v57/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v57/constructors/updateServiceNotification.md @@ -24,13 +24,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', type=string, message=string, media=MessageMedia, popup=Bool, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v57/constructors/updateShort.md +++ b/old_docs/API_docs_v57/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v57/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md index 809b82d6..1f1f0943 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md @@ -22,13 +22,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +{"_": "updateStickerSetsOrder", "masks": Bool, "order": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v57/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v57/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v57/constructors/updateUserName.md +++ b/old_docs/API_docs_v57/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v57/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v57/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v57/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v57/constructors/updateWebPage.md +++ b/old_docs/API_docs_v57/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v57/constructors/updates.md +++ b/old_docs/API_docs_v57/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v57/constructors/updatesCombined.md +++ b/old_docs/API_docs_v57/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v57/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v57/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v57/constructors/updates_difference.md +++ b/old_docs/API_docs_v57/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v57/constructors/updates_state.md +++ b/old_docs/API_docs_v57/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v57/constructors/upload_file.md +++ b/old_docs/API_docs_v57/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v57/constructors/user.md +++ b/old_docs/API_docs_v57/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v57/constructors/userEmpty.md +++ b/old_docs/API_docs_v57/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 da08e19b..b2a8edda 100644 --- a/old_docs/API_docs_v57/constructors/userFull.md +++ b/old_docs/API_docs_v57/constructors/userFull.md @@ -27,13 +27,13 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +{"_": "userFull", "blocked": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusEmpty.md b/old_docs/API_docs_v57/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v57/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v57/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusOffline.md b/old_docs/API_docs_v57/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v57/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v57/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v57/constructors/vector.md b/old_docs/API_docs_v57/constructors/vector.md index 6d44f111..d1cfb3d9 100644 --- a/old_docs/API_docs_v57/constructors/vector.md +++ b/old_docs/API_docs_v57/constructors/vector.md @@ -16,13 +16,13 @@ description: vector attributes, type and example ### Example: ``` -$vector = ['_' => 'vector', ]; +$vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"vector"} +{"_": "vector"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -vector={_='vector', } +vector={_='vector'} ``` diff --git a/old_docs/API_docs_v57/constructors/wallPaper.md b/old_docs/API_docs_v57/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v57/constructors/wallPaper.md +++ b/old_docs/API_docs_v57/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v57/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v57/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 b4dd86ee..6ecffb2a 100644 --- a/old_docs/API_docs_v57/constructors/webPage.md +++ b/old_docs/API_docs_v57/constructors/webPage.md @@ -35,13 +35,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -49,7 +49,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v57/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v57/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v57/constructors/webPagePending.md +++ b/old_docs/API_docs_v57/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 6ce6e811..aa7c10a6 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_checkPassword.md b/old_docs/API_docs_v57/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v57/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +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 22e17d37..03b7d4f6 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.dropTempAuthKeys -* params - {"except_auth_keys":["long"]} +* params - {"except_auth_keys": [long], } ``` diff --git a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v57/methods/auth_importAuthorization.md b/old_docs/API_docs_v57/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v57/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_logOut.md b/old_docs/API_docs_v57/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v57/methods/auth_logOut.md +++ b/old_docs/API_docs_v57/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/auth_sendCode.md b/old_docs/API_docs_v57/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v57/methods/auth_sendCode.md +++ b/old_docs/API_docs_v57/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_signIn.md b/old_docs/API_docs_v57/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v57/methods/auth_signIn.md +++ b/old_docs/API_docs_v57/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_signUp.md b/old_docs/API_docs_v57/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v57/methods/auth_signUp.md +++ b/old_docs/API_docs_v57/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 85093ef6..2bc64b38 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminedPublicChannels -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v57/methods/channels_getFullChannel.md b/old_docs/API_docs_v57/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v57/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v57/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 e88c66bd..053d2f15 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"events": [InputAppEvent], } ``` diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index 805f48d2..81159138 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 9e8a99a1..a402f478 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - {"attached":"Bool"} +* params - {"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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 fe5aa0b5..1d2756a1 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v57/methods/messages_discardEncryption.md b/old_docs/API_docs_v57/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v57/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f72fb809..b7ca8567 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 a4abf13e..b1d812ad 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"masks":"Bool","offset_id":"long","limit":"int"} +* params - {"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 0a2b8ff2..198085d0 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAttachedStickers -* params - {"media":"InputStickeredMedia"} +* params - {"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 e61ca36e..b7927c14 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"game": Bool, "peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -69,6 +69,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"id": [int], } ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDhConfig.md b/old_docs/API_docs_v57/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v57/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index a0884730..c740b7e8 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +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 3bab2043..a5f3b355 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_getFullChat.md b/old_docs/API_docs_v57/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v57/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v57/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index 07a25b7c..6440ad75 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getGameHighScores -* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} +* params - {"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 b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 218bbc33..725bdd9b 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineGameHighScores -* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} +* params - {"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 8d740e32..2bf3e6d4 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMaskStickers -* params - {"hash":"int"} +* params - {"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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 1e07747d..8d56eb72 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"attached":"Bool","hash":"int"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 6d1e701b..5d07e85c 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 5fc7a340..c0479c69 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - {"id":["long"]} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_receivedQueue.md b/old_docs/API_docs_v57/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v57/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index 7ff0d995..484aea5b 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"masks":"Bool","order":["long"]} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v57/methods/messages_requestEncryption.md b/old_docs/API_docs_v57/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v57/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 96f55049..7f4f1c58 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 e4483ee2..a8b66a16 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", } ``` @@ -69,7 +69,7 @@ url - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 59be1020..bdc77bc4 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setGameScore -* params - {"edit_message":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 33269a66..32fe112c 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineGameScore -* params - {"edit_message":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 63f2ae84..6b472abd 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto"} +* params - {"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 408a631f..a85311f1 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile"} +* params - {"file": InputFile, } ``` diff --git a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md index d2aedcea..826ffc06 100644 --- a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v57/methods/updates_getDifference.md b/old_docs/API_docs_v57/methods/updates_getDifference.md index db6dbd39..5b9d0595 100644 --- a/old_docs/API_docs_v57/methods/updates_getDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getDifference.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","date":"int","qts":"int"} +* params - {"pts": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v57/methods/updates_getState.md b/old_docs/API_docs_v57/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v57/methods/updates_getState.md +++ b/old_docs/API_docs_v57/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v57/methods/upload_getFile.md b/old_docs/API_docs_v57/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v57/methods/upload_getFile.md +++ b/old_docs/API_docs_v57/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/upload_saveFilePart.md b/old_docs/API_docs_v57/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v57/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/users_getFullUser.md b/old_docs/API_docs_v57/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v57/methods/users_getFullUser.md +++ b/old_docs/API_docs_v57/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v62/constructors/accountDaysTTL.md b/old_docs/API_docs_v62/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v62/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v62/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v62/constructors/account_authorizations.md +++ b/old_docs/API_docs_v62/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v62/constructors/account_noPassword.md +++ b/old_docs/API_docs_v62/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v62/constructors/account_password.md +++ b/old_docs/API_docs_v62/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/account_passwordSettings.md b/old_docs/API_docs_v62/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v62/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v62/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 b59d5d96..dacdc97c 100644 --- a/old_docs/API_docs_v62/constructors/auth_authorization.md +++ b/old_docs/API_docs_v62/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v62/constructors/authorization.md +++ b/old_docs/API_docs_v62/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/botCommand.md b/old_docs/API_docs_v62/constructors/botCommand.md index 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v62/constructors/botCommand.md +++ b/old_docs/API_docs_v62/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v62/constructors/botInfo.md +++ b/old_docs/API_docs_v62/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageText.md b/old_docs/API_docs_v62/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineResult.md b/old_docs/API_docs_v62/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v62/constructors/botInlineResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v62/constructors/channel.md +++ b/old_docs/API_docs_v62/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v62/constructors/channelForbidden.md +++ b/old_docs/API_docs_v62/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v62/constructors/channelFull.md +++ b/old_docs/API_docs_v62/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipant.md b/old_docs/API_docs_v62/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleEditor.md b/old_docs/API_docs_v62/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleModerator.md b/old_docs/API_docs_v62/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v62/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v62/constructors/chat.md +++ b/old_docs/API_docs_v62/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v62/constructors/chatEmpty.md b/old_docs/API_docs_v62/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v62/constructors/chatEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v62/constructors/chatForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v62/constructors/chatFull.md +++ b/old_docs/API_docs_v62/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInvite.md b/old_docs/API_docs_v62/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/old_docs/API_docs_v62/constructors/chatInvite.md +++ b/old_docs/API_docs_v62/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInviteAlready.md b/old_docs/API_docs_v62/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v62/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInviteExported.md b/old_docs/API_docs_v62/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v62/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipant.md +++ b/old_docs/API_docs_v62/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipants.md +++ b/old_docs/API_docs_v62/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v62/constructors/chatPhoto.md +++ b/old_docs/API_docs_v62/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/config.md b/old_docs/API_docs_v62/constructors/config.md index 24e7857c..a9a9698a 100644 --- a/old_docs/API_docs_v62/constructors/config.md +++ b/old_docs/API_docs_v62/constructors/config.md @@ -49,13 +49,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -63,7 +63,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v62/constructors/contact.md +++ b/old_docs/API_docs_v62/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v62/constructors/contactBlocked.md +++ b/old_docs/API_docs_v62/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v62/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkNone.md b/old_docs/API_docs_v62/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactStatus.md b/old_docs/API_docs_v62/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v62/constructors/contactStatus.md +++ b/old_docs/API_docs_v62/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v62/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v62/constructors/contacts_found.md +++ b/old_docs/API_docs_v62/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v62/constructors/contacts_link.md +++ b/old_docs/API_docs_v62/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v62/constructors/dcOption.md +++ b/old_docs/API_docs_v62/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 00dececb..10a36c8b 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,13 +16,13 @@ description: destroy_auth_key_fail attributes, type and example ### Example: ``` -$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; +$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_fail"} +{"_": "destroy_auth_key_fail"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_fail={_='destroy_auth_key_fail', } +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 2d5ed5f3..7993b634 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,13 +16,13 @@ description: destroy_auth_key_none attributes, type and example ### Example: ``` -$destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; +$destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_none"} +{"_": "destroy_auth_key_none"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_none={_='destroy_auth_key_none', } +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 642a29c3..d12edc22 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,13 +16,13 @@ description: destroy_auth_key_ok attributes, type and example ### Example: ``` -$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; +$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_ok"} +{"_": "destroy_auth_key_ok"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_ok={_='destroy_auth_key_ok', } +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 5c5c2008..4fc1d4be 100644 --- a/old_docs/API_docs_v62/constructors/dialog.md +++ b/old_docs/API_docs_v62/constructors/dialog.md @@ -29,13 +29,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v62/constructors/disabledFeature.md +++ b/old_docs/API_docs_v62/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 fdadf27d..2a1319da 100644 --- a/old_docs/API_docs_v62/constructors/document.md +++ b/old_docs/API_docs_v62/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 b09f783d..f1e3342e 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md @@ -16,13 +16,13 @@ description: documentAttributeHasStickers attributes, type and example ### Example: ``` -$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; +$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeHasStickers"} +{"_": "documentAttributeHasStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeHasStickers={_='documentAttributeHasStickers', } +documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md index f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 77b8f437..a7923f10 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeSticker.md @@ -24,13 +24,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v62/constructors/documentEmpty.md +++ b/old_docs/API_docs_v62/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v62/constructors/draftMessage.md +++ b/old_docs/API_docs_v62/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v62/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v62/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChat.md b/old_docs/API_docs_v62/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChat.md +++ b/old_docs/API_docs_v62/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFile.md +++ b/old_docs/API_docs_v62/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedMessage.md b/old_docs/API_docs_v62/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v62/constructors/error.md +++ b/old_docs/API_docs_v62/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v62/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v62/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v62/constructors/fileLocation.md +++ b/old_docs/API_docs_v62/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v62/constructors/foundGif.md +++ b/old_docs/API_docs_v62/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v62/constructors/foundGifCached.md +++ b/old_docs/API_docs_v62/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 3bb1dfe1..46792b77 100644 --- a/old_docs/API_docs_v62/constructors/game.md +++ b/old_docs/API_docs_v62/constructors/game.md @@ -27,13 +27,13 @@ description: game attributes, type and example ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +{"_": "game", "id": long, "access_hash": long, "short_name": "string", "title": "string", "description": "string", "photo": Photo, "document": Document} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, access_hash=long, short_name=string, title=string, description=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v62/constructors/geoPoint.md +++ b/old_docs/API_docs_v62/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v62/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 7d9ba834..1d5e0e37 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelog.md @@ -23,13 +23,13 @@ description: help_appChangelog attributes, type and example ### Example: ``` -$help_appChangelog = ['_' => 'help.appChangelog', 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$help_appChangelog = ['_' => 'help.appChangelog', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelog","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "help.appChangelog", "message": "string", "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -help_appChangelog={_='help.appChangelog', message=string, media=MessageMedia, entities={MessageEntity}, } +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 f6ab5ace..7f37d586 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md @@ -16,13 +16,13 @@ description: help_appChangelogEmpty attributes, type and example ### Example: ``` -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; +$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appChangelogEmpty"} +{"_": "help.appChangelogEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_appChangelogEmpty={_='help.appChangelogEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v62/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v62/constructors/help_inviteText.md +++ b/old_docs/API_docs_v62/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v62/constructors/help_support.md +++ b/old_docs/API_docs_v62/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v62/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v62/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 8fe62af9..e5b5fdeb 100644 --- a/old_docs/API_docs_v62/constructors/highScore.md +++ b/old_docs/API_docs_v62/constructors/highScore.md @@ -23,13 +23,13 @@ description: highScore attributes, type and example ### Example: ``` -$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; +$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"highScore","pos":"int","user_id":"int","score":"int"} +{"_": "highScore", "pos": int, "user_id": int, "score": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -highScore={_='highScore', pos=int, user_id=int, score=int, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v62/constructors/importedContact.md +++ b/old_docs/API_docs_v62/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v62/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v62/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 1a8bc54d..cf5e9a44 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageGame attributes, type and example ### Example: ``` -$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageGame", "reply_markup": ReplyMarkup} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 be8f6f21..57779977 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md @@ -23,13 +23,13 @@ description: inputBotInlineResultGame attributes, type and example ### Example: ``` -$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultGame", "id": "string", "short_name": "string", "send_message": InputBotInlineMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultGame={_='inputBotInlineResultGame', id=string, short_name=string, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v62/constructors/inputChannel.md +++ b/old_docs/API_docs_v62/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v62/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChatPhoto.md b/old_docs/API_docs_v62/constructors/inputChatPhoto.md index aa98b610..8114d1d3 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhoto.md @@ -21,13 +21,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto"} +{"_": "inputChatPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md index ce3b4224..0615c324 100644 --- a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile"} +{"_": "inputChatUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v62/constructors/inputDocument.md +++ b/old_docs/API_docs_v62/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v62/constructors/inputFile.md +++ b/old_docs/API_docs_v62/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v62/constructors/inputFileBig.md +++ b/old_docs/API_docs_v62/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v62/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 c8ce7efc..15aa00bd 100644 --- a/old_docs/API_docs_v62/constructors/inputGameID.md +++ b/old_docs/API_docs_v62/constructors/inputGameID.md @@ -22,13 +22,13 @@ description: inputGameID attributes, type and example ### Example: ``` -$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; +$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameID","id":"long","access_hash":"long"} +{"_": "inputGameID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameID={_='inputGameID', id=long, access_hash=long, } +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 82671253..00895eed 100644 --- a/old_docs/API_docs_v62/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v62/constructors/inputGameShortName.md @@ -22,13 +22,13 @@ description: inputGameShortName attributes, type and example ### Example: ``` -$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; +$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name=string, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaContact.md b/old_docs/API_docs_v62/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 df91c315..8bd11508 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md @@ -22,13 +22,13 @@ description: inputMediaDocumentExternal attributes, type and example ### Example: ``` -$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; +$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +{"_": "inputMediaDocumentExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocumentExternal={_='inputMediaDocumentExternal', url=string, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaGame.md b/old_docs/API_docs_v62/constructors/inputMediaGame.md index 399f03c0..a97c0c70 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGame.md @@ -21,13 +21,13 @@ description: inputMediaGame attributes, type and example ### Example: ``` -$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; +$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGame","id":"InputGame"} +{"_": "inputMediaGame", "id": InputGame} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGame={_='inputMediaGame', id=InputGame, } +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 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 b50c9771..c2860028 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md @@ -22,13 +22,13 @@ description: inputMediaPhotoExternal attributes, type and example ### Example: ``` -$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; +$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhotoExternal={_='inputMediaPhotoExternal', url=string, caption=string, } +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 f88ff5f0..5614925e 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 ee07669d..e69293fa 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md @@ -23,13 +23,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string", "stickers": [InputDocument]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, stickers={InputDocument}, } +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 fcbbab79..51d344d2 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md index 70531f22..3fec6cd0 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md @@ -21,13 +21,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example ### Example: ``` -$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; +$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +{"_": "inputMessagesFilterPhoneCalls", "missed": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool, } +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 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyAll.md b/old_docs/API_docs_v62/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyChats.md b/old_docs/API_docs_v62/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerChannel.md b/old_docs/API_docs_v62/constructors/inputPeerChannel.md index f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v62/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerUser.md b/old_docs/API_docs_v62/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v62/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 f9099021..681ce8c1 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneCall.md @@ -22,13 +22,13 @@ description: inputPhoneCall attributes, type and example ### Example: ``` -$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; +$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneCall","id":"long","access_hash":"long"} +{"_": "inputPhoneCall", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md index ba97f5df..fdb814ce 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example ### Example: ``` -$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; +$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyPhoneCall"} +{"_": "inputPrivacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall', } +inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetID.md b/old_docs/API_docs_v62/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 e7a64e8c..5f19e725 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md @@ -21,13 +21,13 @@ description: inputStickeredMediaDocument attributes, type and example ### Example: ``` -$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; +$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaDocument","id":"InputDocument"} +{"_": "inputStickeredMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument, } +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 d909033a..575918d7 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md @@ -21,13 +21,13 @@ description: inputStickeredMediaPhoto attributes, type and example ### Example: ``` -$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; +$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +{"_": "inputStickeredMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v62/constructors/inputUser.md +++ b/old_docs/API_docs_v62/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v62/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputUserSelf.md b/old_docs/API_docs_v62/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v62/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v62/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButton.md b/old_docs/API_docs_v62/constructors/keyboardButton.md index d6057da4..343652ea 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButton.md +++ b/old_docs/API_docs_v62/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 a8569aed..0c5c99ab 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonGame.md @@ -21,13 +21,13 @@ description: keyboardButtonGame attributes, type and example ### Example: ``` -$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; +$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonGame","text":"string"} +{"_": "keyboardButtonGame", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonGame={_='keyboardButtonGame', text=string, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 76688727..97722a90 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md @@ -23,13 +23,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 72c25c0e..0a6190f5 100644 --- a/old_docs/API_docs_v62/constructors/maskCoords.md +++ b/old_docs/API_docs_v62/constructors/maskCoords.md @@ -24,13 +24,13 @@ description: maskCoords attributes, type and example ### Example: ``` -$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +{"_": "maskCoords", "n": int, "x": double, "y": double, "zoom": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v62/constructors/message.md +++ b/old_docs/API_docs_v62/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v62/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionGameScore.md b/old_docs/API_docs_v62/constructors/messageActionGameScore.md index 0f498dab..acb0208f 100644 --- a/old_docs/API_docs_v62/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v62/constructors/messageActionGameScore.md @@ -22,13 +22,13 @@ description: messageActionGameScore attributes, type and example ### Example: ``` -$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; +$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGameScore","game_id":"long","score":"int"} +{"_": "messageActionGameScore", "game_id": long, "score": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGameScore={_='messageActionGameScore', game_id=long, score=int, } +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 d576d087..78a1e098 100644 --- a/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md index 6eed4cd3..399cd91b 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md @@ -23,13 +23,13 @@ description: messageActionPhoneCall attributes, type and example ### Example: ``` -$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "messageActionPhoneCall", "call_id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int, } +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 c8595522..3887229f 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v62/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEmpty.md b/old_docs/API_docs_v62/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v62/constructors/messageEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v62/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v62/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v62/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v62/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v62/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v62/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v62/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaGame.md b/old_docs/API_docs_v62/constructors/messageMediaGame.md index 349b9023..59f29080 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGame.md @@ -21,13 +21,13 @@ description: messageMediaGame attributes, type and example ### Example: ``` -$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; +$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGame","game":"Game"} +{"_": "messageMediaGame", "game": Game} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGame={_='messageMediaGame', game=Game, } +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 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaVenue.md b/old_docs/API_docs_v62/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v62/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v62/constructors/messageRange.md +++ b/old_docs/API_docs_v62/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v62/constructors/messageService.md +++ b/old_docs/API_docs_v62/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7cc54d64..561d9c4e 100644 --- a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 d60a5957..50e5cc0c 100644 --- a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md @@ -25,13 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, cache_time=int, } +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 8b1a8efc..b99605e6 100644 --- a/old_docs/API_docs_v62/constructors/messages_botResults.md +++ b/old_docs/API_docs_v62/constructors/messages_botResults.md @@ -26,13 +26,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v62/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v62/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v62/constructors/messages_chats.md +++ b/old_docs/API_docs_v62/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 ddd00630..f0af5f47 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md @@ -22,13 +22,13 @@ description: messages_chatsSlice attributes, type and example ### Example: ``` -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; +$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +{"_": "messages.chatsSlice", "count": int, "chats": [Chat]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 beae5c36..1f23efe5 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v62/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 6fdb3222..5897923e 100644 --- a/old_docs/API_docs_v62/constructors/messages_highScores.md +++ b/old_docs/API_docs_v62/constructors/messages_highScores.md @@ -22,13 +22,13 @@ description: messages_highScores attributes, type and example ### Example: ``` -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; +$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +{"_": "messages.highScores", "scores": [HighScore], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v62/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v62/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v62/constructors/messages_messages.md +++ b/old_docs/API_docs_v62/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +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 d4c2f39a..c7cf1ea0 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickers.md +++ b/old_docs/API_docs_v62/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v62/constructors/nearestDc.md +++ b/old_docs/API_docs_v62/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v62/constructors/notifyAll.md +++ b/old_docs/API_docs_v62/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyChats.md b/old_docs/API_docs_v62/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v62/constructors/notifyChats.md +++ b/old_docs/API_docs_v62/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyPeer.md b/old_docs/API_docs_v62/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v62/constructors/notifyPeer.md +++ b/old_docs/API_docs_v62/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v62/constructors/notifyUsers.md +++ b/old_docs/API_docs_v62/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md index 7e7e3582..381641d8 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md @@ -21,13 +21,13 @@ description: pageBlockAnchor attributes, type and example ### Example: ``` -$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; +$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAnchor","name":"string"} +{"_": "pageBlockAnchor", "name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockAnchor={_='pageBlockAnchor', name=string, } +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 b30337e1..83a9830d 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md @@ -22,13 +22,13 @@ description: pageBlockAuthorDate attributes, type and example ### Example: ``` -$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; +$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +{"_": "pageBlockAuthorDate", "author": RichText, "published_date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int, } +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 03b93ab7..c7da7f93 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md @@ -22,13 +22,13 @@ description: pageBlockBlockquote attributes, type and example ### Example: ``` -$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockBlockquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText, } +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 7ae744f5..dc608ca7 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCollage.md @@ -22,13 +22,13 @@ description: pageBlockCollage attributes, type and example ### Example: ``` -$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockCollage", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText, } +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 5c91d850..ed4b125c 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCover.md @@ -21,13 +21,13 @@ description: pageBlockCover attributes, type and example ### Example: ``` -$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; +$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCover","cover":"PageBlock"} +{"_": "pageBlockCover", "cover": PageBlock} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockCover={_='pageBlockCover', cover=PageBlock, } +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 03b6b756..05080a18 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v62/constructors/pageBlockDivider.md @@ -16,13 +16,13 @@ description: pageBlockDivider attributes, type and example ### Example: ``` -$pageBlockDivider = ['_' => 'pageBlockDivider', ]; +$pageBlockDivider = ['_' => 'pageBlockDivider']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockDivider"} +{"_": "pageBlockDivider"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockDivider={_='pageBlockDivider', } +pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md index acc257b8..469ea6da 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md @@ -28,13 +28,13 @@ description: pageBlockEmbed attributes, type and example ### Example: ``` -$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; +$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +{"_": "pageBlockEmbed", "full_width": Bool, "allow_scrolling": Bool, "url": "string", "html": "string", "poster_photo_id": long, "w": int, "h": int, "caption": RichText} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } +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 7bd9a9cf..353ecc16 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md @@ -27,13 +27,13 @@ description: pageBlockEmbedPost attributes, type and example ### Example: ``` -$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; +$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockEmbedPost", "url": "string", "webpage_id": long, "author_photo_id": long, "author": "string", "date": int, "blocks": [PageBlock], "caption": RichText} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -pageBlockEmbedPost={_='pageBlockEmbedPost', url=string, webpage_id=long, author_photo_id=long, author=string, date=int, blocks={PageBlock}, caption=RichText, } +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 b35e731e..f9ca45a0 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v62/constructors/pageBlockFooter.md @@ -21,13 +21,13 @@ description: pageBlockFooter attributes, type and example ### Example: ``` -$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; +$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockFooter","text":"RichText"} +{"_": "pageBlockFooter", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockFooter={_='pageBlockFooter', text=RichText, } +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 69fb595d..d689cce7 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockHeader.md @@ -21,13 +21,13 @@ description: pageBlockHeader attributes, type and example ### Example: ``` -$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; +$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockHeader","text":"RichText"} +{"_": "pageBlockHeader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockHeader={_='pageBlockHeader', text=RichText, } +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 e3608efe..3f6b4a84 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockList.md +++ b/old_docs/API_docs_v62/constructors/pageBlockList.md @@ -22,13 +22,13 @@ description: pageBlockList attributes, type and example ### Example: ``` -$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; +$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +{"_": "pageBlockList", "ordered": Bool, "items": [RichText]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}, } +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 c3cae789..be2bb42e 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v62/constructors/pageBlockParagraph.md @@ -21,13 +21,13 @@ description: pageBlockParagraph attributes, type and example ### Example: ``` -$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; +$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockParagraph","text":"RichText"} +{"_": "pageBlockParagraph", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockParagraph={_='pageBlockParagraph', text=RichText, } +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 cd89acb3..ab11b247 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPhoto.md @@ -22,13 +22,13 @@ description: pageBlockPhoto attributes, type and example ### Example: ``` -$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; +$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +{"_": "pageBlockPhoto", "photo_id": long, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText, } +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 7fb3de67..b8e8d4e4 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md @@ -22,13 +22,13 @@ description: pageBlockPreformatted attributes, type and example ### Example: ``` -$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; +$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +{"_": "pageBlockPreformatted", "text": RichText, "language": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language=string, } +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 12c9fc4c..431942c1 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPullquote.md @@ -22,13 +22,13 @@ description: pageBlockPullquote attributes, type and example ### Example: ``` -$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockPullquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText, } +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 de0d384c..d9e6526f 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md @@ -22,13 +22,13 @@ description: pageBlockSlideshow attributes, type and example ### Example: ``` -$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockSlideshow", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText, } +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 7efc0a7c..b77c29ca 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubheader.md @@ -21,13 +21,13 @@ description: pageBlockSubheader attributes, type and example ### Example: ``` -$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; +$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubheader","text":"RichText"} +{"_": "pageBlockSubheader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubheader={_='pageBlockSubheader', text=RichText, } +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 6551b737..0c288b01 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md @@ -21,13 +21,13 @@ description: pageBlockSubtitle attributes, type and example ### Example: ``` -$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; +$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubtitle","text":"RichText"} +{"_": "pageBlockSubtitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubtitle={_='pageBlockSubtitle', text=RichText, } +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 75f47508..bd9d9d32 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockTitle.md @@ -21,13 +21,13 @@ description: pageBlockTitle attributes, type and example ### Example: ``` -$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; +$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockTitle","text":"RichText"} +{"_": "pageBlockTitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockTitle={_='pageBlockTitle', text=RichText, } +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 5b7d881f..ec2c4508 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md @@ -16,13 +16,13 @@ description: pageBlockUnsupported attributes, type and example ### Example: ``` -$pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; +$pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockUnsupported"} +{"_": "pageBlockUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockUnsupported={_='pageBlockUnsupported', } +pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockVideo.md b/old_docs/API_docs_v62/constructors/pageBlockVideo.md index 59a824c1..ac0197a5 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v62/constructors/pageBlockVideo.md @@ -24,13 +24,13 @@ description: pageBlockVideo attributes, type and example ### Example: ``` -$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; +$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +{"_": "pageBlockVideo", "autoplay": Bool, "loop": Bool, "video_id": long, "caption": RichText} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText, } +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 3cbba529..9017313c 100644 --- a/old_docs/API_docs_v62/constructors/pageFull.md +++ b/old_docs/API_docs_v62/constructors/pageFull.md @@ -23,13 +23,13 @@ description: pageFull attributes, type and example ### Example: ``` -$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pageFull", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 638dc934..4a6a177d 100644 --- a/old_docs/API_docs_v62/constructors/pagePart.md +++ b/old_docs/API_docs_v62/constructors/pagePart.md @@ -23,13 +23,13 @@ description: pagePart attributes, type and example ### Example: ``` -$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pagePart", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v62/constructors/peerChannel.md +++ b/old_docs/API_docs_v62/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v62/constructors/peerChat.md +++ b/old_docs/API_docs_v62/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifySettings.md b/old_docs/API_docs_v62/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerSettings.md b/old_docs/API_docs_v62/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v62/constructors/peerSettings.md +++ b/old_docs/API_docs_v62/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v62/constructors/peerUser.md +++ b/old_docs/API_docs_v62/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 6414af6f..0d4778d6 100644 --- a/old_docs/API_docs_v62/constructors/phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phoneCall.md @@ -31,13 +31,13 @@ description: phoneCall attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 a8041928..3b355a4b 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example ### Example: ``` -$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; +$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonBusy"} +{"_": "phoneCallDiscardReasonBusy"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy', } +phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md index c0567700..1c631e88 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example ### Example: ``` -$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; +$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonDisconnect"} +{"_": "phoneCallDiscardReasonDisconnect"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect', } +phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md index 7c108ec3..42bf1157 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example ### Example: ``` -$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; +$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonHangup"} +{"_": "phoneCallDiscardReasonHangup"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup', } +phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md index f6aa306c..3b4045b5 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example ### Example: ``` -$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; +$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonMissed"} +{"_": "phoneCallDiscardReasonMissed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed', } +phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md index a9c1bdc8..aea92bf8 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md @@ -23,13 +23,13 @@ description: phoneCallDiscarded attributes, type and example ### Example: ``` -$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscarded","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "phoneCallDiscarded", "id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -phoneCallDiscarded={_='phoneCallDiscarded', id=long, reason=PhoneCallDiscardReason, duration=int, } +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 ad8dec73..dfc9c860 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v62/constructors/phoneCallEmpty.md @@ -21,13 +21,13 @@ description: phoneCallEmpty attributes, type and example ### Example: ``` -$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; +$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallEmpty","id":"long"} +{"_": "phoneCallEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -phoneCallEmpty={_='phoneCallEmpty', id=long, } +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 b4f6dffb..ec8bfca7 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v62/constructors/phoneCallProtocol.md @@ -24,13 +24,13 @@ description: phoneCallProtocol attributes, type and example ### Example: ``` -$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; +$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +{"_": "phoneCallProtocol", "udp_p2p": Bool, "udp_reflector": Bool, "min_layer": int, "max_layer": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, } +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 41bb5f82..e1575a9a 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v62/constructors/phoneCallRequested.md @@ -27,13 +27,13 @@ description: phoneCallRequested attributes, type and example ### Example: ``` -$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallRequested", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, protocol=PhoneCallProtocol, } +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 702a868f..5cb5dd71 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v62/constructors/phoneCallWaiting.md @@ -27,13 +27,13 @@ description: phoneCallWaiting attributes, type and example ### Example: ``` -$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; +$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +{"_": "phoneCallWaiting", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "protocol": PhoneCallProtocol, "receive_date": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int, } +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 9c2c6a58..87ec67aa 100644 --- a/old_docs/API_docs_v62/constructors/phoneConnection.md +++ b/old_docs/API_docs_v62/constructors/phoneConnection.md @@ -25,13 +25,13 @@ description: phoneConnection attributes, type and example ### Example: ``` -$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; +$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +{"_": "phoneConnection", "id": long, "ip": "string", "ipv6": "string", "port": int, "peer_tag": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneConnection={_='phoneConnection', id=long, ip=string, ipv6=string, port=int, peer_tag=bytes, } +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 af0106eb..06bf1592 100644 --- a/old_docs/API_docs_v62/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phone_phoneCall.md @@ -22,13 +22,13 @@ description: phone_phoneCall attributes, type and example ### Example: ``` -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; +$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +{"_": "phone.phoneCall", "phone_call": PhoneCall, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}, } +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 eeb39d1f..4c3434e0 100644 --- a/old_docs/API_docs_v62/constructors/photo.md +++ b/old_docs/API_docs_v62/constructors/photo.md @@ -25,13 +25,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "has_stickers": Bool, "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v62/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v62/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v62/constructors/photoEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v62/constructors/photoSize.md +++ b/old_docs/API_docs_v62/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v62/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v62/constructors/photos_photo.md +++ b/old_docs/API_docs_v62/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v62/constructors/photos_photos.md +++ b/old_docs/API_docs_v62/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v62/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v62/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md index 894dccb5..bcb57658 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: privacyKeyPhoneCall attributes, type and example ### Example: ``` -$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; +$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyPhoneCall"} +{"_": "privacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyPhoneCall={_='privacyKeyPhoneCall', } +privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v62/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md index 3fa832ac..8549a255 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md @@ -16,13 +16,13 @@ description: sendMessageGamePlayAction attributes, type and example ### Example: ``` -$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; +$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGamePlayAction"} +{"_": "sendMessageGamePlayAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGamePlayAction={_='sendMessageGamePlayAction', } +sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v62/constructors/stickerPack.md +++ b/old_docs/API_docs_v62/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 20964d59..41fd5b23 100644 --- a/old_docs/API_docs_v62/constructors/stickerSet.md +++ b/old_docs/API_docs_v62/constructors/stickerSet.md @@ -30,13 +30,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', 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 3421f170..1c6eed5a 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +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 c71c0503..41502aa6 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md @@ -22,13 +22,13 @@ description: stickerSetMultiCovered attributes, type and example ### Example: ``` -$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; +$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +{"_": "stickerSetMultiCovered", "set": StickerSet, "covers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v62/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v62/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v62/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePng.md +++ b/old_docs/API_docs_v62/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v62/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 e701f64a..f7ea1391 100644 --- a/old_docs/API_docs_v62/constructors/textBold.md +++ b/old_docs/API_docs_v62/constructors/textBold.md @@ -21,13 +21,13 @@ description: textBold attributes, type and example ### Example: ``` -$textBold = ['_' => 'textBold', 'text' => RichText, ]; +$textBold = ['_' => 'textBold', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textBold","text":"RichText"} +{"_": "textBold", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textBold={_='textBold', text=RichText, } +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 4cb1d8b4..f3641ab0 100644 --- a/old_docs/API_docs_v62/constructors/textConcat.md +++ b/old_docs/API_docs_v62/constructors/textConcat.md @@ -21,13 +21,13 @@ description: textConcat attributes, type and example ### Example: ``` -$textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; +$textConcat = ['_' => 'textConcat', 'texts' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textConcat","texts":["RichText"]} +{"_": "textConcat", "texts": [RichText]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textConcat={_='textConcat', texts={RichText}, } +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 269829ac..c5eacd00 100644 --- a/old_docs/API_docs_v62/constructors/textEmail.md +++ b/old_docs/API_docs_v62/constructors/textEmail.md @@ -22,13 +22,13 @@ description: textEmail attributes, type and example ### Example: ``` -$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; +$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmail","text":"RichText","email":"string"} +{"_": "textEmail", "text": RichText, "email": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textEmail={_='textEmail', text=RichText, email=string, } +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 9e0b229a..176c1327 100644 --- a/old_docs/API_docs_v62/constructors/textEmpty.md +++ b/old_docs/API_docs_v62/constructors/textEmpty.md @@ -16,13 +16,13 @@ description: textEmpty attributes, type and example ### Example: ``` -$textEmpty = ['_' => 'textEmpty', ]; +$textEmpty = ['_' => 'textEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmpty"} +{"_": "textEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -textEmpty={_='textEmpty', } +textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/textFixed.md b/old_docs/API_docs_v62/constructors/textFixed.md index 892359ad..1dc33a4e 100644 --- a/old_docs/API_docs_v62/constructors/textFixed.md +++ b/old_docs/API_docs_v62/constructors/textFixed.md @@ -21,13 +21,13 @@ description: textFixed attributes, type and example ### Example: ``` -$textFixed = ['_' => 'textFixed', 'text' => RichText, ]; +$textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textFixed","text":"RichText"} +{"_": "textFixed", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textFixed={_='textFixed', text=RichText, } +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 d8911436..86e6d933 100644 --- a/old_docs/API_docs_v62/constructors/textItalic.md +++ b/old_docs/API_docs_v62/constructors/textItalic.md @@ -21,13 +21,13 @@ description: textItalic attributes, type and example ### Example: ``` -$textItalic = ['_' => 'textItalic', 'text' => RichText, ]; +$textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textItalic","text":"RichText"} +{"_": "textItalic", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textItalic={_='textItalic', text=RichText, } +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 9a4a04f2..d5084056 100644 --- a/old_docs/API_docs_v62/constructors/textPlain.md +++ b/old_docs/API_docs_v62/constructors/textPlain.md @@ -21,13 +21,13 @@ description: textPlain attributes, type and example ### Example: ``` -$textPlain = ['_' => 'textPlain', 'text' => string, ]; +$textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textPlain","text":"string"} +{"_": "textPlain", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textPlain={_='textPlain', text=string, } +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 5fcf7345..897de12c 100644 --- a/old_docs/API_docs_v62/constructors/textStrike.md +++ b/old_docs/API_docs_v62/constructors/textStrike.md @@ -21,13 +21,13 @@ description: textStrike attributes, type and example ### Example: ``` -$textStrike = ['_' => 'textStrike', 'text' => RichText, ]; +$textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textStrike","text":"RichText"} +{"_": "textStrike", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textStrike={_='textStrike', text=RichText, } +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 6c9e19d1..74a18001 100644 --- a/old_docs/API_docs_v62/constructors/textUnderline.md +++ b/old_docs/API_docs_v62/constructors/textUnderline.md @@ -21,13 +21,13 @@ description: textUnderline attributes, type and example ### Example: ``` -$textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; +$textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUnderline","text":"RichText"} +{"_": "textUnderline", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textUnderline={_='textUnderline', text=RichText, } +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 f8df8e96..7c8027b4 100644 --- a/old_docs/API_docs_v62/constructors/textUrl.md +++ b/old_docs/API_docs_v62/constructors/textUrl.md @@ -23,13 +23,13 @@ description: textUrl attributes, type and example ### Example: ``` -$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; +$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +{"_": "textUrl", "text": RichText, "url": "string", "webpage_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -textUrl={_='textUrl', text=RichText, url=string, webpage_id=long, } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v62/constructors/topPeer.md +++ b/old_docs/API_docs_v62/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v62/constructors/true.md +++ b/old_docs/API_docs_v62/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md index 8275bafc..c5fa96e7 100644 --- a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md @@ -27,13 +27,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data=bytes, game_short_name=string, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v62/constructors/updateChannel.md +++ b/old_docs/API_docs_v62/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v62/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 e587d33e..11e97344 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelWebPage.md @@ -24,13 +24,13 @@ description: updateChannelWebPage attributes, type and example ### Example: ``` -$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateChannelWebPage", "channel_id": int, "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v62/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v62/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v62/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 ed455bd6..3bf8ae50 100644 --- a/old_docs/API_docs_v62/constructors/updateConfig.md +++ b/old_docs/API_docs_v62/constructors/updateConfig.md @@ -16,13 +16,13 @@ description: updateConfig attributes, type and example ### Example: ``` -$updateConfig = ['_' => 'updateConfig', ]; +$updateConfig = ['_' => 'updateConfig']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateConfig"} +{"_": "updateConfig"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateConfig={_='updateConfig', } +updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateContactLink.md b/old_docs/API_docs_v62/constructors/updateContactLink.md index 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v62/constructors/updateContactLink.md +++ b/old_docs/API_docs_v62/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v62/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v62/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v62/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v62/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 38eb9c2d..e1362c0a 100644 --- a/old_docs/API_docs_v62/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v62/constructors/updateDialogPinned.md @@ -22,13 +22,13 @@ description: updateDialogPinned attributes, type and example ### Example: ``` -$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; +$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +{"_": "updateDialogPinned", "pinned": Bool, "peer": Peer} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v62/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v62/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v62/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryption.md +++ b/old_docs/API_docs_v62/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 a0fbf330..6b71357e 100644 --- a/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md @@ -26,13 +26,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data=bytes, game_short_name=string, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v62/constructors/updateMessageID.md +++ b/old_docs/API_docs_v62/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v62/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v62/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 f124d856..a11caa8f 100644 --- a/old_docs/API_docs_v62/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v62/constructors/updatePhoneCall.md @@ -21,13 +21,13 @@ description: updatePhoneCall attributes, type and example ### Example: ``` -$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; +$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePhoneCall","phone_call":"PhoneCall"} +{"_": "updatePhoneCall", "phone_call": PhoneCall} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall, } +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 cca37904..ef7a6ca5 100644 --- a/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md @@ -21,13 +21,13 @@ description: updatePinnedDialogs attributes, type and example ### Example: ``` -$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; +$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePinnedDialogs","order":["Peer"]} +{"_": "updatePinnedDialogs", "order": [Peer]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v62/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v62/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 bc4c62dd..a8e3d53d 100644 --- a/old_docs/API_docs_v62/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v62/constructors/updatePtsChanged.md @@ -16,13 +16,13 @@ description: updatePtsChanged attributes, type and example ### Example: ``` -$updatePtsChanged = ['_' => 'updatePtsChanged', ]; +$updatePtsChanged = ['_' => 'updatePtsChanged']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePtsChanged"} +{"_": "updatePtsChanged"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatePtsChanged={_='updatePtsChanged', } +updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md index b5aea850..b566d250 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/old_docs/API_docs_v62/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v62/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateSavedGifs.md b/old_docs/API_docs_v62/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v62/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v62/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateServiceNotification.md b/old_docs/API_docs_v62/constructors/updateServiceNotification.md index b8b75dcf..5a7daa72 100644 --- a/old_docs/API_docs_v62/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v62/constructors/updateServiceNotification.md @@ -26,13 +26,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateServiceNotification", "popup": Bool, "inbox_date": int, "type": "string", "message": "string", "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v62/constructors/updateShort.md +++ b/old_docs/API_docs_v62/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v62/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v62/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v62/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md index 809b82d6..1f1f0943 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md @@ -22,13 +22,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +{"_": "updateStickerSetsOrder", "masks": Bool, "order": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v62/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v62/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v62/constructors/updateUserName.md +++ b/old_docs/API_docs_v62/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v62/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v62/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v62/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v62/constructors/updateWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v62/constructors/updates.md +++ b/old_docs/API_docs_v62/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v62/constructors/updatesCombined.md +++ b/old_docs/API_docs_v62/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v62/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v62/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v62/constructors/updates_difference.md +++ b/old_docs/API_docs_v62/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 8530a319..eff86075 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md @@ -21,13 +21,13 @@ description: updates_differenceTooLong attributes, type and example ### Example: ``` -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; +$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceTooLong","pts":"int"} +{"_": "updates.differenceTooLong", "pts": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updates_differenceTooLong={_='updates.differenceTooLong', pts=int, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v62/constructors/updates_state.md +++ b/old_docs/API_docs_v62/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v62/constructors/upload_file.md +++ b/old_docs/API_docs_v62/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v62/constructors/user.md +++ b/old_docs/API_docs_v62/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v62/constructors/userEmpty.md +++ b/old_docs/API_docs_v62/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 f5623d45..114fa5b0 100644 --- a/old_docs/API_docs_v62/constructors/userFull.md +++ b/old_docs/API_docs_v62/constructors/userFull.md @@ -29,13 +29,13 @@ description: userFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusEmpty.md b/old_docs/API_docs_v62/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v62/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v62/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusOffline.md b/old_docs/API_docs_v62/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v62/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v62/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v62/constructors/wallPaper.md b/old_docs/API_docs_v62/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v62/constructors/wallPaper.md +++ b/old_docs/API_docs_v62/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v62/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v62/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 f73f1d50..6ec1965a 100644 --- a/old_docs/API_docs_v62/constructors/webPage.md +++ b/old_docs/API_docs_v62/constructors/webPage.md @@ -37,13 +37,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v62/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v62/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 1d9f9b84..d4424ad6 100644 --- a/old_docs/API_docs_v62/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v62/constructors/webPageNotModified.md @@ -16,13 +16,13 @@ description: webPageNotModified attributes, type and example ### Example: ``` -$webPageNotModified = ['_' => 'webPageNotModified', ]; +$webPageNotModified = ['_' => 'webPageNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageNotModified"} +{"_": "webPageNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -webPageNotModified={_='webPageNotModified', } +webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/webPagePending.md b/old_docs/API_docs_v62/constructors/webPagePending.md index 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v62/constructors/webPagePending.md +++ b/old_docs/API_docs_v62/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 6ce6e811..aa7c10a6 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_checkPassword.md b/old_docs/API_docs_v62/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v62/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +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 22e17d37..03b7d4f6 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.dropTempAuthKeys -* params - {"except_auth_keys":["long"]} +* params - {"except_auth_keys": [long], } ``` diff --git a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v62/methods/auth_importAuthorization.md b/old_docs/API_docs_v62/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v62/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_logOut.md b/old_docs/API_docs_v62/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v62/methods/auth_logOut.md +++ b/old_docs/API_docs_v62/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/auth_sendCode.md b/old_docs/API_docs_v62/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v62/methods/auth_sendCode.md +++ b/old_docs/API_docs_v62/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_signIn.md b/old_docs/API_docs_v62/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v62/methods/auth_signIn.md +++ b/old_docs/API_docs_v62/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_signUp.md b/old_docs/API_docs_v62/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v62/methods/auth_signUp.md +++ b/old_docs/API_docs_v62/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 85093ef6..2bc64b38 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminedPublicChannels -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v62/methods/channels_getFullChannel.md b/old_docs/API_docs_v62/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v62/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v62/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 f7f98570..622bc83b 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_auth_key -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index e88c66bd..053d2f15 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"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 e9e6279e..cad05c2e 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); +$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.setBotUpdatesStatus -* params - {"pending_updates_count":"int","message":"string"} +* params - {"pending_updates_count": int, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = help.setBotUpdatesStatus({pending_updates_count=int, message=string, }) +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 805f48d2..81159138 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 9e8a99a1..a402f478 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - {"attached":"Bool"} +* params - {"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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 7e7b074a..f6eb9730 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"revoke":"Bool","id":["int"]} +* params - {"revoke": Bool, "id": [int], } ``` diff --git a/old_docs/API_docs_v62/methods/messages_discardEncryption.md b/old_docs/API_docs_v62/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v62/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f72fb809..b7ca8567 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 2f34348d..a7fcce1f 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllChats -* params - {"except_ids":["int"]} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 a4abf13e..b1d812ad 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"masks":"Bool","offset_id":"long","limit":"int"} +* params - {"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 0a2b8ff2..198085d0 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAttachedStickers -* params - {"media":"InputStickeredMedia"} +* params - {"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 e61ca36e..b7927c14 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"game": Bool, "peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -69,6 +69,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"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 122fbb8d..d8952d0a 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getCommonChats -* params - {"user_id":"InputUser","max_id":"int","limit":"int"} +* params - {"user_id": InputUser, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDhConfig.md b/old_docs/API_docs_v62/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v62/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index e86176a7..907398b2 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +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 3bab2043..a5f3b355 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_getFullChat.md b/old_docs/API_docs_v62/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v62/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v62/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index 07a25b7c..6440ad75 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getGameHighScores -* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} +* params - {"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 b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 218bbc33..725bdd9b 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineGameHighScores -* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} +* params - {"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 8d740e32..2bf3e6d4 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMaskStickers -* params - {"hash":"int"} +* params - {"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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 f3de7a28..f5094cf3 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPinnedDialogs -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index 1e07747d..8d56eb72 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"attached":"Bool","hash":"int"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 fd5ecd88..44ae4536 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); +$WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPage -* params - {"url":"string","hash":"int"} +* params - {"url": "string", "hash": int, } ``` @@ -65,6 +65,6 @@ hash - Json encoded int Or, if you're into Lua: ``` -WebPage = messages.getWebPage({url=string, hash=int, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 6d1e701b..5d07e85c 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 5fc7a340..c0479c69 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - {"id":["long"]} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_receivedQueue.md b/old_docs/API_docs_v62/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v62/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index 151678b0..d1affd43 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderPinnedDialogs -* params - {"force":"Bool","order":["InputPeer"]} +* params - {"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 7ff0d995..484aea5b 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"masks":"Bool","order":["long"]} +* params - {"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 d726392b..5a507859 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportEncryptedSpam -* params - {"peer":"InputEncryptedChat"} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v62/methods/messages_requestEncryption.md b/old_docs/API_docs_v62/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v62/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 96f55049..7f4f1c58 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 6356d86b..223137c2 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", "cache_time": int, } ``` @@ -71,7 +71,7 @@ cache_time - Json encoded int Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, cache_time=int, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 64a2feea..e67c85f8 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setGameScore -* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 df93e25a..16173a31 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineGameScore -* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 d86a96ae..2b9d2716 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleDialogPin -* params - {"pinned":"Bool","peer":"InputPeer"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"stickerset": InputStickerSet, } ``` diff --git a/old_docs/API_docs_v62/methods/phone_acceptCall.md b/old_docs/API_docs_v62/methods/phone_acceptCall.md index 398b79ad..407aa8bd 100644 --- a/old_docs/API_docs_v62/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v62/methods/phone_acceptCall.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.acceptCall -* params - {"peer":"InputPhoneCall","g_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_b": "bytes", "key_fingerprint": long, "protocol": PhoneCallProtocol, } ``` @@ -69,6 +69,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b=bytes, key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v62/methods/phone_discardCall.md b/old_docs/API_docs_v62/methods/phone_discardCall.md index a7c8dba9..eef1fdd2 100644 --- a/old_docs/API_docs_v62/methods/phone_discardCall.md +++ b/old_docs/API_docs_v62/methods/phone_discardCall.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.discardCall -* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} +* params - {"peer": InputPhoneCall, "duration": int, "reason": PhoneCallDiscardReason, "connection_id": long, } ``` diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index e4ba0536..c2e1cd51 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.receivedCall -* params - {"peer":"InputPhoneCall"} +* params - {"peer": InputPhoneCall, } ``` diff --git a/old_docs/API_docs_v62/methods/phone_requestCall.md b/old_docs/API_docs_v62/methods/phone_requestCall.md index 22fec907..f8929335 100644 --- a/old_docs/API_docs_v62/methods/phone_requestCall.md +++ b/old_docs/API_docs_v62/methods/phone_requestCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.requestCall -* params - {"user_id":"InputUser","g_a":"bytes","protocol":"PhoneCallProtocol"} +* params - {"user_id": InputUser, "g_a": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 63f2ae84..6b472abd 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto"} +* params - {"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 408a631f..a85311f1 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile"} +* params - {"file": InputFile, } ``` diff --git a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md index 81a25d86..5ea1d5b8 100644 --- a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"force": Bool, "channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v62/methods/updates_getDifference.md b/old_docs/API_docs_v62/methods/updates_getDifference.md index 7d23893b..c88bf3d9 100644 --- a/old_docs/API_docs_v62/methods/updates_getDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} +* params - {"pts": int, "pts_total_limit": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v62/methods/updates_getState.md b/old_docs/API_docs_v62/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v62/methods/updates_getState.md +++ b/old_docs/API_docs_v62/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v62/methods/upload_getFile.md b/old_docs/API_docs_v62/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v62/methods/upload_getFile.md +++ b/old_docs/API_docs_v62/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/upload_saveFilePart.md b/old_docs/API_docs_v62/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v62/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/users_getFullUser.md b/old_docs/API_docs_v62/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v62/methods/users_getFullUser.md +++ b/old_docs/API_docs_v62/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v65/constructors/accountDaysTTL.md b/old_docs/API_docs_v65/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v65/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v65/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v65/constructors/account_authorizations.md +++ b/old_docs/API_docs_v65/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v65/constructors/account_noPassword.md +++ b/old_docs/API_docs_v65/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v65/constructors/account_password.md +++ b/old_docs/API_docs_v65/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/account_passwordSettings.md b/old_docs/API_docs_v65/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v65/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v65/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 51739691..8e164842 100644 --- a/old_docs/API_docs_v65/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v65/constructors/account_tmpPassword.md @@ -22,13 +22,13 @@ description: account_tmpPassword attributes, type and example ### Example: ``` -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; +$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +{"_": "account.tmpPassword", "tmp_password": "bytes", "valid_until": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_tmpPassword={_='account.tmpPassword', tmp_password=bytes, valid_until=int, } +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 b59d5d96..dacdc97c 100644 --- a/old_docs/API_docs_v65/constructors/auth_authorization.md +++ b/old_docs/API_docs_v65/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v65/constructors/authorization.md +++ b/old_docs/API_docs_v65/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` 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 1273c1b5..84b199cf 100644 --- a/old_docs/API_docs_v65/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v65/constructors/bad_msg_notification.md @@ -23,13 +23,13 @@ description: bad_msg_notification attributes, type and example ### Example: ``` -$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ]; +$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +{"_": "bad_msg_notification", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int, } +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 8eca3a7d..dcf8d611 100644 --- a/old_docs/API_docs_v65/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v65/constructors/bad_server_salt.md @@ -24,13 +24,13 @@ description: bad_server_salt attributes, type and example ### Example: ``` -$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ]; +$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long, } +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 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v65/constructors/botCommand.md +++ b/old_docs/API_docs_v65/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v65/constructors/botInfo.md +++ b/old_docs/API_docs_v65/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageText.md b/old_docs/API_docs_v65/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineResult.md b/old_docs/API_docs_v65/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v65/constructors/botInlineResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v65/constructors/channel.md +++ b/old_docs/API_docs_v65/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v65/constructors/channelForbidden.md +++ b/old_docs/API_docs_v65/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v65/constructors/channelFull.md +++ b/old_docs/API_docs_v65/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipant.md b/old_docs/API_docs_v65/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleEditor.md b/old_docs/API_docs_v65/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleModerator.md b/old_docs/API_docs_v65/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v65/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v65/constructors/chat.md +++ b/old_docs/API_docs_v65/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v65/constructors/chatEmpty.md b/old_docs/API_docs_v65/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v65/constructors/chatEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v65/constructors/chatForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v65/constructors/chatFull.md +++ b/old_docs/API_docs_v65/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInvite.md b/old_docs/API_docs_v65/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/old_docs/API_docs_v65/constructors/chatInvite.md +++ b/old_docs/API_docs_v65/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInviteAlready.md b/old_docs/API_docs_v65/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v65/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInviteExported.md b/old_docs/API_docs_v65/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v65/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipant.md +++ b/old_docs/API_docs_v65/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipants.md +++ b/old_docs/API_docs_v65/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v65/constructors/chatPhoto.md +++ b/old_docs/API_docs_v65/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +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 1505e457..21cc76dc 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,13 +24,13 @@ description: client_DH_inner_data attributes, type and example ### Example: ``` -$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => string, ]; +$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b=string, } +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 efe9467d..c377d038 100644 --- a/old_docs/API_docs_v65/constructors/config.md +++ b/old_docs/API_docs_v65/constructors/config.md @@ -50,13 +50,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -64,7 +64,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v65/constructors/contact.md +++ b/old_docs/API_docs_v65/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v65/constructors/contactBlocked.md +++ b/old_docs/API_docs_v65/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v65/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkNone.md b/old_docs/API_docs_v65/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactStatus.md b/old_docs/API_docs_v65/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v65/constructors/contactStatus.md +++ b/old_docs/API_docs_v65/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v65/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v65/constructors/contacts_found.md +++ b/old_docs/API_docs_v65/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v65/constructors/contacts_link.md +++ b/old_docs/API_docs_v65/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 5ad2bebc..5236b22d 100644 --- a/old_docs/API_docs_v65/constructors/dataJSON.md +++ b/old_docs/API_docs_v65/constructors/dataJSON.md @@ -21,13 +21,13 @@ description: dataJSON attributes, type and example ### Example: ``` -$dataJSON = ['_' => 'dataJSON', 'data' => string, ]; +$dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dataJSON","data":"string"} +{"_": "dataJSON", "data": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -dataJSON={_='dataJSON', data=string, } +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 a44017bd..e1929101 100644 --- a/old_docs/API_docs_v65/constructors/dcOption.md +++ b/old_docs/API_docs_v65/constructors/dcOption.md @@ -26,13 +26,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } +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 00dececb..10a36c8b 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,13 +16,13 @@ description: destroy_auth_key_fail attributes, type and example ### Example: ``` -$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; +$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_fail"} +{"_": "destroy_auth_key_fail"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_fail={_='destroy_auth_key_fail', } +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 2d5ed5f3..7993b634 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,13 +16,13 @@ description: destroy_auth_key_none attributes, type and example ### Example: ``` -$destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; +$destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_none"} +{"_": "destroy_auth_key_none"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_none={_='destroy_auth_key_none', } +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 642a29c3..d12edc22 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,13 +16,13 @@ description: destroy_auth_key_ok attributes, type and example ### Example: ``` -$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; +$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_ok"} +{"_": "destroy_auth_key_ok"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_ok={_='destroy_auth_key_ok', } +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 9e5278b4..e4955d4b 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_none.md @@ -21,13 +21,13 @@ description: destroy_session_none attributes, type and example ### Example: ``` -$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; +$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_none","session_id":"long"} +{"_": "destroy_session_none", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_none={_='destroy_session_none', session_id=long, } +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 17b39b93..dc69ae67 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_ok.md @@ -21,13 +21,13 @@ description: destroy_session_ok attributes, type and example ### Example: ``` -$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; +$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_ok","session_id":"long"} +{"_": "destroy_session_ok", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_ok={_='destroy_session_ok', session_id=long, } +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 320b9306..3e67eac0 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_fail.md @@ -23,13 +23,13 @@ description: dh_gen_fail attributes, type and example ### Example: ``` -$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; +$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +{"_": "dh_gen_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash3": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128, } +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 2b43d907..eedb309f 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_ok.md @@ -23,13 +23,13 @@ description: dh_gen_ok attributes, type and example ### Example: ``` -$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; +$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +{"_": "dh_gen_ok", "nonce": int128, "server_nonce": int128, "new_nonce_hash1": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128, } +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 db5c1928..e631eca6 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_retry.md @@ -23,13 +23,13 @@ description: dh_gen_retry attributes, type and example ### Example: ``` -$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; +$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +{"_": "dh_gen_retry", "nonce": int128, "server_nonce": int128, "new_nonce_hash2": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128, } +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 5c5c2008..4fc1d4be 100644 --- a/old_docs/API_docs_v65/constructors/dialog.md +++ b/old_docs/API_docs_v65/constructors/dialog.md @@ -29,13 +29,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v65/constructors/disabledFeature.md +++ b/old_docs/API_docs_v65/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 fdadf27d..2a1319da 100644 --- a/old_docs/API_docs_v65/constructors/document.md +++ b/old_docs/API_docs_v65/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 b09f783d..f1e3342e 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md @@ -16,13 +16,13 @@ description: documentAttributeHasStickers attributes, type and example ### Example: ``` -$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; +$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeHasStickers"} +{"_": "documentAttributeHasStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeHasStickers={_='documentAttributeHasStickers', } +documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md index f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 77b8f437..a7923f10 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeSticker.md @@ -24,13 +24,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +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 f6bd3d90..c097b863 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeVideo.md @@ -23,13 +23,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v65/constructors/documentEmpty.md +++ b/old_docs/API_docs_v65/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v65/constructors/draftMessage.md +++ b/old_docs/API_docs_v65/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v65/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v65/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChat.md b/old_docs/API_docs_v65/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChat.md +++ b/old_docs/API_docs_v65/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFile.md +++ b/old_docs/API_docs_v65/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedMessage.md b/old_docs/API_docs_v65/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v65/constructors/error.md +++ b/old_docs/API_docs_v65/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v65/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v65/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v65/constructors/fileLocation.md +++ b/old_docs/API_docs_v65/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v65/constructors/foundGif.md +++ b/old_docs/API_docs_v65/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v65/constructors/foundGifCached.md +++ b/old_docs/API_docs_v65/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c70f48ec..cca52255 100644 --- a/old_docs/API_docs_v65/constructors/future_salt.md +++ b/old_docs/API_docs_v65/constructors/future_salt.md @@ -23,13 +23,13 @@ description: future_salt attributes, type and example ### Example: ``` -$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; +$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +{"_": "future_salt", "valid_since": int, "valid_until": int, "salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long, } +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 a6bba188..9f4326e1 100644 --- a/old_docs/API_docs_v65/constructors/future_salts.md +++ b/old_docs/API_docs_v65/constructors/future_salts.md @@ -23,13 +23,13 @@ description: future_salts attributes, type and example ### Example: ``` -$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; +$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +{"_": "future_salts", "req_msg_id": long, "now": int, "salts": [future_salt]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}, } +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 3bb1dfe1..46792b77 100644 --- a/old_docs/API_docs_v65/constructors/game.md +++ b/old_docs/API_docs_v65/constructors/game.md @@ -27,13 +27,13 @@ description: game attributes, type and example ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +{"_": "game", "id": long, "access_hash": long, "short_name": "string", "title": "string", "description": "string", "photo": Photo, "document": Document} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, access_hash=long, short_name=string, title=string, description=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v65/constructors/geoPoint.md +++ b/old_docs/API_docs_v65/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v65/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v65/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v65/constructors/help_inviteText.md +++ b/old_docs/API_docs_v65/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v65/constructors/help_support.md +++ b/old_docs/API_docs_v65/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v65/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v65/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 8fe62af9..e5b5fdeb 100644 --- a/old_docs/API_docs_v65/constructors/highScore.md +++ b/old_docs/API_docs_v65/constructors/highScore.md @@ -23,13 +23,13 @@ description: highScore attributes, type and example ### Example: ``` -$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; +$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"highScore","pos":"int","user_id":"int","score":"int"} +{"_": "highScore", "pos": int, "user_id": int, "score": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -highScore={_='highScore', pos=int, user_id=int, score=int, } +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 be4aa968..829f09b3 100644 --- a/old_docs/API_docs_v65/constructors/http_wait.md +++ b/old_docs/API_docs_v65/constructors/http_wait.md @@ -23,13 +23,13 @@ description: http_wait attributes, type and example ### Example: ``` -$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; +$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +{"_": "http_wait", "max_delay": int, "wait_after": int, "max_wait": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v65/constructors/importedContact.md +++ b/old_docs/API_docs_v65/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v65/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v65/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 1a8bc54d..cf5e9a44 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageGame attributes, type and example ### Example: ``` -$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageGame", "reply_markup": ReplyMarkup} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 be8f6f21..57779977 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md @@ -23,13 +23,13 @@ description: inputBotInlineResultGame attributes, type and example ### Example: ``` -$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultGame", "id": "string", "short_name": "string", "send_message": InputBotInlineMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultGame={_='inputBotInlineResultGame', id=string, short_name=string, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v65/constructors/inputChannel.md +++ b/old_docs/API_docs_v65/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v65/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChatPhoto.md b/old_docs/API_docs_v65/constructors/inputChatPhoto.md index aa98b610..8114d1d3 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhoto.md @@ -21,13 +21,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto"} +{"_": "inputChatPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md index ce3b4224..0615c324 100644 --- a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile"} +{"_": "inputChatUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v65/constructors/inputDocument.md +++ b/old_docs/API_docs_v65/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v65/constructors/inputFile.md +++ b/old_docs/API_docs_v65/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v65/constructors/inputFileBig.md +++ b/old_docs/API_docs_v65/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v65/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 c8ce7efc..15aa00bd 100644 --- a/old_docs/API_docs_v65/constructors/inputGameID.md +++ b/old_docs/API_docs_v65/constructors/inputGameID.md @@ -22,13 +22,13 @@ description: inputGameID attributes, type and example ### Example: ``` -$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; +$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameID","id":"long","access_hash":"long"} +{"_": "inputGameID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameID={_='inputGameID', id=long, access_hash=long, } +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 82671253..00895eed 100644 --- a/old_docs/API_docs_v65/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v65/constructors/inputGameShortName.md @@ -22,13 +22,13 @@ description: inputGameShortName attributes, type and example ### Example: ``` -$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; +$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name=string, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaContact.md b/old_docs/API_docs_v65/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 df91c315..8bd11508 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md @@ -22,13 +22,13 @@ description: inputMediaDocumentExternal attributes, type and example ### Example: ``` -$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; +$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +{"_": "inputMediaDocumentExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocumentExternal={_='inputMediaDocumentExternal', url=string, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaGame.md b/old_docs/API_docs_v65/constructors/inputMediaGame.md index 399f03c0..a97c0c70 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGame.md @@ -21,13 +21,13 @@ description: inputMediaGame attributes, type and example ### Example: ``` -$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; +$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGame","id":"InputGame"} +{"_": "inputMediaGame", "id": InputGame} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGame={_='inputMediaGame', id=InputGame, } +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 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 6c5c6baf..fdc3d6eb 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/inputMediaInvoice.md @@ -27,13 +27,13 @@ description: inputMediaInvoice attributes, type and example ### Example: ``` -$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; +$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +{"_": "inputMediaInvoice", "title": "string", "description": "string", "photo": InputWebDocument, "invoice": Invoice, "payload": "bytes", "provider": "string", "start_param": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaInvoice={_='inputMediaInvoice', title=string, description=string, photo=InputWebDocument, invoice=Invoice, payload=bytes, provider=string, start_param=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 b50c9771..c2860028 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md @@ -22,13 +22,13 @@ description: inputMediaPhotoExternal attributes, type and example ### Example: ``` -$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; +$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhotoExternal={_='inputMediaPhotoExternal', url=string, caption=string, } +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 f88ff5f0..5614925e 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 ee07669d..e69293fa 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md @@ -23,13 +23,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string", "stickers": [InputDocument]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, stickers={InputDocument}, } +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 fcbbab79..51d344d2 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md index 70531f22..3fec6cd0 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md @@ -21,13 +21,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example ### Example: ``` -$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; +$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +{"_": "inputMessagesFilterPhoneCalls", "missed": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool, } +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 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyAll.md b/old_docs/API_docs_v65/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyChats.md b/old_docs/API_docs_v65/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md index 03d99d63..6aab94f0 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md @@ -22,13 +22,13 @@ description: inputPaymentCredentials attributes, type and example ### Example: ``` -$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; +$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +{"_": "inputPaymentCredentials", "save": Bool, "data": DataJSON} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON, } +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 d3117a9d..ab953e59 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md @@ -22,13 +22,13 @@ description: inputPaymentCredentialsSaved attributes, type and example ### Example: ``` -$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; +$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +{"_": "inputPaymentCredentialsSaved", "id": "string", "tmp_password": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id=string, tmp_password=bytes, } +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 f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v65/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerUser.md b/old_docs/API_docs_v65/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v65/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 f9099021..681ce8c1 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneCall.md @@ -22,13 +22,13 @@ description: inputPhoneCall attributes, type and example ### Example: ``` -$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; +$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneCall","id":"long","access_hash":"long"} +{"_": "inputPhoneCall", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md index ba97f5df..fdb814ce 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example ### Example: ``` -$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; +$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyPhoneCall"} +{"_": "inputPrivacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall', } +inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetID.md b/old_docs/API_docs_v65/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 e7a64e8c..5f19e725 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md @@ -21,13 +21,13 @@ description: inputStickeredMediaDocument attributes, type and example ### Example: ``` -$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; +$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaDocument","id":"InputDocument"} +{"_": "inputStickeredMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument, } +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 d909033a..575918d7 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md @@ -21,13 +21,13 @@ description: inputStickeredMediaPhoto attributes, type and example ### Example: ``` -$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; +$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +{"_": "inputStickeredMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v65/constructors/inputUser.md +++ b/old_docs/API_docs_v65/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v65/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputUserSelf.md b/old_docs/API_docs_v65/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v65/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v65/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputWebDocument.md b/old_docs/API_docs_v65/constructors/inputWebDocument.md index c6d30018..57b8fee6 100644 --- a/old_docs/API_docs_v65/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v65/constructors/inputWebDocument.md @@ -24,13 +24,13 @@ description: inputWebDocument attributes, type and example ### Example: ``` -$inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputWebDocument", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputWebDocument={_='inputWebDocument', url=string, size=int, mime_type=string, attributes={DocumentAttribute}, } +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 dd65c97c..25f4fb92 100644 --- a/old_docs/API_docs_v65/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputWebFileLocation.md @@ -22,13 +22,13 @@ description: inputWebFileLocation attributes, type and example ### Example: ``` -$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; +$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +{"_": "inputWebFileLocation", "url": "string", "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputWebFileLocation={_='inputWebFileLocation', url=string, access_hash=long, } +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 594738d0..7c4f08b4 100644 --- a/old_docs/API_docs_v65/constructors/invoice.md +++ b/old_docs/API_docs_v65/constructors/invoice.md @@ -28,13 +28,13 @@ description: invoice attributes, type and example ### Example: ``` -$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; +$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +{"_": "invoice", "test": Bool, "name_requested": Bool, "phone_requested": Bool, "email_requested": Bool, "shipping_address_requested": Bool, "flexible": Bool, "currency": "string", "prices": [LabeledPrice]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency=string, prices={LabeledPrice}, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButton.md +++ b/old_docs/API_docs_v65/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 a01c257c..f680b447 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md @@ -21,13 +21,13 @@ description: keyboardButtonBuy attributes, type and example ### Example: ``` -$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; +$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonBuy","text":"string"} +{"_": "keyboardButtonBuy", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonBuy={_='keyboardButtonBuy', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 a8569aed..0c5c99ab 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonGame.md @@ -21,13 +21,13 @@ description: keyboardButtonGame attributes, type and example ### Example: ``` -$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; +$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonGame","text":"string"} +{"_": "keyboardButtonGame", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonGame={_='keyboardButtonGame', text=string, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 76688727..97722a90 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md @@ -23,13 +23,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 0849bba2..d3859921 100644 --- a/old_docs/API_docs_v65/constructors/labeledPrice.md +++ b/old_docs/API_docs_v65/constructors/labeledPrice.md @@ -22,13 +22,13 @@ description: labeledPrice attributes, type and example ### Example: ``` -$labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; +$labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"labeledPrice","label":"string","amount":"long"} +{"_": "labeledPrice", "label": "string", "amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -labeledPrice={_='labeledPrice', label=string, amount=long, } +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 72c25c0e..0a6190f5 100644 --- a/old_docs/API_docs_v65/constructors/maskCoords.md +++ b/old_docs/API_docs_v65/constructors/maskCoords.md @@ -24,13 +24,13 @@ description: maskCoords attributes, type and example ### Example: ``` -$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +{"_": "maskCoords", "n": int, "x": double, "y": double, "zoom": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v65/constructors/message.md +++ b/old_docs/API_docs_v65/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v65/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionGameScore.md b/old_docs/API_docs_v65/constructors/messageActionGameScore.md index 0f498dab..acb0208f 100644 --- a/old_docs/API_docs_v65/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v65/constructors/messageActionGameScore.md @@ -22,13 +22,13 @@ description: messageActionGameScore attributes, type and example ### Example: ``` -$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; +$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGameScore","game_id":"long","score":"int"} +{"_": "messageActionGameScore", "game_id": long, "score": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGameScore={_='messageActionGameScore', game_id=long, score=int, } +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 d576d087..78a1e098 100644 --- a/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md index d926846a..54b2d6fb 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md @@ -22,13 +22,13 @@ description: messageActionPaymentSent attributes, type and example ### Example: ``` -$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; +$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +{"_": "messageActionPaymentSent", "currency": "string", "total_amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSent={_='messageActionPaymentSent', currency=string, total_amount=long, } +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 32e5b4ae..b2a7d2a5 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md @@ -26,13 +26,13 @@ description: messageActionPaymentSentMe attributes, type and example ### Example: ``` -$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; +$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +{"_": "messageActionPaymentSentMe", "currency": "string", "total_amount": long, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "charge": PaymentCharge} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency=string, total_amount=long, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, charge=PaymentCharge, } +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 6eed4cd3..399cd91b 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md @@ -23,13 +23,13 @@ description: messageActionPhoneCall attributes, type and example ### Example: ``` -$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "messageActionPhoneCall", "call_id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int, } +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 c8595522..3887229f 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v65/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEmpty.md b/old_docs/API_docs_v65/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v65/constructors/messageEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v65/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v65/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v65/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v65/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v65/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v65/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v65/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaGame.md b/old_docs/API_docs_v65/constructors/messageMediaGame.md index 349b9023..59f29080 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGame.md @@ -21,13 +21,13 @@ description: messageMediaGame attributes, type and example ### Example: ``` -$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; +$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGame","game":"Game"} +{"_": "messageMediaGame", "game": Game} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGame={_='messageMediaGame', game=Game, } +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 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 cfbcd280..7a59fb4b 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/messageMediaInvoice.md @@ -29,13 +29,13 @@ description: messageMediaInvoice attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaVenue.md b/old_docs/API_docs_v65/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v65/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v65/constructors/messageRange.md +++ b/old_docs/API_docs_v65/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v65/constructors/messageService.md +++ b/old_docs/API_docs_v65/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7cc54d64..561d9c4e 100644 --- a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 d60a5957..50e5cc0c 100644 --- a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md @@ -25,13 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, cache_time=int, } +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 8b1a8efc..b99605e6 100644 --- a/old_docs/API_docs_v65/constructors/messages_botResults.md +++ b/old_docs/API_docs_v65/constructors/messages_botResults.md @@ -26,13 +26,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v65/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v65/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v65/constructors/messages_chats.md +++ b/old_docs/API_docs_v65/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 ddd00630..f0af5f47 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md @@ -22,13 +22,13 @@ description: messages_chatsSlice attributes, type and example ### Example: ``` -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; +$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +{"_": "messages.chatsSlice", "count": int, "chats": [Chat]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 beae5c36..1f23efe5 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v65/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 6fdb3222..5897923e 100644 --- a/old_docs/API_docs_v65/constructors/messages_highScores.md +++ b/old_docs/API_docs_v65/constructors/messages_highScores.md @@ -22,13 +22,13 @@ description: messages_highScores attributes, type and example ### Example: ``` -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; +$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +{"_": "messages.highScores", "scores": [HighScore], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v65/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v65/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v65/constructors/messages_messages.md +++ b/old_docs/API_docs_v65/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +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 d4c2f39a..c7cf1ea0 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickers.md +++ b/old_docs/API_docs_v65/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 f92347b0..46559ea5 100644 --- a/old_docs/API_docs_v65/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v65/constructors/msg_detailed_info.md @@ -24,13 +24,13 @@ description: msg_detailed_info attributes, type and example ### Example: ``` -$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_detailed_info", "msg_id": long, "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int, } +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 b2a3db96..9cd1a8fd 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,13 +23,13 @@ description: msg_new_detailed_info attributes, type and example ### Example: ``` -$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_new_detailed_info", "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int, } +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 2abb95c1..e1a7a48c 100644 --- a/old_docs/API_docs_v65/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v65/constructors/msg_resend_req.md @@ -21,13 +21,13 @@ description: msg_resend_req attributes, type and example ### Example: ``` -$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; +$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_resend_req","msg_ids":["long"]} +{"_": "msg_resend_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_resend_req={_='msg_resend_req', msg_ids={long}, } +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 8b1b2f9f..d680c16b 100644 --- a/old_docs/API_docs_v65/constructors/msgs_ack.md +++ b/old_docs/API_docs_v65/constructors/msgs_ack.md @@ -21,13 +21,13 @@ description: msgs_ack attributes, type and example ### Example: ``` -$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; +$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_ack","msg_ids":["long"]} +{"_": "msgs_ack", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_ack={_='msgs_ack', msg_ids={long}, } +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 50a539bc..9a4ef23a 100644 --- a/old_docs/API_docs_v65/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_all_info.md @@ -22,13 +22,13 @@ description: msgs_all_info attributes, type and example ### Example: ``` -$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; +$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +{"_": "msgs_all_info", "msg_ids": [long], "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_all_info={_='msgs_all_info', msg_ids={long}, info=string, } +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 d5819d23..2fe45bfa 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_info.md @@ -22,13 +22,13 @@ description: msgs_state_info attributes, type and example ### Example: ``` -$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; +$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +{"_": "msgs_state_info", "req_msg_id": long, "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_state_info={_='msgs_state_info', req_msg_id=long, info=string, } +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 8247b8c1..10a64750 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_req.md @@ -21,13 +21,13 @@ description: msgs_state_req attributes, type and example ### Example: ``` -$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; +$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_req","msg_ids":["long"]} +{"_": "msgs_state_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_state_req={_='msgs_state_req', msg_ids={long}, } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v65/constructors/nearestDc.md +++ b/old_docs/API_docs_v65/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 5eac0fac..d3432a4a 100644 --- a/old_docs/API_docs_v65/constructors/new_session_created.md +++ b/old_docs/API_docs_v65/constructors/new_session_created.md @@ -23,13 +23,13 @@ description: new_session_created attributes, type and example ### Example: ``` -$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; +$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +{"_": "new_session_created", "first_msg_id": long, "unique_id": long, "server_salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v65/constructors/notifyAll.md +++ b/old_docs/API_docs_v65/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyChats.md b/old_docs/API_docs_v65/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v65/constructors/notifyChats.md +++ b/old_docs/API_docs_v65/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyPeer.md b/old_docs/API_docs_v65/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v65/constructors/notifyPeer.md +++ b/old_docs/API_docs_v65/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v65/constructors/notifyUsers.md +++ b/old_docs/API_docs_v65/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +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 b956ca92..b2c31669 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 @@ -26,13 +26,13 @@ description: p_q_inner_data attributes, type and example ### Example: ``` -$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; +$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +{"_": "p_q_inner_data", "pq": "string", "p": "string", "q": "string", "nonce": int128, "server_nonce": int128, "new_nonce": int256} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -p_q_inner_data={_='p_q_inner_data', pq=string, p=string, q=string, nonce=int128, server_nonce=int128, new_nonce=int256, } +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 7e7e3582..381641d8 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAnchor.md @@ -21,13 +21,13 @@ description: pageBlockAnchor attributes, type and example ### Example: ``` -$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; +$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAnchor","name":"string"} +{"_": "pageBlockAnchor", "name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockAnchor={_='pageBlockAnchor', name=string, } +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 b30337e1..83a9830d 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md @@ -22,13 +22,13 @@ description: pageBlockAuthorDate attributes, type and example ### Example: ``` -$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; +$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +{"_": "pageBlockAuthorDate", "author": RichText, "published_date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int, } +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 03b93ab7..c7da7f93 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md @@ -22,13 +22,13 @@ description: pageBlockBlockquote attributes, type and example ### Example: ``` -$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockBlockquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText, } +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 7ae744f5..dc608ca7 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCollage.md @@ -22,13 +22,13 @@ description: pageBlockCollage attributes, type and example ### Example: ``` -$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockCollage", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText, } +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 5c91d850..ed4b125c 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCover.md @@ -21,13 +21,13 @@ description: pageBlockCover attributes, type and example ### Example: ``` -$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; +$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCover","cover":"PageBlock"} +{"_": "pageBlockCover", "cover": PageBlock} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockCover={_='pageBlockCover', cover=PageBlock, } +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 03b6b756..05080a18 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v65/constructors/pageBlockDivider.md @@ -16,13 +16,13 @@ description: pageBlockDivider attributes, type and example ### Example: ``` -$pageBlockDivider = ['_' => 'pageBlockDivider', ]; +$pageBlockDivider = ['_' => 'pageBlockDivider']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockDivider"} +{"_": "pageBlockDivider"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockDivider={_='pageBlockDivider', } +pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md index acc257b8..469ea6da 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md @@ -28,13 +28,13 @@ description: pageBlockEmbed attributes, type and example ### Example: ``` -$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; +$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +{"_": "pageBlockEmbed", "full_width": Bool, "allow_scrolling": Bool, "url": "string", "html": "string", "poster_photo_id": long, "w": int, "h": int, "caption": RichText} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } +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 7bd9a9cf..353ecc16 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md @@ -27,13 +27,13 @@ description: pageBlockEmbedPost attributes, type and example ### Example: ``` -$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; +$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockEmbedPost", "url": "string", "webpage_id": long, "author_photo_id": long, "author": "string", "date": int, "blocks": [PageBlock], "caption": RichText} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -pageBlockEmbedPost={_='pageBlockEmbedPost', url=string, webpage_id=long, author_photo_id=long, author=string, date=int, blocks={PageBlock}, caption=RichText, } +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 b35e731e..f9ca45a0 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v65/constructors/pageBlockFooter.md @@ -21,13 +21,13 @@ description: pageBlockFooter attributes, type and example ### Example: ``` -$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; +$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockFooter","text":"RichText"} +{"_": "pageBlockFooter", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockFooter={_='pageBlockFooter', text=RichText, } +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 69fb595d..d689cce7 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockHeader.md @@ -21,13 +21,13 @@ description: pageBlockHeader attributes, type and example ### Example: ``` -$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; +$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockHeader","text":"RichText"} +{"_": "pageBlockHeader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockHeader={_='pageBlockHeader', text=RichText, } +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 e3608efe..3f6b4a84 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockList.md +++ b/old_docs/API_docs_v65/constructors/pageBlockList.md @@ -22,13 +22,13 @@ description: pageBlockList attributes, type and example ### Example: ``` -$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; +$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +{"_": "pageBlockList", "ordered": Bool, "items": [RichText]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}, } +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 c3cae789..be2bb42e 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v65/constructors/pageBlockParagraph.md @@ -21,13 +21,13 @@ description: pageBlockParagraph attributes, type and example ### Example: ``` -$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; +$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockParagraph","text":"RichText"} +{"_": "pageBlockParagraph", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockParagraph={_='pageBlockParagraph', text=RichText, } +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 cd89acb3..ab11b247 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPhoto.md @@ -22,13 +22,13 @@ description: pageBlockPhoto attributes, type and example ### Example: ``` -$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; +$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +{"_": "pageBlockPhoto", "photo_id": long, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText, } +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 7fb3de67..b8e8d4e4 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md @@ -22,13 +22,13 @@ description: pageBlockPreformatted attributes, type and example ### Example: ``` -$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; +$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +{"_": "pageBlockPreformatted", "text": RichText, "language": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language=string, } +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 12c9fc4c..431942c1 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPullquote.md @@ -22,13 +22,13 @@ description: pageBlockPullquote attributes, type and example ### Example: ``` -$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockPullquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText, } +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 de0d384c..d9e6526f 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md @@ -22,13 +22,13 @@ description: pageBlockSlideshow attributes, type and example ### Example: ``` -$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockSlideshow", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText, } +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 7efc0a7c..b77c29ca 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubheader.md @@ -21,13 +21,13 @@ description: pageBlockSubheader attributes, type and example ### Example: ``` -$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; +$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubheader","text":"RichText"} +{"_": "pageBlockSubheader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubheader={_='pageBlockSubheader', text=RichText, } +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 6551b737..0c288b01 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md @@ -21,13 +21,13 @@ description: pageBlockSubtitle attributes, type and example ### Example: ``` -$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; +$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubtitle","text":"RichText"} +{"_": "pageBlockSubtitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubtitle={_='pageBlockSubtitle', text=RichText, } +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 75f47508..bd9d9d32 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockTitle.md @@ -21,13 +21,13 @@ description: pageBlockTitle attributes, type and example ### Example: ``` -$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; +$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockTitle","text":"RichText"} +{"_": "pageBlockTitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockTitle={_='pageBlockTitle', text=RichText, } +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 5b7d881f..ec2c4508 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md @@ -16,13 +16,13 @@ description: pageBlockUnsupported attributes, type and example ### Example: ``` -$pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; +$pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockUnsupported"} +{"_": "pageBlockUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockUnsupported={_='pageBlockUnsupported', } +pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockVideo.md b/old_docs/API_docs_v65/constructors/pageBlockVideo.md index 59a824c1..ac0197a5 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v65/constructors/pageBlockVideo.md @@ -24,13 +24,13 @@ description: pageBlockVideo attributes, type and example ### Example: ``` -$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; +$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +{"_": "pageBlockVideo", "autoplay": Bool, "loop": Bool, "video_id": long, "caption": RichText} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText, } +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 3cbba529..9017313c 100644 --- a/old_docs/API_docs_v65/constructors/pageFull.md +++ b/old_docs/API_docs_v65/constructors/pageFull.md @@ -23,13 +23,13 @@ description: pageFull attributes, type and example ### Example: ``` -$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pageFull", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 638dc934..4a6a177d 100644 --- a/old_docs/API_docs_v65/constructors/pagePart.md +++ b/old_docs/API_docs_v65/constructors/pagePart.md @@ -23,13 +23,13 @@ description: pagePart attributes, type and example ### Example: ``` -$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pagePart", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 2f9c6127..d9a29ddd 100644 --- a/old_docs/API_docs_v65/constructors/paymentCharge.md +++ b/old_docs/API_docs_v65/constructors/paymentCharge.md @@ -22,13 +22,13 @@ description: paymentCharge attributes, type and example ### Example: ``` -$paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; +$paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +{"_": "paymentCharge", "id": "string", "provider_charge_id": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentCharge={_='paymentCharge', id=string, provider_charge_id=string, } +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 a4e8612d..298906fb 100644 --- a/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md @@ -24,13 +24,13 @@ description: paymentRequestedInfo attributes, type and example ### Example: ``` -$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; +$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +{"_": "paymentRequestedInfo", "name": "string", "phone": "string", "email": "string", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -paymentRequestedInfo={_='paymentRequestedInfo', name=string, phone=string, email=string, shipping_address=PostAddress, } +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 fd97903a..892c6abb 100644 --- a/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md @@ -22,13 +22,13 @@ description: paymentSavedCredentialsCard attributes, type and example ### Example: ``` -$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; +$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +{"_": "paymentSavedCredentialsCard", "id": "string", "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id=string, title=string, } +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 dff13e64..bb1d4ad5 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentForm.md @@ -31,13 +31,13 @@ description: payments_paymentForm attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 90000f42..2b44e46d 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md @@ -30,13 +30,13 @@ description: payments_paymentReceipt attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 aad37320..a4b6bf33 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentResult.md @@ -21,13 +21,13 @@ description: payments_paymentResult attributes, type and example ### Example: ``` -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; +$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentResult","updates":"Updates"} +{"_": "payments.paymentResult", "updates": Updates} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentResult={_='payments.paymentResult', updates=Updates, } +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 0b2f4224..7cae0027 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md @@ -21,13 +21,13 @@ description: payments_paymentVerficationNeeded attributes, type and example ### Example: ``` -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; +$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentVerficationNeeded","url":"string"} +{"_": "payments.paymentVerficationNeeded", "url": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url=string, } +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 57e9b3ad..5f83e8ee 100644 --- a/old_docs/API_docs_v65/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_savedInfo.md @@ -22,13 +22,13 @@ description: payments_savedInfo attributes, type and example ### Example: ``` -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; +$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +{"_": "payments.savedInfo", "has_saved_credentials": Bool, "saved_info": PaymentRequestedInfo} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo, } +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 7140482a..4782a899 100644 --- a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md @@ -22,13 +22,13 @@ description: payments_validatedRequestedInfo attributes, type and example ### Example: ``` -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; +$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +{"_": "payments.validatedRequestedInfo", "id": "string", "shipping_options": [ShippingOption]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id=string, shipping_options={ShippingOption}, } +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 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v65/constructors/peerChannel.md +++ b/old_docs/API_docs_v65/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v65/constructors/peerChat.md +++ b/old_docs/API_docs_v65/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifySettings.md b/old_docs/API_docs_v65/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerSettings.md b/old_docs/API_docs_v65/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v65/constructors/peerSettings.md +++ b/old_docs/API_docs_v65/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v65/constructors/peerUser.md +++ b/old_docs/API_docs_v65/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 6414af6f..0d4778d6 100644 --- a/old_docs/API_docs_v65/constructors/phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phoneCall.md @@ -31,13 +31,13 @@ description: phoneCall attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 2065f97c..1914baa2 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v65/constructors/phoneCallAccepted.md @@ -27,13 +27,13 @@ description: phoneCallAccepted attributes, type and example ### Example: ``` -$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallAccepted", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_b": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b=bytes, protocol=PhoneCallProtocol, } +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 a8041928..3b355a4b 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example ### Example: ``` -$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; +$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonBusy"} +{"_": "phoneCallDiscardReasonBusy"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy', } +phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md index c0567700..1c631e88 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example ### Example: ``` -$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; +$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonDisconnect"} +{"_": "phoneCallDiscardReasonDisconnect"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect', } +phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md index 7c108ec3..42bf1157 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example ### Example: ``` -$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; +$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonHangup"} +{"_": "phoneCallDiscardReasonHangup"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup', } +phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md index f6aa306c..3b4045b5 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example ### Example: ``` -$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; +$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonMissed"} +{"_": "phoneCallDiscardReasonMissed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed', } +phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md index 50f8bbaa..9a20badd 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md @@ -25,13 +25,13 @@ description: phoneCallDiscarded attributes, type and example ### Example: ``` -$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "phoneCallDiscarded", "need_rating": Bool, "need_debug": Bool, "id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int, } +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 ad8dec73..dfc9c860 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v65/constructors/phoneCallEmpty.md @@ -21,13 +21,13 @@ description: phoneCallEmpty attributes, type and example ### Example: ``` -$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; +$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallEmpty","id":"long"} +{"_": "phoneCallEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -phoneCallEmpty={_='phoneCallEmpty', id=long, } +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 b4f6dffb..ec8bfca7 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v65/constructors/phoneCallProtocol.md @@ -24,13 +24,13 @@ description: phoneCallProtocol attributes, type and example ### Example: ``` -$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; +$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +{"_": "phoneCallProtocol", "udp_p2p": Bool, "udp_reflector": Bool, "min_layer": int, "max_layer": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, } +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 64d3a65c..f989d3f2 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v65/constructors/phoneCallRequested.md @@ -27,13 +27,13 @@ description: phoneCallRequested attributes, type and example ### Example: ``` -$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallRequested", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_hash": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash=bytes, protocol=PhoneCallProtocol, } +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 702a868f..5cb5dd71 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v65/constructors/phoneCallWaiting.md @@ -27,13 +27,13 @@ description: phoneCallWaiting attributes, type and example ### Example: ``` -$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; +$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +{"_": "phoneCallWaiting", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "protocol": PhoneCallProtocol, "receive_date": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int, } +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 9c2c6a58..87ec67aa 100644 --- a/old_docs/API_docs_v65/constructors/phoneConnection.md +++ b/old_docs/API_docs_v65/constructors/phoneConnection.md @@ -25,13 +25,13 @@ description: phoneConnection attributes, type and example ### Example: ``` -$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; +$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +{"_": "phoneConnection", "id": long, "ip": "string", "ipv6": "string", "port": int, "peer_tag": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneConnection={_='phoneConnection', id=long, ip=string, ipv6=string, port=int, peer_tag=bytes, } +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 af0106eb..06bf1592 100644 --- a/old_docs/API_docs_v65/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phone_phoneCall.md @@ -22,13 +22,13 @@ description: phone_phoneCall attributes, type and example ### Example: ``` -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; +$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +{"_": "phone.phoneCall", "phone_call": PhoneCall, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}, } +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 eeb39d1f..4c3434e0 100644 --- a/old_docs/API_docs_v65/constructors/photo.md +++ b/old_docs/API_docs_v65/constructors/photo.md @@ -25,13 +25,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "has_stickers": Bool, "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v65/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v65/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v65/constructors/photoEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v65/constructors/photoSize.md +++ b/old_docs/API_docs_v65/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v65/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v65/constructors/photos_photo.md +++ b/old_docs/API_docs_v65/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v65/constructors/photos_photos.md +++ b/old_docs/API_docs_v65/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v65/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v65/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5c03bb9b..e44a1ade 100644 --- a/old_docs/API_docs_v65/constructors/pong.md +++ b/old_docs/API_docs_v65/constructors/pong.md @@ -22,13 +22,13 @@ description: pong attributes, type and example ### Example: ``` -$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; +$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pong","msg_id":"long","ping_id":"long"} +{"_": "pong", "msg_id": long, "ping_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pong={_='pong', msg_id=long, ping_id=long, } +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 5b656fd9..4af6eb79 100644 --- a/old_docs/API_docs_v65/constructors/postAddress.md +++ b/old_docs/API_docs_v65/constructors/postAddress.md @@ -26,13 +26,13 @@ description: postAddress attributes, type and example ### Example: ``` -$postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; +$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +{"_": "postAddress", "street_line1": "string", "street_line2": "string", "city": "string", "state": "string", "country_iso2": "string", "post_code": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -postAddress={_='postAddress', street_line1=string, street_line2=string, city=string, state=string, country_iso2=string, post_code=string, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md index 894dccb5..bcb57658 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: privacyKeyPhoneCall attributes, type and example ### Example: ``` -$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; +$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyPhoneCall"} +{"_": "privacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyPhoneCall={_='privacyKeyPhoneCall', } +privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v65/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 67f30009..273bd3fc 100644 --- a/old_docs/API_docs_v65/constructors/resPQ.md +++ b/old_docs/API_docs_v65/constructors/resPQ.md @@ -24,13 +24,13 @@ description: resPQ attributes, type and example ### Example: ``` -$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; +$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": "string", "server_public_key_fingerprints": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq=string, server_public_key_fingerprints={long}, } +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 9ea5479b..88a3506c 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md @@ -23,13 +23,13 @@ description: rpc_answer_dropped attributes, type and example ### Example: ``` -$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; +$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +{"_": "rpc_answer_dropped", "msg_id": long, "seq_no": int, "bytes": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int, } +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 c3723abd..5b34fc87 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,13 +16,13 @@ description: rpc_answer_dropped_running attributes, type and example ### Example: ``` -$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; +$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped_running"} +{"_": "rpc_answer_dropped_running"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped_running={_='rpc_answer_dropped_running', } +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 58132b7a..51d22746 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md @@ -16,13 +16,13 @@ description: rpc_answer_unknown attributes, type and example ### Example: ``` -$rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; +$rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_unknown"} +{"_": "rpc_answer_unknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_unknown={_='rpc_answer_unknown', } +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 fe821e55..885ef35e 100644 --- a/old_docs/API_docs_v65/constructors/rpc_error.md +++ b/old_docs/API_docs_v65/constructors/rpc_error.md @@ -22,13 +22,13 @@ description: rpc_error attributes, type and example ### Example: ``` -$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; +$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_error","error_code":"int","error_message":"string"} +{"_": "rpc_error", "error_code": int, "error_message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -rpc_error={_='rpc_error', error_code=int, error_message=string, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md index 3fa832ac..8549a255 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md @@ -16,13 +16,13 @@ description: sendMessageGamePlayAction attributes, type and example ### Example: ``` -$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; +$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGamePlayAction"} +{"_": "sendMessageGamePlayAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGamePlayAction={_='sendMessageGamePlayAction', } +sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 48ee3b47..573530f1 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,13 +26,13 @@ description: server_DH_inner_data attributes, type and example ### Example: ``` -$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => string, 'g_a' => string, 'server_time' => int, ]; +$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": "string", "g_a": "string", "server_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into 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, } +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 69df7594..b6f94870 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,13 +23,13 @@ description: server_DH_params_fail attributes, type and example ### Example: ``` -$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128, ]; +$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +{"_": "server_DH_params_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128, } +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 724e78f0..d6f5a4b5 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,13 +23,13 @@ description: server_DH_params_ok attributes, type and example ### Example: ``` -$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; +$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer=string, } +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 cc20da56..246c919d 100644 --- a/old_docs/API_docs_v65/constructors/shippingOption.md +++ b/old_docs/API_docs_v65/constructors/shippingOption.md @@ -23,13 +23,13 @@ description: shippingOption attributes, type and example ### Example: ``` -$shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; +$shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +{"_": "shippingOption", "id": "string", "title": "string", "prices": [LabeledPrice]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -shippingOption={_='shippingOption', id=string, title=string, prices={LabeledPrice}, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v65/constructors/stickerPack.md +++ b/old_docs/API_docs_v65/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 20964d59..41fd5b23 100644 --- a/old_docs/API_docs_v65/constructors/stickerSet.md +++ b/old_docs/API_docs_v65/constructors/stickerSet.md @@ -30,13 +30,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', 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 3421f170..1c6eed5a 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +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 c71c0503..41502aa6 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md @@ -22,13 +22,13 @@ description: stickerSetMultiCovered attributes, type and example ### Example: ``` -$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; +$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +{"_": "stickerSetMultiCovered", "set": StickerSet, "covers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v65/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v65/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v65/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePng.md +++ b/old_docs/API_docs_v65/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v65/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 e701f64a..f7ea1391 100644 --- a/old_docs/API_docs_v65/constructors/textBold.md +++ b/old_docs/API_docs_v65/constructors/textBold.md @@ -21,13 +21,13 @@ description: textBold attributes, type and example ### Example: ``` -$textBold = ['_' => 'textBold', 'text' => RichText, ]; +$textBold = ['_' => 'textBold', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textBold","text":"RichText"} +{"_": "textBold", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textBold={_='textBold', text=RichText, } +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 4cb1d8b4..f3641ab0 100644 --- a/old_docs/API_docs_v65/constructors/textConcat.md +++ b/old_docs/API_docs_v65/constructors/textConcat.md @@ -21,13 +21,13 @@ description: textConcat attributes, type and example ### Example: ``` -$textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; +$textConcat = ['_' => 'textConcat', 'texts' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textConcat","texts":["RichText"]} +{"_": "textConcat", "texts": [RichText]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textConcat={_='textConcat', texts={RichText}, } +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 269829ac..c5eacd00 100644 --- a/old_docs/API_docs_v65/constructors/textEmail.md +++ b/old_docs/API_docs_v65/constructors/textEmail.md @@ -22,13 +22,13 @@ description: textEmail attributes, type and example ### Example: ``` -$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; +$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmail","text":"RichText","email":"string"} +{"_": "textEmail", "text": RichText, "email": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textEmail={_='textEmail', text=RichText, email=string, } +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 9e0b229a..176c1327 100644 --- a/old_docs/API_docs_v65/constructors/textEmpty.md +++ b/old_docs/API_docs_v65/constructors/textEmpty.md @@ -16,13 +16,13 @@ description: textEmpty attributes, type and example ### Example: ``` -$textEmpty = ['_' => 'textEmpty', ]; +$textEmpty = ['_' => 'textEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmpty"} +{"_": "textEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -textEmpty={_='textEmpty', } +textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/textFixed.md b/old_docs/API_docs_v65/constructors/textFixed.md index 892359ad..1dc33a4e 100644 --- a/old_docs/API_docs_v65/constructors/textFixed.md +++ b/old_docs/API_docs_v65/constructors/textFixed.md @@ -21,13 +21,13 @@ description: textFixed attributes, type and example ### Example: ``` -$textFixed = ['_' => 'textFixed', 'text' => RichText, ]; +$textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textFixed","text":"RichText"} +{"_": "textFixed", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textFixed={_='textFixed', text=RichText, } +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 d8911436..86e6d933 100644 --- a/old_docs/API_docs_v65/constructors/textItalic.md +++ b/old_docs/API_docs_v65/constructors/textItalic.md @@ -21,13 +21,13 @@ description: textItalic attributes, type and example ### Example: ``` -$textItalic = ['_' => 'textItalic', 'text' => RichText, ]; +$textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textItalic","text":"RichText"} +{"_": "textItalic", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textItalic={_='textItalic', text=RichText, } +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 9a4a04f2..d5084056 100644 --- a/old_docs/API_docs_v65/constructors/textPlain.md +++ b/old_docs/API_docs_v65/constructors/textPlain.md @@ -21,13 +21,13 @@ description: textPlain attributes, type and example ### Example: ``` -$textPlain = ['_' => 'textPlain', 'text' => string, ]; +$textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textPlain","text":"string"} +{"_": "textPlain", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textPlain={_='textPlain', text=string, } +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 5fcf7345..897de12c 100644 --- a/old_docs/API_docs_v65/constructors/textStrike.md +++ b/old_docs/API_docs_v65/constructors/textStrike.md @@ -21,13 +21,13 @@ description: textStrike attributes, type and example ### Example: ``` -$textStrike = ['_' => 'textStrike', 'text' => RichText, ]; +$textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textStrike","text":"RichText"} +{"_": "textStrike", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textStrike={_='textStrike', text=RichText, } +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 6c9e19d1..74a18001 100644 --- a/old_docs/API_docs_v65/constructors/textUnderline.md +++ b/old_docs/API_docs_v65/constructors/textUnderline.md @@ -21,13 +21,13 @@ description: textUnderline attributes, type and example ### Example: ``` -$textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; +$textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUnderline","text":"RichText"} +{"_": "textUnderline", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textUnderline={_='textUnderline', text=RichText, } +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 f8df8e96..7c8027b4 100644 --- a/old_docs/API_docs_v65/constructors/textUrl.md +++ b/old_docs/API_docs_v65/constructors/textUrl.md @@ -23,13 +23,13 @@ description: textUrl attributes, type and example ### Example: ``` -$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; +$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +{"_": "textUrl", "text": RichText, "url": "string", "webpage_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -textUrl={_='textUrl', text=RichText, url=string, webpage_id=long, } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v65/constructors/topPeer.md +++ b/old_docs/API_docs_v65/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v65/constructors/true.md +++ b/old_docs/API_docs_v65/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md index 8275bafc..c5fa96e7 100644 --- a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md @@ -27,13 +27,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data=bytes, game_short_name=string, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 39c5ac38..359ca0b3 100644 --- a/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md @@ -27,13 +27,13 @@ description: updateBotPrecheckoutQuery attributes, type and example ### Example: ``` -$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; +$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +{"_": "updateBotPrecheckoutQuery", "query_id": long, "user_id": int, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "currency": "string", "total_amount": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, currency=string, total_amount=long, } +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 070149e1..dbaa044a 100644 --- a/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md @@ -24,13 +24,13 @@ description: updateBotShippingQuery attributes, type and example ### Example: ``` -$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; +$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +{"_": "updateBotShippingQuery", "query_id": long, "user_id": int, "payload": "bytes", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload=bytes, shipping_address=PostAddress, } +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 d5785cac..c3e7bd31 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md @@ -21,13 +21,13 @@ description: updateBotWebhookJSON attributes, type and example ### Example: ``` -$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; +$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSON","data":"DataJSON"} +{"_": "updateBotWebhookJSON", "data": DataJSON} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON, } +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 ffcaaa4b..9b194a6f 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md @@ -23,13 +23,13 @@ description: updateBotWebhookJSONQuery attributes, type and example ### Example: ``` -$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; +$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +{"_": "updateBotWebhookJSONQuery", "query_id": long, "data": DataJSON, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v65/constructors/updateChannel.md +++ b/old_docs/API_docs_v65/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v65/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 e587d33e..11e97344 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelWebPage.md @@ -24,13 +24,13 @@ description: updateChannelWebPage attributes, type and example ### Example: ``` -$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateChannelWebPage", "channel_id": int, "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v65/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v65/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v65/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 ed455bd6..3bf8ae50 100644 --- a/old_docs/API_docs_v65/constructors/updateConfig.md +++ b/old_docs/API_docs_v65/constructors/updateConfig.md @@ -16,13 +16,13 @@ description: updateConfig attributes, type and example ### Example: ``` -$updateConfig = ['_' => 'updateConfig', ]; +$updateConfig = ['_' => 'updateConfig']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateConfig"} +{"_": "updateConfig"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateConfig={_='updateConfig', } +updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateContactLink.md b/old_docs/API_docs_v65/constructors/updateContactLink.md index 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v65/constructors/updateContactLink.md +++ b/old_docs/API_docs_v65/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v65/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v65/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v65/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v65/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 38eb9c2d..e1362c0a 100644 --- a/old_docs/API_docs_v65/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v65/constructors/updateDialogPinned.md @@ -22,13 +22,13 @@ description: updateDialogPinned attributes, type and example ### Example: ``` -$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; +$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +{"_": "updateDialogPinned", "pinned": Bool, "peer": Peer} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v65/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v65/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v65/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryption.md +++ b/old_docs/API_docs_v65/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 a0fbf330..6b71357e 100644 --- a/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md @@ -26,13 +26,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data=bytes, game_short_name=string, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v65/constructors/updateMessageID.md +++ b/old_docs/API_docs_v65/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v65/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v65/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 f124d856..a11caa8f 100644 --- a/old_docs/API_docs_v65/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v65/constructors/updatePhoneCall.md @@ -21,13 +21,13 @@ description: updatePhoneCall attributes, type and example ### Example: ``` -$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; +$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePhoneCall","phone_call":"PhoneCall"} +{"_": "updatePhoneCall", "phone_call": PhoneCall} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall, } +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 cca37904..ef7a6ca5 100644 --- a/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md @@ -21,13 +21,13 @@ description: updatePinnedDialogs attributes, type and example ### Example: ``` -$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; +$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePinnedDialogs","order":["Peer"]} +{"_": "updatePinnedDialogs", "order": [Peer]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v65/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v65/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 bc4c62dd..a8e3d53d 100644 --- a/old_docs/API_docs_v65/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v65/constructors/updatePtsChanged.md @@ -16,13 +16,13 @@ description: updatePtsChanged attributes, type and example ### Example: ``` -$updatePtsChanged = ['_' => 'updatePtsChanged', ]; +$updatePtsChanged = ['_' => 'updatePtsChanged']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePtsChanged"} +{"_": "updatePtsChanged"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatePtsChanged={_='updatePtsChanged', } +updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md index b5aea850..b566d250 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/old_docs/API_docs_v65/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v65/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateSavedGifs.md b/old_docs/API_docs_v65/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v65/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v65/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateServiceNotification.md b/old_docs/API_docs_v65/constructors/updateServiceNotification.md index b8b75dcf..5a7daa72 100644 --- a/old_docs/API_docs_v65/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v65/constructors/updateServiceNotification.md @@ -26,13 +26,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateServiceNotification", "popup": Bool, "inbox_date": int, "type": "string", "message": "string", "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v65/constructors/updateShort.md +++ b/old_docs/API_docs_v65/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v65/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v65/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v65/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md index 809b82d6..1f1f0943 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md @@ -22,13 +22,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +{"_": "updateStickerSetsOrder", "masks": Bool, "order": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v65/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v65/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v65/constructors/updateUserName.md +++ b/old_docs/API_docs_v65/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v65/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v65/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v65/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v65/constructors/updateWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v65/constructors/updates.md +++ b/old_docs/API_docs_v65/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v65/constructors/updatesCombined.md +++ b/old_docs/API_docs_v65/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v65/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v65/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v65/constructors/updates_difference.md +++ b/old_docs/API_docs_v65/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 8530a319..eff86075 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md @@ -21,13 +21,13 @@ description: updates_differenceTooLong attributes, type and example ### Example: ``` -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; +$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceTooLong","pts":"int"} +{"_": "updates.differenceTooLong", "pts": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updates_differenceTooLong={_='updates.differenceTooLong', pts=int, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v65/constructors/updates_state.md +++ b/old_docs/API_docs_v65/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v65/constructors/upload_file.md +++ b/old_docs/API_docs_v65/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 f1cbb377..3e2c151c 100644 --- a/old_docs/API_docs_v65/constructors/upload_webFile.md +++ b/old_docs/API_docs_v65/constructors/upload_webFile.md @@ -25,13 +25,13 @@ description: upload_webFile attributes, type and example ### Example: ``` -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.webFile", "size": int, "mime_type": "string", "file_type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -upload_webFile={_='upload.webFile', size=int, mime_type=string, file_type=storage_FileType, mtime=int, bytes=bytes, } +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 a0f86878..e5fb055a 100644 --- a/old_docs/API_docs_v65/constructors/user.md +++ b/old_docs/API_docs_v65/constructors/user.md @@ -42,13 +42,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -56,7 +56,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v65/constructors/userEmpty.md +++ b/old_docs/API_docs_v65/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 06988eb2..2a0743c4 100644 --- a/old_docs/API_docs_v65/constructors/userFull.md +++ b/old_docs/API_docs_v65/constructors/userFull.md @@ -30,13 +30,13 @@ description: userFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusEmpty.md b/old_docs/API_docs_v65/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v65/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v65/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusOffline.md b/old_docs/API_docs_v65/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v65/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v65/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v65/constructors/wallPaper.md b/old_docs/API_docs_v65/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v65/constructors/wallPaper.md +++ b/old_docs/API_docs_v65/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v65/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v65/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 fb6d743d..2e631576 100644 --- a/old_docs/API_docs_v65/constructors/webDocument.md +++ b/old_docs/API_docs_v65/constructors/webDocument.md @@ -26,13 +26,13 @@ description: webDocument attributes, type and example ### Example: ``` -$webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; +$webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +{"_": "webDocument", "url": "string", "access_hash": long, "size": int, "mime_type": "string", "attributes": [DocumentAttribute], "dc_id": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -webDocument={_='webDocument', url=string, access_hash=long, size=int, mime_type=string, attributes={DocumentAttribute}, dc_id=int, } +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 f73f1d50..6ec1965a 100644 --- a/old_docs/API_docs_v65/constructors/webPage.md +++ b/old_docs/API_docs_v65/constructors/webPage.md @@ -37,13 +37,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v65/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v65/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 1d9f9b84..d4424ad6 100644 --- a/old_docs/API_docs_v65/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v65/constructors/webPageNotModified.md @@ -16,13 +16,13 @@ description: webPageNotModified attributes, type and example ### Example: ``` -$webPageNotModified = ['_' => 'webPageNotModified', ]; +$webPageNotModified = ['_' => 'webPageNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageNotModified"} +{"_": "webPageNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -webPageNotModified={_='webPageNotModified', } +webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/webPagePending.md b/old_docs/API_docs_v65/constructors/webPagePending.md index 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v65/constructors/webPagePending.md +++ b/old_docs/API_docs_v65/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 6ce6e811..aa7c10a6 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 96aa50b2..e138a97c 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); +$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getTmpPassword -* params - {"password_hash":"bytes","period":"int"} +* params - {"password_hash": "bytes", "period": int, } ``` @@ -65,6 +65,6 @@ period - Json encoded int Or, if you're into Lua: ``` -account_TmpPassword = account.getTmpPassword({password_hash=bytes, period=int, }) +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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_checkPassword.md b/old_docs/API_docs_v65/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v65/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +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 22e17d37..03b7d4f6 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.dropTempAuthKeys -* params - {"except_auth_keys":["long"]} +* params - {"except_auth_keys": [long], } ``` diff --git a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v65/methods/auth_importAuthorization.md b/old_docs/API_docs_v65/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v65/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md index 07c781e0..68158ef5 100644 --- a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['a' => Bool, 'b' => Bool, 'c' => Bool, 'd' => Bool, 'api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['a' => Bool, 'b' => Bool, 'c' => Bool, 'd' => Bool, 'api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"a":"Bool","b":"Bool","c":"Bool","d":"Bool","api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"a": Bool, "b": Bool, "c": Bool, "d": Bool, "api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -75,6 +75,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({a=Bool, b=Bool, c=Bool, d=Bool, api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({a=Bool, b=Bool, c=Bool, d=Bool, api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_logOut.md b/old_docs/API_docs_v65/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v65/methods/auth_logOut.md +++ b/old_docs/API_docs_v65/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/auth_sendCode.md b/old_docs/API_docs_v65/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v65/methods/auth_sendCode.md +++ b/old_docs/API_docs_v65/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_signIn.md b/old_docs/API_docs_v65/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v65/methods/auth_signIn.md +++ b/old_docs/API_docs_v65/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_signUp.md b/old_docs/API_docs_v65/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v65/methods/auth_signUp.md +++ b/old_docs/API_docs_v65/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index 39582760..8a637304 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.answerWebhookJSONQuery -* params - {"query_id":"long","data":"DataJSON"} +* params - {"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 5ccab83b..cca66231 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); +$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.sendCustomRequest -* params - {"custom_method":"string","params":"DataJSON"} +* params - {"custom_method": "string", "params": DataJSON, } ``` @@ -65,6 +65,6 @@ params - Json encoded DataJSON Or, if you're into Lua: ``` -DataJSON = bots.sendCustomRequest({custom_method=string, params=DataJSON, }) +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 e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 85093ef6..2bc64b38 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminedPublicChannels -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v65/methods/channels_getFullChannel.md b/old_docs/API_docs_v65/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v65/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v65/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 8efc1475..b4c9751c 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); +$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contest.saveDeveloperInfo -* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} +* params - {"vk_id": int, "name": "string", "phone_number": "string", "age": int, "city": "string", } ``` @@ -71,6 +71,6 @@ city - Json encoded string Or, if you're into Lua: ``` -Bool = contest.saveDeveloperInfo({vk_id=int, name=string, phone_number=string, age=int, city=string, }) +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 f7f98570..622bc83b 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_auth_key -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index 6475b575..4f28f155 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_session -* params - {"session_id":"long"} +* params - {"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 ffc11909..655b7497 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - get_future_salts -* params - {"num":"int"} +* params - {"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 d1ef32c4..c03127b6 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); +$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"prev_app_version":"string"} +* params - {"prev_app_version": "string", } ``` @@ -63,6 +63,6 @@ prev_app_version - Json encoded string Or, if you're into Lua: ``` -Updates = help.getAppChangelog({prev_app_version=string, }) +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 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"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 e9e6279e..cad05c2e 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); +$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.setBotUpdatesStatus -* params - {"pending_updates_count":"int","message":"string"} +* params - {"pending_updates_count": int, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = help.setBotUpdatesStatus({pending_updates_count=int, message=string, }) +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 805f48d2..81159138 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 9e8a99a1..a402f478 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - {"attached":"Bool"} +* params - {"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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 7e7b074a..f6eb9730 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"revoke":"Bool","id":["int"]} +* params - {"revoke": Bool, "id": [int], } ``` diff --git a/old_docs/API_docs_v65/methods/messages_discardEncryption.md b/old_docs/API_docs_v65/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v65/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f72fb809..b7ca8567 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 2f34348d..a7fcce1f 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllChats -* params - {"except_ids":["int"]} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 a4abf13e..b1d812ad 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"masks":"Bool","offset_id":"long","limit":"int"} +* params - {"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 0a2b8ff2..198085d0 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAttachedStickers -* params - {"media":"InputStickeredMedia"} +* params - {"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 e61ca36e..b7927c14 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"game": Bool, "peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -69,6 +69,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"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 122fbb8d..d8952d0a 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getCommonChats -* params - {"user_id":"InputUser","max_id":"int","limit":"int"} +* params - {"user_id": InputUser, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDhConfig.md b/old_docs/API_docs_v65/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v65/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index e86176a7..907398b2 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +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 3bab2043..a5f3b355 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_getFullChat.md b/old_docs/API_docs_v65/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v65/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v65/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index 07a25b7c..6440ad75 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getGameHighScores -* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} +* params - {"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 b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 218bbc33..725bdd9b 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineGameHighScores -* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} +* params - {"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 8d740e32..2bf3e6d4 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMaskStickers -* params - {"hash":"int"} +* params - {"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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 f3de7a28..f5094cf3 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPinnedDialogs -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index 1e07747d..8d56eb72 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"attached":"Bool","hash":"int"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 fd5ecd88..44ae4536 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); +$WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPage -* params - {"url":"string","hash":"int"} +* params - {"url": "string", "hash": int, } ``` @@ -65,6 +65,6 @@ hash - Json encoded int Or, if you're into Lua: ``` -WebPage = messages.getWebPage({url=string, hash=int, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 6d1e701b..5d07e85c 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 5fc7a340..c0479c69 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - {"id":["long"]} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_receivedQueue.md b/old_docs/API_docs_v65/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v65/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index 151678b0..d1affd43 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderPinnedDialogs -* params - {"force":"Bool","order":["InputPeer"]} +* params - {"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 7ff0d995..484aea5b 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"masks":"Bool","order":["long"]} +* params - {"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 d726392b..5a507859 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportEncryptedSpam -* params - {"peer":"InputEncryptedChat"} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v65/methods/messages_requestEncryption.md b/old_docs/API_docs_v65/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v65/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 96f55049..7f4f1c58 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 6356d86b..223137c2 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", "cache_time": int, } ``` @@ -71,7 +71,7 @@ cache_time - Json encoded int Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, cache_time=int, }) +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 b9393981..6835be0c 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); +$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotPrecheckoutResults -* params - {"success":"Bool","query_id":"long","error":"string"} +* params - {"success": Bool, "query_id": long, "error": "string", } ``` @@ -67,6 +67,6 @@ error - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error=string, }) +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 1ddd01b3..4c67e34d 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); +$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotShippingResults -* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} +* params - {"query_id": long, "error": "string", "shipping_options": [ShippingOption], } ``` @@ -67,6 +67,6 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: ``` -Bool = messages.setBotShippingResults({query_id=long, error=string, shipping_options={ShippingOption}, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 64a2feea..e67c85f8 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setGameScore -* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 df93e25a..16173a31 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineGameScore -* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 d86a96ae..2b9d2716 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleDialogPin -* params - {"pinned":"Bool","peer":"InputPeer"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 4da0da7c..ee0df78b 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.clearSavedInfo -* params - {"credentials":"Bool","info":"Bool"} +* params - {"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 8c495ca5..af6b58f2 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentForm -* params - {"msg_id":"int"} +* params - {"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 81b4e790..17f93c5e 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentReceipt -* params - {"msg_id":"int"} +* params - {"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 e53a85db..6d1e9f34 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getSavedInfo -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index f5e555ed..30e85605 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); +$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.sendPaymentForm -* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} +* params - {"msg_id": int, "requested_info_id": "string", "shipping_option_id": "string", "credentials": InputPaymentCredentials, } ``` @@ -69,6 +69,6 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: ``` -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id=string, shipping_option_id=string, credentials=InputPaymentCredentials, }) +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 96b7ec3a..b5ceec48 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.validateRequestedInfo -* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} +* params - {"save": Bool, "msg_id": int, "info": PaymentRequestedInfo, } ``` diff --git a/old_docs/API_docs_v65/methods/phone_acceptCall.md b/old_docs/API_docs_v65/methods/phone_acceptCall.md index cad5c1d9..3ca0b4b1 100644 --- a/old_docs/API_docs_v65/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v65/methods/phone_acceptCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.acceptCall -* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_b": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_confirmCall.md b/old_docs/API_docs_v65/methods/phone_confirmCall.md index 64063a6f..d9c470c0 100644 --- a/old_docs/API_docs_v65/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v65/methods/phone_confirmCall.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.confirmCall -* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_a": "bytes", "key_fingerprint": long, "protocol": PhoneCallProtocol, } ``` @@ -69,6 +69,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a=bytes, key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_discardCall.md b/old_docs/API_docs_v65/methods/phone_discardCall.md index 7c5b494c..4aac2cc7 100644 --- a/old_docs/API_docs_v65/methods/phone_discardCall.md +++ b/old_docs/API_docs_v65/methods/phone_discardCall.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.discardCall -* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} +* params - {"peer": InputPhoneCall, "duration": int, "reason": PhoneCallDiscardReason, "connection_id": long, } ``` diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index 36ba68f6..d66d52a5 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.getCallConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index e4ba0536..c2e1cd51 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.receivedCall -* params - {"peer":"InputPhoneCall"} +* params - {"peer": InputPhoneCall, } ``` diff --git a/old_docs/API_docs_v65/methods/phone_requestCall.md b/old_docs/API_docs_v65/methods/phone_requestCall.md index c84084ca..f6bba65c 100644 --- a/old_docs/API_docs_v65/methods/phone_requestCall.md +++ b/old_docs/API_docs_v65/methods/phone_requestCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.requestCall -* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +* params - {"user_id": InputUser, "g_a_hash": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index b301968f..42b0d419 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.saveCallDebug -* params - {"peer":"InputPhoneCall","debug":"DataJSON"} +* params - {"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 82dd9d5e..bed3b703 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); +$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.setCallRating -* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} +* params - {"peer": InputPhoneCall, "rating": int, "comment": "string", } ``` @@ -67,6 +67,6 @@ comment - Json encoded string Or, if you're into Lua: ``` -Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment=string, }) +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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 63f2ae84..6b472abd 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto"} +* params - {"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 408a631f..a85311f1 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile"} +* params - {"file": InputFile, } ``` diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index 89f77caa..3d4bdf41 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping -* params - {"ping_id":"long"} +* params - {"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 ede5fe98..939276f1 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping_delay_disconnect -* params - {"ping_id":"long","disconnect_delay":"int"} +* params - {"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 b2e16150..fc8718ad 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); +$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_DH_params -* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "p": "string", "q": "string", "public_key_fingerprint": long, "encrypted_data": "string", } ``` @@ -73,6 +73,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p=string, q=string, public_key_fingerprint=long, encrypted_data=string, }) +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 7a9b2f2c..a0bb7518 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_pq -* params - {"nonce":"int128"} +* params - {"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 8fc7854d..30d13e3c 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - rpc_drop_answer -* params - {"req_msg_id":"long"} +* params - {"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 26fb4dc2..b2852e6f 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 @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); +$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - set_client_DH_params -* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "encrypted_data": "string", } ``` @@ -67,6 +67,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data=string, }) +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/updates_getChannelDifference.md b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md index 81a25d86..5ea1d5b8 100644 --- a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"force": Bool, "channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v65/methods/updates_getDifference.md b/old_docs/API_docs_v65/methods/updates_getDifference.md index 7d23893b..c88bf3d9 100644 --- a/old_docs/API_docs_v65/methods/updates_getDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} +* params - {"pts": int, "pts_total_limit": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v65/methods/updates_getState.md b/old_docs/API_docs_v65/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v65/methods/updates_getState.md +++ b/old_docs/API_docs_v65/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v65/methods/upload_getFile.md b/old_docs/API_docs_v65/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v65/methods/upload_getFile.md +++ b/old_docs/API_docs_v65/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index 4206040a..35f15299 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getWebFile -* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} +* params - {"location": InputWebFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/upload_saveFilePart.md b/old_docs/API_docs_v65/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v65/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/users_getFullUser.md b/old_docs/API_docs_v65/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v65/methods/users_getFullUser.md +++ b/old_docs/API_docs_v65/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/old_docs/API_docs_v66/constructors/accountDaysTTL.md b/old_docs/API_docs_v66/constructors/accountDaysTTL.md index 96a39501..34ce8268 100644 --- a/old_docs/API_docs_v66/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v66/constructors/accountDaysTTL.md @@ -21,13 +21,13 @@ description: accountDaysTTL attributes, type and example ### Example: ``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"accountDaysTTL","days":"int"} +{"_": "accountDaysTTL", "days": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -accountDaysTTL={_='accountDaysTTL', days=int, } +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 1193f79f..879a2675 100644 --- a/old_docs/API_docs_v66/constructors/account_authorizations.md +++ b/old_docs/API_docs_v66/constructors/account_authorizations.md @@ -21,13 +21,13 @@ description: account_authorizations attributes, type and example ### Example: ``` -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; +$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.authorizations","authorizations":["Authorization"]} +{"_": "account.authorizations", "authorizations": [Authorization]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_authorizations={_='account.authorizations', authorizations={Authorization}, } +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 8d72ba1e..fc9d5f2d 100644 --- a/old_docs/API_docs_v66/constructors/account_noPassword.md +++ b/old_docs/API_docs_v66/constructors/account_noPassword.md @@ -22,13 +22,13 @@ description: account_noPassword attributes, type and example ### Example: ``` -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, } +account_noPassword={_='account.noPassword', new_salt='bytes', 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 82c70291..3643863a 100644 --- a/old_docs/API_docs_v66/constructors/account_password.md +++ b/old_docs/API_docs_v66/constructors/account_password.md @@ -25,13 +25,13 @@ description: account_password attributes, type and example ### Example: ``` -$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, } +account_password={_='account.password', 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 c6069bb7..390bbddf 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md @@ -24,13 +24,13 @@ description: account_passwordInputSettings attributes, type and example ### Example: ``` -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, } +account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/account_passwordSettings.md b/old_docs/API_docs_v66/constructors/account_passwordSettings.md index ef237459..4006ebb6 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordSettings.md @@ -21,13 +21,13 @@ description: account_passwordSettings attributes, type and example ### Example: ``` -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; +$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.passwordSettings","email":"string"} +{"_": "account.passwordSettings", "email": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -account_passwordSettings={_='account.passwordSettings', email=string, } +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 204d1644..3e53cc01 100644 --- a/old_docs/API_docs_v66/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v66/constructors/account_privacyRules.md @@ -22,13 +22,13 @@ description: account_privacyRules attributes, type and example ### Example: ``` -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; +$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, } +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 51739691..8e164842 100644 --- a/old_docs/API_docs_v66/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v66/constructors/account_tmpPassword.md @@ -22,13 +22,13 @@ description: account_tmpPassword attributes, type and example ### Example: ``` -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; +$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +{"_": "account.tmpPassword", "tmp_password": "bytes", "valid_until": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -account_tmpPassword={_='account.tmpPassword', tmp_password=bytes, valid_until=int, } +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 b59d5d96..dacdc97c 100644 --- a/old_docs/API_docs_v66/constructors/auth_authorization.md +++ b/old_docs/API_docs_v66/constructors/auth_authorization.md @@ -22,13 +22,13 @@ description: auth_authorization attributes, type and example ### Example: ``` -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; +$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +{"_": "auth.authorization", "tmp_sessions": int, "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, } +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 d4287716..56177530 100644 --- a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md @@ -21,13 +21,13 @@ description: auth_checkedPhone attributes, type and example ### Example: ``` -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; +$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.checkedPhone","phone_registered":"Bool"} +{"_": "auth.checkedPhone", "phone_registered": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, } +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 714eb23c..7bd98991 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeCall attributes, type and example ### Example: ``` -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; +$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeCall"} +{"_": "auth.codeTypeCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeCall={_='auth.codeTypeCall', } +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 c535eccf..918580f1 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md @@ -16,13 +16,13 @@ description: auth_codeTypeFlashCall attributes, type and example ### Example: ``` -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; +$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeFlashCall"} +{"_": "auth.codeTypeFlashCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', } +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 cbeb31cb..62f00c11 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md @@ -16,13 +16,13 @@ description: auth_codeTypeSms attributes, type and example ### Example: ``` -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; +$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.codeTypeSms"} +{"_": "auth.codeTypeSms"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -auth_codeTypeSms={_='auth.codeTypeSms', } +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 4c5aede6..8a9c7ef0 100644 --- a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md @@ -22,13 +22,13 @@ description: auth_exportedAuthorization attributes, type and example ### Example: ``` -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, } +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 2fb75278..e5d838ce 100644 --- a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md @@ -21,13 +21,13 @@ description: auth_passwordRecovery attributes, type and example ### Example: ``` -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; +$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.passwordRecovery","email_pattern":"string"} +{"_": "auth.passwordRecovery", "email_pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, } +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 51e2d458..ad2563bf 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCode.md @@ -25,13 +25,13 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md index 2456a284..5610a6f8 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeApp attributes, type and example ### Example: ``` -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; +$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeApp","length":"int"} +{"_": "auth.sentCodeTypeApp", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, } +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 39745809..593e6e66 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; +$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeCall","length":"int"} +{"_": "auth.sentCodeTypeCall", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, } +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 2ba727ec..e55092c2 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ### Example: ``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; +$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, } +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 4a350ff6..ec375dbe 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md @@ -21,13 +21,13 @@ description: auth_sentCodeTypeSms attributes, type and example ### Example: ``` -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; +$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"auth.sentCodeTypeSms","length":"int"} +{"_": "auth.sentCodeTypeSms", "length": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, } +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 27c3bcd9..dd7c0096 100644 --- a/old_docs/API_docs_v66/constructors/authorization.md +++ b/old_docs/API_docs_v66/constructors/authorization.md @@ -32,13 +32,13 @@ description: authorization attributes, type and example ### Example: ``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"authorization","hash":"long","device_model":"string","platform":"string","system_version":"string","api_id":"int","app_name":"string","app_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +{"_": "authorization", "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"} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -authorization={_='authorization', hash=long, device_model=string, platform=string, system_version=string, api_id=int, app_name=string, app_version=string, date_created=int, date_active=int, ip=string, country=string, region=string, } +authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'} ``` 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 1273c1b5..84b199cf 100644 --- a/old_docs/API_docs_v66/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v66/constructors/bad_msg_notification.md @@ -23,13 +23,13 @@ description: bad_msg_notification attributes, type and example ### Example: ``` -$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ]; +$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +{"_": "bad_msg_notification", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int, } +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 8eca3a7d..dcf8d611 100644 --- a/old_docs/API_docs_v66/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v66/constructors/bad_server_salt.md @@ -24,13 +24,13 @@ description: bad_server_salt attributes, type and example ### Example: ``` -$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ]; +$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long, } +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 3a1e136e..2fd5f79a 100644 --- a/old_docs/API_docs_v66/constructors/botCommand.md +++ b/old_docs/API_docs_v66/constructors/botCommand.md @@ -22,13 +22,13 @@ description: botCommand attributes, type and example ### Example: ``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botCommand","command":"string","description":"string"} +{"_": "botCommand", "command": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botCommand={_='botCommand', command=string, description=string, } +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 baaf28fd..b0671944 100644 --- a/old_docs/API_docs_v66/constructors/botInfo.md +++ b/old_docs/API_docs_v66/constructors/botInfo.md @@ -23,13 +23,13 @@ description: botInfo attributes, type and example ### Example: ``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, } +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 29854010..db4125fd 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineMediaResult.md @@ -27,13 +27,13 @@ description: botInlineMediaResult attributes, type and example ### Example: ``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, } +botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md index c652331d..059861a9 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaAuto attributes, type and example ### Example: ``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 5e57bf4f..4ad5d55f 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: botInlineMessageMediaContact attributes, type and example ### Example: ``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 04a4abed..3757bc72 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: botInlineMessageMediaGeo attributes, type and example ### Example: ``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, } +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 6c08ee05..74096c62 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: botInlineMessageMediaVenue attributes, type and example ### Example: ``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageText.md b/old_docs/API_docs_v66/constructors/botInlineMessageText.md index 007acd3d..823abd3f 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageText.md @@ -24,13 +24,13 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineResult.md b/old_docs/API_docs_v66/constructors/botInlineResult.md index 57255b6c..e05e0c34 100644 --- a/old_docs/API_docs_v66/constructors/botInlineResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineResult.md @@ -32,13 +32,13 @@ description: botInlineResult attributes, type and example ### Example: ``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"botInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"BotInlineMessage"} +{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -botInlineResult={_='botInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=BotInlineMessage, } +botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 e1cf767d..b53375af 100644 --- a/old_docs/API_docs_v66/constructors/cdnConfig.md +++ b/old_docs/API_docs_v66/constructors/cdnConfig.md @@ -21,13 +21,13 @@ description: cdnConfig attributes, type and example ### Example: ``` -$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ]; +$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"cdnConfig","public_keys":["CdnPublicKey"]} +{"_": "cdnConfig", "public_keys": [CdnPublicKey]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}, } +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 4cbc1de9..dfd91b7a 100644 --- a/old_docs/API_docs_v66/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v66/constructors/cdnPublicKey.md @@ -22,13 +22,13 @@ description: cdnPublicKey attributes, type and example ### Example: ``` -$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => string, ]; +$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"cdnPublicKey","dc_id":"int","public_key":"string"} +{"_": "cdnPublicKey", "dc_id": int, "public_key": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key=string, } +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 86740c87..90260ddb 100644 --- a/old_docs/API_docs_v66/constructors/channel.md +++ b/old_docs/API_docs_v66/constructors/channel.md @@ -40,13 +40,13 @@ description: channel attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -54,7 +54,7 @@ Or, if you're into 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, } +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 3d3a3a69..96368a50 100644 --- a/old_docs/API_docs_v66/constructors/channelForbidden.md +++ b/old_docs/API_docs_v66/constructors/channelForbidden.md @@ -25,13 +25,13 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } +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 ea66e000..c87aa036 100644 --- a/old_docs/API_docs_v66/constructors/channelFull.md +++ b/old_docs/API_docs_v66/constructors/channelFull.md @@ -37,13 +37,13 @@ description: channelFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 677f7356..5dc7ee39 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilter.md @@ -22,13 +22,13 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } +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 3b33c9c4..6be823f7 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: channelMessagesFilterEmpty attributes, type and example ### Example: ``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelMessagesFilterEmpty"} +{"_": "channelMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', } +channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipant.md b/old_docs/API_docs_v66/constructors/channelParticipant.md index d412461b..f23a0b71 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channelParticipant.md @@ -22,13 +22,13 @@ description: channelParticipant attributes, type and example ### Example: ``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipant","user_id":"int","date":"int"} +{"_": "channelParticipant", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channelParticipant={_='channelParticipant', user_id=int, date=int, } +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 04cb2e8e..a45312db 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantCreator.md @@ -21,13 +21,13 @@ description: channelParticipantCreator attributes, type and example ### Example: ``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantCreator","user_id":"int"} +{"_": "channelParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -channelParticipantCreator={_='channelParticipantCreator', user_id=int, } +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 64f84b38..9c1b0b2e 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantEditor.md @@ -23,13 +23,13 @@ description: channelParticipantEditor attributes, type and example ### Example: ``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantEditor", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, } +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 4aedad4d..98c917e3 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantKicked.md @@ -23,13 +23,13 @@ description: channelParticipantKicked attributes, type and example ### Example: ``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +{"_": "channelParticipantKicked", "user_id": int, "kicked_by": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, } +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 634f9de8..dfc9bc03 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantModerator.md @@ -23,13 +23,13 @@ description: channelParticipantModerator attributes, type and example ### Example: ``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantModerator", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, } +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 a81283d0..559df464 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantSelf.md @@ -23,13 +23,13 @@ description: channelParticipantSelf attributes, type and example ### Example: ``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, } +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 176597ef..a2e84ba1 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md @@ -16,13 +16,13 @@ description: channelParticipantsAdmins attributes, type and example ### Example: ``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsAdmins"} +{"_": "channelParticipantsAdmins"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsAdmins={_='channelParticipantsAdmins', } +channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md index 963f155e..b2ef7721 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md @@ -16,13 +16,13 @@ description: channelParticipantsBots attributes, type and example ### Example: ``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +$channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsBots"} +{"_": "channelParticipantsBots"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsBots={_='channelParticipantsBots', } +channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md index 37714c3e..b727d7e8 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md @@ -16,13 +16,13 @@ description: channelParticipantsKicked attributes, type and example ### Example: ``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsKicked"} +{"_": "channelParticipantsKicked"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsKicked={_='channelParticipantsKicked', } +channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md index 1e4dab55..0bfe34d8 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md @@ -16,13 +16,13 @@ description: channelParticipantsRecent attributes, type and example ### Example: ``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelParticipantsRecent"} +{"_": "channelParticipantsRecent"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelParticipantsRecent={_='channelParticipantsRecent', } +channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleEditor.md b/old_docs/API_docs_v66/constructors/channelRoleEditor.md index fea2e406..c9711edf 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEditor.md @@ -16,13 +16,13 @@ description: channelRoleEditor attributes, type and example ### Example: ``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +$channelRoleEditor = ['_' => 'channelRoleEditor']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEditor"} +{"_": "channelRoleEditor"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEditor={_='channelRoleEditor', } +channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md index 932c9fb4..56495946 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md @@ -16,13 +16,13 @@ description: channelRoleEmpty attributes, type and example ### Example: ``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +$channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleEmpty"} +{"_": "channelRoleEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleEmpty={_='channelRoleEmpty', } +channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleModerator.md b/old_docs/API_docs_v66/constructors/channelRoleModerator.md index 5d6a37d1..ee69817b 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v66/constructors/channelRoleModerator.md @@ -16,13 +16,13 @@ description: channelRoleModerator attributes, type and example ### Example: ``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +$channelRoleModerator = ['_' => 'channelRoleModerator']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channelRoleModerator"} +{"_": "channelRoleModerator"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -channelRoleModerator={_='channelRoleModerator', } +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 25c0b1e1..63808d3d 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md @@ -22,13 +22,13 @@ description: channels_channelParticipant attributes, type and example ### Example: ``` -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; +$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, } +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 472eb468..ddfcc7ec 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md @@ -23,13 +23,13 @@ description: channels_channelParticipants attributes, type and example ### Example: ``` -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, } +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 70955e06..0c6c037c 100644 --- a/old_docs/API_docs_v66/constructors/chat.md +++ b/old_docs/API_docs_v66/constructors/chat.md @@ -33,13 +33,13 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +{"_": "chat", "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} ``` @@ -47,7 +47,7 @@ Or, if you're into Lua: ``` -chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel} ``` diff --git a/old_docs/API_docs_v66/constructors/chatEmpty.md b/old_docs/API_docs_v66/constructors/chatEmpty.md index 27771917..ed3963db 100644 --- a/old_docs/API_docs_v66/constructors/chatEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatEmpty.md @@ -21,13 +21,13 @@ description: chatEmpty attributes, type and example ### Example: ``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +$chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatEmpty","id":"int"} +{"_": "chatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatEmpty={_='chatEmpty', id=int, } +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 73dd02cd..4999057b 100644 --- a/old_docs/API_docs_v66/constructors/chatForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatForbidden.md @@ -22,13 +22,13 @@ description: chatForbidden attributes, type and example ### Example: ``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatForbidden","id":"int","title":"string"} +{"_": "chatForbidden", "id": int, "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatForbidden={_='chatForbidden', id=int, title=string, } +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 98316087..4ad41e47 100644 --- a/old_docs/API_docs_v66/constructors/chatFull.md +++ b/old_docs/API_docs_v66/constructors/chatFull.md @@ -26,13 +26,13 @@ description: chatFull attributes, type and example ### Example: ``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, } +chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInvite.md b/old_docs/API_docs_v66/constructors/chatInvite.md index b818ebc8..0d3e8592 100644 --- a/old_docs/API_docs_v66/constructors/chatInvite.md +++ b/old_docs/API_docs_v66/constructors/chatInvite.md @@ -28,13 +28,13 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInviteAlready.md b/old_docs/API_docs_v66/constructors/chatInviteAlready.md index 3b09335e..355b06ad 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v66/constructors/chatInviteAlready.md @@ -21,13 +21,13 @@ description: chatInviteAlready attributes, type and example ### Example: ``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteAlready","chat":"Chat"} +{"_": "chatInviteAlready", "chat": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteAlready={_='chatInviteAlready', chat=Chat, } +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 91fdcae4..350c949e 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatInviteEmpty.md @@ -16,13 +16,13 @@ description: chatInviteEmpty attributes, type and example ### Example: ``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +$chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteEmpty"} +{"_": "chatInviteEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatInviteEmpty={_='chatInviteEmpty', } +chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInviteExported.md b/old_docs/API_docs_v66/constructors/chatInviteExported.md index 98bba1b0..aec9b2a8 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v66/constructors/chatInviteExported.md @@ -21,13 +21,13 @@ description: chatInviteExported attributes, type and example ### Example: ``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatInviteExported","link":"string"} +{"_": "chatInviteExported", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatInviteExported={_='chatInviteExported', link=string, } +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 d2968dc8..8b4093ef 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipant.md +++ b/old_docs/API_docs_v66/constructors/chatParticipant.md @@ -23,13 +23,13 @@ description: chatParticipant attributes, type and example ### Example: ``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, } +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 775f29c7..8afc70b2 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md @@ -23,13 +23,13 @@ description: chatParticipantAdmin attributes, type and example ### Example: ``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, } +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 687dd93f..362e525a 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantCreator.md @@ -21,13 +21,13 @@ description: chatParticipantCreator attributes, type and example ### Example: ``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantCreator","user_id":"int"} +{"_": "chatParticipantCreator", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -chatParticipantCreator={_='chatParticipantCreator', user_id=int, } +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 c1602888..13220a2c 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipants.md +++ b/old_docs/API_docs_v66/constructors/chatParticipants.md @@ -23,13 +23,13 @@ description: chatParticipants attributes, type and example ### Example: ``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, } +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 4f3142a7..f870312b 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md @@ -22,13 +22,13 @@ description: chatParticipantsForbidden attributes, type and example ### Example: ``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, } +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 eaa9b1ed..a548ad94 100644 --- a/old_docs/API_docs_v66/constructors/chatPhoto.md +++ b/old_docs/API_docs_v66/constructors/chatPhoto.md @@ -22,13 +22,13 @@ description: chatPhoto attributes, type and example ### Example: ``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, } +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 6c5a2a3b..d96f7a9d 100644 --- a/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md @@ -16,13 +16,13 @@ description: chatPhotoEmpty attributes, type and example ### Example: ``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"chatPhotoEmpty"} +{"_": "chatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -chatPhotoEmpty={_='chatPhotoEmpty', } +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 1505e457..21cc76dc 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,13 +24,13 @@ description: client_DH_inner_data attributes, type and example ### Example: ``` -$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => string, ]; +$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b=string, } +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 efe9467d..c377d038 100644 --- a/old_docs/API_docs_v66/constructors/config.md +++ b/old_docs/API_docs_v66/constructors/config.md @@ -50,13 +50,13 @@ description: config attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -64,7 +64,7 @@ Or, if you're into 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}, } +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 bb3124e4..e7f562ee 100644 --- a/old_docs/API_docs_v66/constructors/contact.md +++ b/old_docs/API_docs_v66/constructors/contact.md @@ -22,13 +22,13 @@ description: contact attributes, type and example ### Example: ``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contact","user_id":"int","mutual":"Bool"} +{"_": "contact", "user_id": int, "mutual": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contact={_='contact', user_id=int, mutual=Bool, } +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 97cdc29f..3136e7bf 100644 --- a/old_docs/API_docs_v66/constructors/contactBlocked.md +++ b/old_docs/API_docs_v66/constructors/contactBlocked.md @@ -22,13 +22,13 @@ description: contactBlocked attributes, type and example ### Example: ``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactBlocked","user_id":"int","date":"int"} +{"_": "contactBlocked", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactBlocked={_='contactBlocked', user_id=int, date=int, } +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 f3d96629..3dfd9b17 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v66/constructors/contactLinkContact.md @@ -16,13 +16,13 @@ description: contactLinkContact attributes, type and example ### Example: ``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; +$contactLinkContact = ['_' => 'contactLinkContact']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkContact"} +{"_": "contactLinkContact"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkContact={_='contactLinkContact', } +contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md index f298fae8..7f0b84ae 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md @@ -16,13 +16,13 @@ description: contactLinkHasPhone attributes, type and example ### Example: ``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkHasPhone"} +{"_": "contactLinkHasPhone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkHasPhone={_='contactLinkHasPhone', } +contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkNone.md b/old_docs/API_docs_v66/constructors/contactLinkNone.md index 528857a0..e1575f80 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkNone.md @@ -16,13 +16,13 @@ description: contactLinkNone attributes, type and example ### Example: ``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; +$contactLinkNone = ['_' => 'contactLinkNone']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkNone"} +{"_": "contactLinkNone"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkNone={_='contactLinkNone', } +contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md index 12095501..bf1848f1 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md @@ -16,13 +16,13 @@ description: contactLinkUnknown attributes, type and example ### Example: ``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +$contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactLinkUnknown"} +{"_": "contactLinkUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contactLinkUnknown={_='contactLinkUnknown', } +contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactStatus.md b/old_docs/API_docs_v66/constructors/contactStatus.md index 8ffaa80f..4d3292fb 100644 --- a/old_docs/API_docs_v66/constructors/contactStatus.md +++ b/old_docs/API_docs_v66/constructors/contactStatus.md @@ -22,13 +22,13 @@ description: contactStatus attributes, type and example ### Example: ``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contactStatus","user_id":"int","status":"UserStatus"} +{"_": "contactStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contactStatus={_='contactStatus', user_id=int, status=UserStatus, } +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 5e4f9011..f2c2997b 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v66/constructors/contacts_blocked.md @@ -22,13 +22,13 @@ description: contacts_blocked attributes, type and example ### Example: ``` -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blocked", "blocked": [ContactBlocked], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, } +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 f72d3201..f31f07ff 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md @@ -23,13 +23,13 @@ description: contacts_blockedSlice attributes, type and example ### Example: ``` -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +{"_": "contacts.blockedSlice", "count": int, "blocked": [ContactBlocked], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, } +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 bb8baee8..269cc9b1 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_contacts.md @@ -22,13 +22,13 @@ description: contacts_contacts attributes, type and example ### Example: ``` -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; +$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +{"_": "contacts.contacts", "contacts": [Contact], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, } +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 51d8111e..e62073c2 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md @@ -16,13 +16,13 @@ description: contacts_contactsNotModified attributes, type and example ### Example: ``` -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; +$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.contactsNotModified"} +{"_": "contacts.contactsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_contactsNotModified={_='contacts.contactsNotModified', } +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 b6e6de1d..9b1116ce 100644 --- a/old_docs/API_docs_v66/constructors/contacts_found.md +++ b/old_docs/API_docs_v66/constructors/contacts_found.md @@ -23,13 +23,13 @@ description: contacts_found attributes, type and example ### Example: ``` -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +$contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.found", "results": [Peer], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}, } +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 8a60bc35..0c02999d 100644 --- a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md @@ -23,13 +23,13 @@ description: contacts_importedContacts attributes, type and example ### Example: ``` -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +{"_": "contacts.importedContacts", "imported": [ImportedContact], "retry_contacts": [long], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}, } +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 54dee7da..8fb07e52 100644 --- a/old_docs/API_docs_v66/constructors/contacts_link.md +++ b/old_docs/API_docs_v66/constructors/contacts_link.md @@ -23,13 +23,13 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +{"_": "contacts.link", "my_link": ContactLink, "foreign_link": ContactLink, "user": User} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User, } +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 059853b4..ba469731 100644 --- a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md @@ -23,13 +23,13 @@ description: contacts_resolvedPeer attributes, type and example ### Example: ``` -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +{"_": "contacts.resolvedPeer", "peer": Peer, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, } +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 d059cb80..466f92df 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeers.md @@ -23,13 +23,13 @@ description: contacts_topPeers attributes, type and example ### Example: ``` -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +{"_": "contacts.topPeers", "categories": [TopPeerCategoryPeers], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}, } +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 ce380f72..80fde57c 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md @@ -16,13 +16,13 @@ description: contacts_topPeersNotModified attributes, type and example ### Example: ``` -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; +$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"contacts.topPeersNotModified"} +{"_": "contacts.topPeersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -contacts_topPeersNotModified={_='contacts.topPeersNotModified', } +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 5ad2bebc..5236b22d 100644 --- a/old_docs/API_docs_v66/constructors/dataJSON.md +++ b/old_docs/API_docs_v66/constructors/dataJSON.md @@ -21,13 +21,13 @@ description: dataJSON attributes, type and example ### Example: ``` -$dataJSON = ['_' => 'dataJSON', 'data' => string, ]; +$dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dataJSON","data":"string"} +{"_": "dataJSON", "data": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -dataJSON={_='dataJSON', data=string, } +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 4fefb10e..99a65bb6 100644 --- a/old_docs/API_docs_v66/constructors/dcOption.md +++ b/old_docs/API_docs_v66/constructors/dcOption.md @@ -27,13 +27,13 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","cdn":"Bool","id":"int","ip_address":"string","port":"int"} +{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "cdn": Bool, "id": int, "ip_address": "string", "port": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, id=int, ip_address=string, port=int, } +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 00dececb..10a36c8b 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,13 +16,13 @@ description: destroy_auth_key_fail attributes, type and example ### Example: ``` -$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; +$destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_fail"} +{"_": "destroy_auth_key_fail"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_fail={_='destroy_auth_key_fail', } +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 2d5ed5f3..7993b634 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,13 +16,13 @@ description: destroy_auth_key_none attributes, type and example ### Example: ``` -$destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; +$destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_none"} +{"_": "destroy_auth_key_none"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_none={_='destroy_auth_key_none', } +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 642a29c3..d12edc22 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,13 +16,13 @@ description: destroy_auth_key_ok attributes, type and example ### Example: ``` -$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; +$destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_auth_key_ok"} +{"_": "destroy_auth_key_ok"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -destroy_auth_key_ok={_='destroy_auth_key_ok', } +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 9e5278b4..e4955d4b 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_none.md @@ -21,13 +21,13 @@ description: destroy_session_none attributes, type and example ### Example: ``` -$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; +$destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_none","session_id":"long"} +{"_": "destroy_session_none", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_none={_='destroy_session_none', session_id=long, } +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 17b39b93..dc69ae67 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_ok.md @@ -21,13 +21,13 @@ description: destroy_session_ok attributes, type and example ### Example: ``` -$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; +$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"destroy_session_ok","session_id":"long"} +{"_": "destroy_session_ok", "session_id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -destroy_session_ok={_='destroy_session_ok', session_id=long, } +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 320b9306..3e67eac0 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_fail.md @@ -23,13 +23,13 @@ description: dh_gen_fail attributes, type and example ### Example: ``` -$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; +$dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +{"_": "dh_gen_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash3": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128, } +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 2b43d907..eedb309f 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_ok.md @@ -23,13 +23,13 @@ description: dh_gen_ok attributes, type and example ### Example: ``` -$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; +$dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +{"_": "dh_gen_ok", "nonce": int128, "server_nonce": int128, "new_nonce_hash1": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128, } +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 db5c1928..e631eca6 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_retry.md @@ -23,13 +23,13 @@ description: dh_gen_retry attributes, type and example ### Example: ``` -$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; +$dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +{"_": "dh_gen_retry", "nonce": int128, "server_nonce": int128, "new_nonce_hash2": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128, } +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 5c5c2008..4fc1d4be 100644 --- a/old_docs/API_docs_v66/constructors/dialog.md +++ b/old_docs/API_docs_v66/constructors/dialog.md @@ -29,13 +29,13 @@ description: dialog attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 26697c44..0cee5b7d 100644 --- a/old_docs/API_docs_v66/constructors/disabledFeature.md +++ b/old_docs/API_docs_v66/constructors/disabledFeature.md @@ -22,13 +22,13 @@ description: disabledFeature attributes, type and example ### Example: ``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +$disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"disabledFeature","feature":"string","description":"string"} +{"_": "disabledFeature", "feature": "string", "description": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -disabledFeature={_='disabledFeature', feature=string, description=string, } +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 fdadf27d..2a1319da 100644 --- a/old_docs/API_docs_v66/constructors/document.md +++ b/old_docs/API_docs_v66/constructors/document.md @@ -29,13 +29,13 @@ description: document attributes, type and example ### Example: ``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +{"_": "document", "id": long, "access_hash": long, "date": int, "mime_type": "string", "size": int, "thumb": PhotoSize, "dc_id": int, "version": int, "attributes": [DocumentAttribute]} ``` @@ -43,7 +43,7 @@ Or, if you're into Lua: ``` -document={_='document', id=long, access_hash=long, date=int, mime_type=string, size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}, } +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 fdb6007a..b6032966 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md @@ -16,13 +16,13 @@ description: documentAttributeAnimated attributes, type and example ### Example: ``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAnimated"} +{"_": "documentAttributeAnimated"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeAnimated={_='documentAttributeAnimated', } +documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md index 74aa516d..231c0015 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md @@ -25,13 +25,13 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +{"_": "documentAttributeAudio", "voice": Bool, "duration": int, "title": "string", "performer": "string", "waveform": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } +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 5bd3ed3f..8b7d0858 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeFilename.md @@ -21,13 +21,13 @@ description: documentAttributeFilename attributes, type and example ### Example: ``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeFilename","file_name":"string"} +{"_": "documentAttributeFilename", "file_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentAttributeFilename={_='documentAttributeFilename', file_name=string, } +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 b09f783d..f1e3342e 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md @@ -16,13 +16,13 @@ description: documentAttributeHasStickers attributes, type and example ### Example: ``` -$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; +$documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeHasStickers"} +{"_": "documentAttributeHasStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -documentAttributeHasStickers={_='documentAttributeHasStickers', } +documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md index f89e7bc3..eef0f537 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md @@ -22,13 +22,13 @@ description: documentAttributeImageSize attributes, type and example ### Example: ``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeImageSize","w":"int","h":"int"} +{"_": "documentAttributeImageSize", "w": int, "h": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int, } +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 77b8f437..a7923f10 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeSticker.md @@ -24,13 +24,13 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +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 26a3dd47..9e05b394 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeVideo.md @@ -24,13 +24,13 @@ description: documentAttributeVideo attributes, type and example ### Example: ``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +{"_": "documentAttributeVideo", "round_message": Bool, "duration": int, "w": int, "h": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int, } +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 e9aa30bf..453426f2 100644 --- a/old_docs/API_docs_v66/constructors/documentEmpty.md +++ b/old_docs/API_docs_v66/constructors/documentEmpty.md @@ -21,13 +21,13 @@ description: documentEmpty attributes, type and example ### Example: ``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +$documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"documentEmpty","id":"long"} +{"_": "documentEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -documentEmpty={_='documentEmpty', id=long, } +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 57d7d5c9..a26adb2f 100644 --- a/old_docs/API_docs_v66/constructors/draftMessage.md +++ b/old_docs/API_docs_v66/constructors/draftMessage.md @@ -25,13 +25,13 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity], 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +{"_": "draftMessage", "no_webpage": Bool, "reply_to_msg_id": int, "message": "string", "entities": [MessageEntity], "date": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +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 4a9098b7..7dd519bf 100644 --- a/old_docs/API_docs_v66/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v66/constructors/draftMessageEmpty.md @@ -16,13 +16,13 @@ description: draftMessageEmpty attributes, type and example ### Example: ``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +$draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"draftMessageEmpty"} +{"_": "draftMessageEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -draftMessageEmpty={_='draftMessageEmpty', } +draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChat.md b/old_docs/API_docs_v66/constructors/encryptedChat.md index e111cf85..422ba333 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChat.md +++ b/old_docs/API_docs_v66/constructors/encryptedChat.md @@ -27,13 +27,13 @@ description: encryptedChat attributes, type and example ### Example: ``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +{"_": "encryptedChat", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_or_b": "bytes", "key_fingerprint": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, } +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 620b388d..eeb0ce49 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md @@ -21,13 +21,13 @@ description: encryptedChatDiscarded attributes, type and example ### Example: ``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatDiscarded","id":"int"} +{"_": "encryptedChatDiscarded", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatDiscarded={_='encryptedChatDiscarded', id=int, } +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 9a117956..7c55a79d 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md @@ -21,13 +21,13 @@ description: encryptedChatEmpty attributes, type and example ### Example: ``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatEmpty","id":"int"} +{"_": "encryptedChatEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -encryptedChatEmpty={_='encryptedChatEmpty', id=int, } +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 6dca288c..772d69de 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatRequested.md @@ -26,13 +26,13 @@ description: encryptedChatRequested attributes, type and example ### Example: ``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": "bytes"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a=bytes, } +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 8b420c58..510f6ff6 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md @@ -25,13 +25,13 @@ description: encryptedChatWaiting attributes, type and example ### Example: ``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +{"_": "encryptedChatWaiting", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, } +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 e51c9c21..f606de10 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFile.md +++ b/old_docs/API_docs_v66/constructors/encryptedFile.md @@ -25,13 +25,13 @@ description: encryptedFile attributes, type and example ### Example: ``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int, } +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 0843efb8..f5a9b445 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md @@ -16,13 +16,13 @@ description: encryptedFileEmpty attributes, type and example ### Example: ``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedFileEmpty"} +{"_": "encryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -encryptedFileEmpty={_='encryptedFileEmpty', } +encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedMessage.md b/old_docs/API_docs_v66/constructors/encryptedMessage.md index 0282c81c..3fefd094 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessage.md @@ -24,13 +24,13 @@ description: encryptedMessage attributes, type and example ### Example: ``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile, } +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 0a793536..e5d3d75e 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessageService.md @@ -23,13 +23,13 @@ description: encryptedMessageService attributes, type and example ### Example: ``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage, } +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 f4258241..a91fe492 100644 --- a/old_docs/API_docs_v66/constructors/error.md +++ b/old_docs/API_docs_v66/constructors/error.md @@ -22,13 +22,13 @@ description: error attributes, type and example ### Example: ``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +$error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"error","code":"int","text":"string"} +{"_": "error", "code": int, "text": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -error={_='error', code=int, text=string, } +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 b6f0c21f..77869205 100644 --- a/old_docs/API_docs_v66/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v66/constructors/exportedMessageLink.md @@ -21,13 +21,13 @@ description: exportedMessageLink attributes, type and example ### Example: ``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"exportedMessageLink","link":"string"} +{"_": "exportedMessageLink", "link": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -exportedMessageLink={_='exportedMessageLink', link=string, } +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 698cedf4..1ffaa4e4 100644 --- a/old_docs/API_docs_v66/constructors/fileLocation.md +++ b/old_docs/API_docs_v66/constructors/fileLocation.md @@ -24,13 +24,13 @@ description: fileLocation attributes, type and example ### Example: ``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, } +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 5428abdf..fd503344 100644 --- a/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md @@ -23,13 +23,13 @@ description: fileLocationUnavailable attributes, type and example ### Example: ``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +{"_": "fileLocationUnavailable", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long, } +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 99a0faa0..03769154 100644 --- a/old_docs/API_docs_v66/constructors/foundGif.md +++ b/old_docs/API_docs_v66/constructors/foundGif.md @@ -26,13 +26,13 @@ description: foundGif attributes, type and example ### Example: ``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -foundGif={_='foundGif', url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, } +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 a73fb47c..74c8ff7c 100644 --- a/old_docs/API_docs_v66/constructors/foundGifCached.md +++ b/old_docs/API_docs_v66/constructors/foundGifCached.md @@ -23,13 +23,13 @@ description: foundGifCached attributes, type and example ### Example: ``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +$foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +{"_": "foundGifCached", "url": "string", "photo": Photo, "document": Document} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -foundGifCached={_='foundGifCached', url=string, photo=Photo, document=Document, } +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 c70f48ec..cca52255 100644 --- a/old_docs/API_docs_v66/constructors/future_salt.md +++ b/old_docs/API_docs_v66/constructors/future_salt.md @@ -23,13 +23,13 @@ description: future_salt attributes, type and example ### Example: ``` -$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; +$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +{"_": "future_salt", "valid_since": int, "valid_until": int, "salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long, } +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 a6bba188..9f4326e1 100644 --- a/old_docs/API_docs_v66/constructors/future_salts.md +++ b/old_docs/API_docs_v66/constructors/future_salts.md @@ -23,13 +23,13 @@ description: future_salts attributes, type and example ### Example: ``` -$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; +$future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +{"_": "future_salts", "req_msg_id": long, "now": int, "salts": [future_salt]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}, } +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 3bb1dfe1..46792b77 100644 --- a/old_docs/API_docs_v66/constructors/game.md +++ b/old_docs/API_docs_v66/constructors/game.md @@ -27,13 +27,13 @@ description: game attributes, type and example ### Example: ``` -$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +{"_": "game", "id": long, "access_hash": long, "short_name": "string", "title": "string", "description": "string", "photo": Photo, "document": Document} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -game={_='game', id=long, access_hash=long, short_name=string, title=string, description=string, photo=Photo, document=Document, } +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 c55a852b..fbdafe09 100644 --- a/old_docs/API_docs_v66/constructors/geoPoint.md +++ b/old_docs/API_docs_v66/constructors/geoPoint.md @@ -22,13 +22,13 @@ description: geoPoint attributes, type and example ### Example: ``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPoint","long":"double","lat":"double"} +{"_": "geoPoint", "long": double, "lat": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -geoPoint={_='geoPoint', long=double, lat=double, } +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 48452906..dcb0f02e 100644 --- a/old_docs/API_docs_v66/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/geoPointEmpty.md @@ -16,13 +16,13 @@ description: geoPointEmpty attributes, type and example ### Example: ``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +$geoPointEmpty = ['_' => 'geoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"geoPointEmpty"} +{"_": "geoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -geoPointEmpty={_='geoPointEmpty', } +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 5a14873c..f12ed1de 100644 --- a/old_docs/API_docs_v66/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_appUpdate.md @@ -24,13 +24,13 @@ description: help_appUpdate attributes, type and example ### Example: ``` -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +{"_": "help.appUpdate", "id": int, "critical": Bool, "url": "string", "text": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url=string, text=string, } +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 6477ee63..777513a7 100644 --- a/old_docs/API_docs_v66/constructors/help_inviteText.md +++ b/old_docs/API_docs_v66/constructors/help_inviteText.md @@ -21,13 +21,13 @@ description: help_inviteText attributes, type and example ### Example: ``` -$help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; +$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.inviteText","message":"string"} +{"_": "help.inviteText", "message": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_inviteText={_='help.inviteText', message=string, } +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 f67c8aed..421ddd40 100644 --- a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md @@ -16,13 +16,13 @@ description: help_noAppUpdate attributes, type and example ### Example: ``` -$help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; +$help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.noAppUpdate"} +{"_": "help.noAppUpdate"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -help_noAppUpdate={_='help.noAppUpdate', } +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 9d7bee39..49a575f3 100644 --- a/old_docs/API_docs_v66/constructors/help_support.md +++ b/old_docs/API_docs_v66/constructors/help_support.md @@ -22,13 +22,13 @@ description: help_support attributes, type and example ### Example: ``` -$help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; +$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.support","phone_number":"string","user":"User"} +{"_": "help.support", "phone_number": "string", "user": User} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -help_support={_='help.support', phone_number=string, user=User, } +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 6af3d9e5..f26f9563 100644 --- a/old_docs/API_docs_v66/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v66/constructors/help_termsOfService.md @@ -21,13 +21,13 @@ description: help_termsOfService attributes, type and example ### Example: ``` -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; +$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"help.termsOfService","text":"string"} +{"_": "help.termsOfService", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -help_termsOfService={_='help.termsOfService', text=string, } +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 8fe62af9..e5b5fdeb 100644 --- a/old_docs/API_docs_v66/constructors/highScore.md +++ b/old_docs/API_docs_v66/constructors/highScore.md @@ -23,13 +23,13 @@ description: highScore attributes, type and example ### Example: ``` -$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; +$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"highScore","pos":"int","user_id":"int","score":"int"} +{"_": "highScore", "pos": int, "user_id": int, "score": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -highScore={_='highScore', pos=int, user_id=int, score=int, } +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 be4aa968..829f09b3 100644 --- a/old_docs/API_docs_v66/constructors/http_wait.md +++ b/old_docs/API_docs_v66/constructors/http_wait.md @@ -23,13 +23,13 @@ description: http_wait attributes, type and example ### Example: ``` -$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; +$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +{"_": "http_wait", "max_delay": int, "wait_after": int, "max_wait": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int, } +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 7b3a4eb9..4ee6e9f5 100644 --- a/old_docs/API_docs_v66/constructors/importedContact.md +++ b/old_docs/API_docs_v66/constructors/importedContact.md @@ -22,13 +22,13 @@ description: importedContact attributes, type and example ### Example: ``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"importedContact","user_id":"int","client_id":"long"} +{"_": "importedContact", "user_id": int, "client_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -importedContact={_='importedContact', user_id=int, client_id=long, } +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 86c0d9d4..c476a330 100644 --- a/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md @@ -22,13 +22,13 @@ description: inlineBotSwitchPM attributes, type and example ### Example: ``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inlineBotSwitchPM={_='inlineBotSwitchPM', text=string, start_param=string, } +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 501bdbba..b5992bd3 100644 --- a/old_docs/API_docs_v66/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v66/constructors/inputAppEvent.md @@ -24,13 +24,13 @@ description: inputAppEvent attributes, type and example ### Example: ``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +{"_": "inputAppEvent", "time": double, "type": "string", "peer": long, "data": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputAppEvent={_='inputAppEvent', time=double, type=string, peer=long, data=string, } +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 1a8bc54d..cf5e9a44 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md @@ -21,13 +21,13 @@ description: inputBotInlineMessageGame attributes, type and example ### Example: ``` -$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageGame", "reply_markup": ReplyMarkup} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup, } +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 757f7146..7c94c59d 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md @@ -23,13 +23,13 @@ description: inputBotInlineMessageID attributes, type and example ### Example: ``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +{"_": "inputBotInlineMessageID", "dc_id": int, "id": long, "access_hash": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long, } +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 aa6b51df..1716034f 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, } +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 1bd6518f..f0c994be 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, } +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 8c4f7ecc..515dc42d 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md @@ -22,13 +22,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup, } +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 01e38309..81688b7d 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md @@ -26,13 +26,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ### Example: ``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, } +inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md index c785cbed..2df327ec 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md @@ -24,13 +24,13 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +{"_": "inputBotInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +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 ed68ad5c..7db73c39 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResult.md @@ -32,13 +32,13 @@ description: inputBotInlineResult attributes, type and example ### Example: ``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResult","id":"string","type":"string","title":"string","description":"string","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int","duration":"int","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage} ``` @@ -46,7 +46,7 @@ Or, if you're into Lua: ``` -inputBotInlineResult={_='inputBotInlineResult', id=string, type=string, title=string, description=string, url=string, thumb_url=string, content_url=string, content_type=string, w=int, h=int, duration=int, send_message=InputBotInlineMessage, } +inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_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 15080274..f9859f87 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md @@ -26,13 +26,13 @@ description: inputBotInlineResultDocument attributes, type and example ### Example: ``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultDocument={_='inputBotInlineResultDocument', id=string, type=string, title=string, description=string, document=InputDocument, send_message=InputBotInlineMessage, } +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 be8f6f21..57779977 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md @@ -23,13 +23,13 @@ description: inputBotInlineResultGame attributes, type and example ### Example: ``` -$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultGame", "id": "string", "short_name": "string", "send_message": InputBotInlineMessage} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultGame={_='inputBotInlineResultGame', id=string, short_name=string, send_message=InputBotInlineMessage, } +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 bbc38a5a..9aec18f1 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md @@ -24,13 +24,13 @@ description: inputBotInlineResultPhoto attributes, type and example ### Example: ``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id=string, type=string, photo=InputPhoto, send_message=InputBotInlineMessage, } +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 525e33c5..5cb7fd52 100644 --- a/old_docs/API_docs_v66/constructors/inputChannel.md +++ b/old_docs/API_docs_v66/constructors/inputChannel.md @@ -22,13 +22,13 @@ description: inputChannel attributes, type and example ### Example: ``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannel","channel_id":"int","access_hash":"long"} +{"_": "inputChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputChannel={_='inputChannel', channel_id=int, access_hash=long, } +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 e2464425..b5fc375e 100644 --- a/old_docs/API_docs_v66/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChannelEmpty.md @@ -16,13 +16,13 @@ description: inputChannelEmpty attributes, type and example ### Example: ``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +$inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChannelEmpty"} +{"_": "inputChannelEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChannelEmpty={_='inputChannelEmpty', } +inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChatPhoto.md b/old_docs/API_docs_v66/constructors/inputChatPhoto.md index aa98b610..8114d1d3 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhoto.md @@ -21,13 +21,13 @@ description: inputChatPhoto attributes, type and example ### Example: ``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhoto","id":"InputPhoto"} +{"_": "inputChatPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatPhoto={_='inputChatPhoto', id=InputPhoto, } +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 dd8c3a9e..b63a9792 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputChatPhotoEmpty attributes, type and example ### Example: ``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatPhotoEmpty"} +{"_": "inputChatPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputChatPhotoEmpty={_='inputChatPhotoEmpty', } +inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md index ce3b4224..0615c324 100644 --- a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md @@ -21,13 +21,13 @@ description: inputChatUploadedPhoto attributes, type and example ### Example: ``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputChatUploadedPhoto","file":"InputFile"} +{"_": "inputChatUploadedPhoto", "file": InputFile} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, } +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 b1949ca6..59b5e5df 100644 --- a/old_docs/API_docs_v66/constructors/inputDocument.md +++ b/old_docs/API_docs_v66/constructors/inputDocument.md @@ -22,13 +22,13 @@ description: inputDocument attributes, type and example ### Example: ``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocument","id":"long","access_hash":"long"} +{"_": "inputDocument", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputDocument={_='inputDocument', id=long, access_hash=long, } +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 4ac3ea8b..ee183427 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md @@ -16,13 +16,13 @@ description: inputDocumentEmpty attributes, type and example ### Example: ``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentEmpty"} +{"_": "inputDocumentEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputDocumentEmpty={_='inputDocumentEmpty', } +inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md index b13feb4a..dcd08784 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md @@ -23,13 +23,13 @@ description: inputDocumentFileLocation attributes, type and example ### Example: ``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int, } +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 a0d829f4..c7ea8dca 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedChat.md @@ -22,13 +22,13 @@ description: inputEncryptedChat attributes, type and example ### Example: ``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long, } +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 80e50729..6a378001 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFile.md @@ -22,13 +22,13 @@ description: inputEncryptedFile attributes, type and example ### Example: ``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +{"_": "inputEncryptedFile", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long, } +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 65e9dfe6..c4d9bcfe 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md @@ -23,13 +23,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +{"_": "inputEncryptedFileBigUploaded", "id": long, "parts": int, "key_fingerprint": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int, } +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 a6f3b1b9..ee9f61f8 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md @@ -16,13 +16,13 @@ description: inputEncryptedFileEmpty attributes, type and example ### Example: ``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileEmpty"} +{"_": "inputEncryptedFileEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileEmpty={_='inputEncryptedFileEmpty', } +inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md index 28d31c0b..0ebdacde 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md @@ -22,13 +22,13 @@ description: inputEncryptedFileLocation attributes, type and example ### Example: ``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +{"_": "inputEncryptedFileLocation", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long, } +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 3c744bbc..cd64a0bf 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md @@ -24,13 +24,13 @@ description: inputEncryptedFileUploaded attributes, type and example ### Example: ``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +{"_": "inputEncryptedFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "key_fingerprint": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum=string, key_fingerprint=int, } +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 fbe52c7d..7bfb10b0 100644 --- a/old_docs/API_docs_v66/constructors/inputFile.md +++ b/old_docs/API_docs_v66/constructors/inputFile.md @@ -24,13 +24,13 @@ description: inputFile attributes, type and example ### Example: ``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +{"_": "inputFile", "id": long, "parts": int, "name": "string", "md5_checksum": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputFile={_='inputFile', id=long, parts=int, name=string, md5_checksum=string, } +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 7cc07768..6efd73b2 100644 --- a/old_docs/API_docs_v66/constructors/inputFileBig.md +++ b/old_docs/API_docs_v66/constructors/inputFileBig.md @@ -23,13 +23,13 @@ description: inputFileBig attributes, type and example ### Example: ``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +{"_": "inputFileBig", "id": long, "parts": int, "name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileBig={_='inputFileBig', id=long, parts=int, name=string, } +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 b74e5803..d121b289 100644 --- a/old_docs/API_docs_v66/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputFileLocation.md @@ -23,13 +23,13 @@ description: inputFileLocation attributes, type and example ### Example: ``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, } +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 c8ce7efc..15aa00bd 100644 --- a/old_docs/API_docs_v66/constructors/inputGameID.md +++ b/old_docs/API_docs_v66/constructors/inputGameID.md @@ -22,13 +22,13 @@ description: inputGameID attributes, type and example ### Example: ``` -$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; +$inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameID","id":"long","access_hash":"long"} +{"_": "inputGameID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameID={_='inputGameID', id=long, access_hash=long, } +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 82671253..00895eed 100644 --- a/old_docs/API_docs_v66/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v66/constructors/inputGameShortName.md @@ -22,13 +22,13 @@ description: inputGameShortName attributes, type and example ### Example: ``` -$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; +$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name=string, } +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 fe3c7ba7..5f4bbfe7 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPoint.md @@ -22,13 +22,13 @@ description: inputGeoPoint attributes, type and example ### Example: ``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPoint","lat":"double","long":"double"} +{"_": "inputGeoPoint", "lat": double, "long": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputGeoPoint={_='inputGeoPoint', lat=double, long=double, } +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 dabd759c..36ec199b 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md @@ -16,13 +16,13 @@ description: inputGeoPointEmpty attributes, type and example ### Example: ``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputGeoPointEmpty"} +{"_": "inputGeoPointEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputGeoPointEmpty={_='inputGeoPointEmpty', } +inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaContact.md b/old_docs/API_docs_v66/constructors/inputMediaContact.md index 9ef083f4..bc2a6063 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputMediaContact.md @@ -23,13 +23,13 @@ description: inputMediaContact attributes, type and example ### Example: ``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaContact={_='inputMediaContact', phone_number=string, first_name=string, last_name=string, } +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 89ef5bdc..3e82dc32 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocument.md @@ -22,13 +22,13 @@ description: inputMediaDocument attributes, type and example ### Example: ``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +{"_": "inputMediaDocument", "id": InputDocument, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption=string, } +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 df91c315..8bd11508 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md @@ -22,13 +22,13 @@ description: inputMediaDocumentExternal attributes, type and example ### Example: ``` -$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; +$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +{"_": "inputMediaDocumentExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaDocumentExternal={_='inputMediaDocumentExternal', url=string, caption=string, } +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 64682a7f..e2df5ddc 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMediaEmpty.md @@ -16,13 +16,13 @@ description: inputMediaEmpty attributes, type and example ### Example: ``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +$inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaEmpty"} +{"_": "inputMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMediaEmpty={_='inputMediaEmpty', } +inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaGame.md b/old_docs/API_docs_v66/constructors/inputMediaGame.md index 399f03c0..a97c0c70 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGame.md @@ -21,13 +21,13 @@ description: inputMediaGame attributes, type and example ### Example: ``` -$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; +$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGame","id":"InputGame"} +{"_": "inputMediaGame", "id": InputGame} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGame={_='inputMediaGame', id=InputGame, } +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 4e0d234c..20855dff 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md @@ -21,13 +21,13 @@ description: inputMediaGeoPoint attributes, type and example ### Example: ``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +{"_": "inputMediaGeoPoint", "geo_point": InputGeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint, } +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 284e3cdd..239504b0 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md @@ -22,13 +22,13 @@ description: inputMediaGifExternal attributes, type and example ### Example: ``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaGifExternal","url":"string","q":"string"} +{"_": "inputMediaGifExternal", "url": "string", "q": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaGifExternal={_='inputMediaGifExternal', url=string, q=string, } +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 6c5c6baf..fdc3d6eb 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/inputMediaInvoice.md @@ -27,13 +27,13 @@ description: inputMediaInvoice attributes, type and example ### Example: ``` -$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; +$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +{"_": "inputMediaInvoice", "title": "string", "description": "string", "photo": InputWebDocument, "invoice": Invoice, "payload": "bytes", "provider": "string", "start_param": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -inputMediaInvoice={_='inputMediaInvoice', title=string, description=string, photo=InputWebDocument, invoice=Invoice, payload=bytes, provider=string, start_param=string, } +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 20258c1a..5035e349 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhoto.md @@ -22,13 +22,13 @@ description: inputMediaPhoto attributes, type and example ### Example: ``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +{"_": "inputMediaPhoto", "id": InputPhoto, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption=string, } +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 b50c9771..c2860028 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md @@ -22,13 +22,13 @@ description: inputMediaPhotoExternal attributes, type and example ### Example: ``` -$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; +$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputMediaPhotoExternal={_='inputMediaPhotoExternal', url=string, caption=string, } +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 f88ff5f0..5614925e 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md @@ -25,13 +25,13 @@ description: inputMediaUploadedDocument attributes, type and example ### Example: ``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedDocument", "file": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 ee07669d..e69293fa 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md @@ -23,13 +23,13 @@ description: inputMediaUploadedPhoto attributes, type and example ### Example: ``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedPhoto", "file": InputFile, "caption": "string", "stickers": [InputDocument]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption=string, stickers={InputDocument}, } +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 fcbbab79..51d344d2 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md @@ -26,13 +26,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example ### Example: ``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type=string, attributes={DocumentAttribute}, caption=string, stickers={InputDocument}, } +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 34205a69..ffc3330a 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputMediaVenue.md @@ -25,13 +25,13 @@ description: inputMediaVenue attributes, type and example ### Example: ``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 9465bf2b..2f763645 100644 --- a/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md @@ -23,13 +23,13 @@ description: inputMessageEntityMentionName attributes, type and example ### Example: ``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +{"_": "inputMessageEntityMentionName", "offset": int, "length": int, "user_id": InputUser} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser, } +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 7a78f5c4..986dbd3b 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterChatPhotos"} +{"_": "inputMessagesFilterChatPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos', } +inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md index 67c32521..b49ea707 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md @@ -16,13 +16,13 @@ description: inputMessagesFilterDocument attributes, type and example ### Example: ``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterDocument"} +{"_": "inputMessagesFilterDocument"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterDocument={_='inputMessagesFilterDocument', } +inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md index 80c30d8f..fa38277f 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md @@ -16,13 +16,13 @@ description: inputMessagesFilterEmpty attributes, type and example ### Example: ``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterEmpty"} +{"_": "inputMessagesFilterEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterEmpty={_='inputMessagesFilterEmpty', } +inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md index 31be8767..8a805d23 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md @@ -16,13 +16,13 @@ description: inputMessagesFilterGif attributes, type and example ### Example: ``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterGif"} +{"_": "inputMessagesFilterGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterGif={_='inputMessagesFilterGif', } +inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md index 99111007..7a80bff7 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md @@ -16,13 +16,13 @@ description: inputMessagesFilterMusic attributes, type and example ### Example: ``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterMusic"} +{"_": "inputMessagesFilterMusic"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterMusic={_='inputMessagesFilterMusic', } +inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md index 70531f22..3fec6cd0 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md @@ -21,13 +21,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example ### Example: ``` -$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; +$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +{"_": "inputMessagesFilterPhoneCalls", "missed": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool, } +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 6b7c16d3..0e2c84e9 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideo"} +{"_": "inputMessagesFilterPhotoVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo', } +inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md index 2c2839c0..515cb261 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ### Example: ``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotoVideoDocuments"} +{"_": "inputMessagesFilterPhotoVideoDocuments"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments', } +inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md index c492390e..22d77f68 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md @@ -16,13 +16,13 @@ description: inputMessagesFilterPhotos attributes, type and example ### Example: ``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterPhotos"} +{"_": "inputMessagesFilterPhotos"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterPhotos={_='inputMessagesFilterPhotos', } +inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md index ff055dc6..97854ce4 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterRoundVideo attributes, type and example ### Example: ``` -$inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo', ]; +$inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterRoundVideo"} +{"_": "inputMessagesFilterRoundVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo', } +inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md index c848bedf..e32f285d 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterRoundVoice attributes, type and example ### Example: ``` -$inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice', ]; +$inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterRoundVoice"} +{"_": "inputMessagesFilterRoundVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice', } +inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md index 480e8696..e14b64a6 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md @@ -16,13 +16,13 @@ description: inputMessagesFilterUrl attributes, type and example ### Example: ``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterUrl"} +{"_": "inputMessagesFilterUrl"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterUrl={_='inputMessagesFilterUrl', } +inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md index 64757673..65de04e1 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVideo attributes, type and example ### Example: ``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVideo"} +{"_": "inputMessagesFilterVideo"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVideo={_='inputMessagesFilterVideo', } +inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md index f111a3df..efbf5219 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md @@ -16,13 +16,13 @@ description: inputMessagesFilterVoice attributes, type and example ### Example: ``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputMessagesFilterVoice"} +{"_": "inputMessagesFilterVoice"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputMessagesFilterVoice={_='inputMessagesFilterVoice', } +inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyAll.md b/old_docs/API_docs_v66/constructors/inputNotifyAll.md index 966dec50..704d8c9a 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyAll.md @@ -16,13 +16,13 @@ description: inputNotifyAll attributes, type and example ### Example: ``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +$inputNotifyAll = ['_' => 'inputNotifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyAll"} +{"_": "inputNotifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyAll={_='inputNotifyAll', } +inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyChats.md b/old_docs/API_docs_v66/constructors/inputNotifyChats.md index ee1406c9..e1b1d8d8 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyChats.md @@ -16,13 +16,13 @@ description: inputNotifyChats attributes, type and example ### Example: ``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +$inputNotifyChats = ['_' => 'inputNotifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyChats"} +{"_": "inputNotifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyChats={_='inputNotifyChats', } +inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md index bb64b785..51ff2242 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md @@ -21,13 +21,13 @@ description: inputNotifyPeer attributes, type and example ### Example: ``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyPeer","peer":"InputPeer"} +{"_": "inputNotifyPeer", "peer": InputPeer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer, } +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 fdfd2081..aea07f03 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyUsers.md @@ -16,13 +16,13 @@ description: inputNotifyUsers attributes, type and example ### Example: ``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +$inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputNotifyUsers"} +{"_": "inputNotifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputNotifyUsers={_='inputNotifyUsers', } +inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md index 03d99d63..6aab94f0 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md @@ -22,13 +22,13 @@ description: inputPaymentCredentials attributes, type and example ### Example: ``` -$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; +$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +{"_": "inputPaymentCredentials", "save": Bool, "data": DataJSON} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON, } +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 d3117a9d..ab953e59 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md @@ -22,13 +22,13 @@ description: inputPaymentCredentialsSaved attributes, type and example ### Example: ``` -$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; +$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +{"_": "inputPaymentCredentialsSaved", "id": "string", "tmp_password": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id=string, tmp_password=bytes, } +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 f2ff3499..80f028aa 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChannel.md @@ -22,13 +22,13 @@ description: inputPeerChannel attributes, type and example ### Example: ``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +{"_": "inputPeerChannel", "channel_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long, } +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 e7dda1bf..91dee484 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChat.md @@ -21,13 +21,13 @@ description: inputPeerChat attributes, type and example ### Example: ``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerChat","chat_id":"int"} +{"_": "inputPeerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPeerChat={_='inputPeerChat', chat_id=int, } +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 7102f0dd..eb5b28c0 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerEmpty.md @@ -16,13 +16,13 @@ description: inputPeerEmpty attributes, type and example ### Example: ``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +$inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerEmpty"} +{"_": "inputPeerEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerEmpty={_='inputPeerEmpty', } +inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md index bbc115c8..02aa8953 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsAll attributes, type and example ### Example: ``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsAll"} +{"_": "inputPeerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll', } +inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md index 7f45290c..aa3c51ea 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ### Example: ``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifyEventsEmpty"} +{"_": "inputPeerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty', } +inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md index 6676a2f6..875d0bf4 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md @@ -24,13 +24,13 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "inputPeerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 e143a4fb..87f974e8 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v66/constructors/inputPeerSelf.md @@ -16,13 +16,13 @@ description: inputPeerSelf attributes, type and example ### Example: ``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +$inputPeerSelf = ['_' => 'inputPeerSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerSelf"} +{"_": "inputPeerSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPeerSelf={_='inputPeerSelf', } +inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerUser.md b/old_docs/API_docs_v66/constructors/inputPeerUser.md index e4b59d5b..1d0ce5a1 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v66/constructors/inputPeerUser.md @@ -22,13 +22,13 @@ description: inputPeerUser attributes, type and example ### Example: ``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +{"_": "inputPeerUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long, } +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 f9099021..681ce8c1 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneCall.md @@ -22,13 +22,13 @@ description: inputPhoneCall attributes, type and example ### Example: ``` -$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; +$inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneCall","id":"long","access_hash":"long"} +{"_": "inputPhoneCall", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long, } +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 7efc68e0..496c439e 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneContact.md @@ -24,13 +24,13 @@ description: inputPhoneContact attributes, type and example ### Example: ``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputPhoneContact={_='inputPhoneContact', client_id=long, phone=string, first_name=string, last_name=string, } +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 b3b4d194..9dc2af4d 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputPhoto.md @@ -22,13 +22,13 @@ description: inputPhoto attributes, type and example ### Example: ``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhoto","id":"long","access_hash":"long"} +{"_": "inputPhoto", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputPhoto={_='inputPhoto', id=long, access_hash=long, } +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 d07f1a65..71b8ee18 100644 --- a/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md @@ -16,13 +16,13 @@ description: inputPhotoEmpty attributes, type and example ### Example: ``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPhotoEmpty"} +{"_": "inputPhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPhotoEmpty={_='inputPhotoEmpty', } +inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md index 293e876d..47945504 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example ### Example: ``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyChatInvite"} +{"_": "inputPrivacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite', } +inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md index ba97f5df..fdb814ce 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example ### Example: ``` -$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; +$inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyPhoneCall"} +{"_": "inputPrivacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall', } +inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md index 799f1c4c..aa563432 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyKeyStatusTimestamp"} +{"_": "inputPrivacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp', } +inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md index 6cd823cd..e7dc858a 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowAll attributes, type and example ### Example: ``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowAll"} +{"_": "inputPrivacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll', } +inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md index bdd6cfc5..b0b77917 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowContacts"} +{"_": "inputPrivacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts', } +inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md index 4b5d133b..87db9fb5 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueAllowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}, } +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 1b372052..85e5ac01 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowAll"} +{"_": "inputPrivacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll', } +inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md index 03f48f3c..d4a60aec 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowContacts"} +{"_": "inputPrivacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts', } +inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md index 86e7c216..21c136b8 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ### Example: ``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +{"_": "inputPrivacyValueDisallowUsers", "users": [InputUser]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}, } +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 ffd351a0..12013d75 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonOther.md @@ -21,13 +21,13 @@ description: inputReportReasonOther attributes, type and example ### Example: ``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonOther","text":"string"} +{"_": "inputReportReasonOther", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputReportReasonOther={_='inputReportReasonOther', text=string, } +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 866d691c..68eab479 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md @@ -16,13 +16,13 @@ description: inputReportReasonPornography attributes, type and example ### Example: ``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonPornography"} +{"_": "inputReportReasonPornography"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonPornography={_='inputReportReasonPornography', } +inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md index 4cf6f414..530190ac 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md @@ -16,13 +16,13 @@ description: inputReportReasonSpam attributes, type and example ### Example: ``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonSpam"} +{"_": "inputReportReasonSpam"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonSpam={_='inputReportReasonSpam', } +inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md index f2046d6e..cd82e064 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md @@ -16,13 +16,13 @@ description: inputReportReasonViolence attributes, type and example ### Example: ``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputReportReasonViolence"} +{"_": "inputReportReasonViolence"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputReportReasonViolence={_='inputReportReasonViolence', } +inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md index da14d6d0..7ea8ffdf 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md @@ -16,13 +16,13 @@ description: inputStickerSetEmpty attributes, type and example ### Example: ``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetEmpty"} +{"_": "inputStickerSetEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputStickerSetEmpty={_='inputStickerSetEmpty', } +inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetID.md b/old_docs/API_docs_v66/constructors/inputStickerSetID.md index bf8beae6..eaaced43 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetID.md @@ -22,13 +22,13 @@ description: inputStickerSetID attributes, type and example ### Example: ``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetID","id":"long","access_hash":"long"} +{"_": "inputStickerSetID", "id": long, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long, } +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 b34bcbb7..344c6a7a 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md @@ -21,13 +21,13 @@ description: inputStickerSetShortName attributes, type and example ### Example: ``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickerSetShortName","short_name":"string"} +{"_": "inputStickerSetShortName", "short_name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickerSetShortName={_='inputStickerSetShortName', short_name=string, } +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 e7a64e8c..5f19e725 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md @@ -21,13 +21,13 @@ description: inputStickeredMediaDocument attributes, type and example ### Example: ``` -$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; +$inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaDocument","id":"InputDocument"} +{"_": "inputStickeredMediaDocument", "id": InputDocument} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument, } +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 d909033a..575918d7 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md @@ -21,13 +21,13 @@ description: inputStickeredMediaPhoto attributes, type and example ### Example: ``` -$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; +$inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +{"_": "inputStickeredMediaPhoto", "id": InputPhoto} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto, } +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 b1fc7046..a7b89ce5 100644 --- a/old_docs/API_docs_v66/constructors/inputUser.md +++ b/old_docs/API_docs_v66/constructors/inputUser.md @@ -22,13 +22,13 @@ description: inputUser attributes, type and example ### Example: ``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUser","user_id":"int","access_hash":"long"} +{"_": "inputUser", "user_id": int, "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputUser={_='inputUser', user_id=int, access_hash=long, } +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 6135dc45..06615cbb 100644 --- a/old_docs/API_docs_v66/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputUserEmpty.md @@ -16,13 +16,13 @@ description: inputUserEmpty attributes, type and example ### Example: ``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +$inputUserEmpty = ['_' => 'inputUserEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserEmpty"} +{"_": "inputUserEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserEmpty={_='inputUserEmpty', } +inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputUserSelf.md b/old_docs/API_docs_v66/constructors/inputUserSelf.md index b57fe677..f61db155 100644 --- a/old_docs/API_docs_v66/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v66/constructors/inputUserSelf.md @@ -16,13 +16,13 @@ description: inputUserSelf attributes, type and example ### Example: ``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; +$inputUserSelf = ['_' => 'inputUserSelf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputUserSelf"} +{"_": "inputUserSelf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -inputUserSelf={_='inputUserSelf', } +inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputWebDocument.md b/old_docs/API_docs_v66/constructors/inputWebDocument.md index c6d30018..57b8fee6 100644 --- a/old_docs/API_docs_v66/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v66/constructors/inputWebDocument.md @@ -24,13 +24,13 @@ description: inputWebDocument attributes, type and example ### Example: ``` -$inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; +$inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +{"_": "inputWebDocument", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -inputWebDocument={_='inputWebDocument', url=string, size=int, mime_type=string, attributes={DocumentAttribute}, } +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 dd65c97c..25f4fb92 100644 --- a/old_docs/API_docs_v66/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputWebFileLocation.md @@ -22,13 +22,13 @@ description: inputWebFileLocation attributes, type and example ### Example: ``` -$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; +$inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +{"_": "inputWebFileLocation", "url": "string", "access_hash": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -inputWebFileLocation={_='inputWebFileLocation', url=string, access_hash=long, } +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 594738d0..7c4f08b4 100644 --- a/old_docs/API_docs_v66/constructors/invoice.md +++ b/old_docs/API_docs_v66/constructors/invoice.md @@ -28,13 +28,13 @@ description: invoice attributes, type and example ### Example: ``` -$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; +$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +{"_": "invoice", "test": Bool, "name_requested": Bool, "phone_requested": Bool, "email_requested": Bool, "shipping_address_requested": Bool, "flexible": Bool, "currency": "string", "prices": [LabeledPrice]} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency=string, prices={LabeledPrice}, } +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 d6057da4..343652ea 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButton.md +++ b/old_docs/API_docs_v66/constructors/keyboardButton.md @@ -21,13 +21,13 @@ description: keyboardButton attributes, type and example ### Example: ``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButton","text":"string"} +{"_": "keyboardButton", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButton={_='keyboardButton', text=string, } +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 a01c257c..f680b447 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md @@ -21,13 +21,13 @@ description: keyboardButtonBuy attributes, type and example ### Example: ``` -$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; +$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonBuy","text":"string"} +{"_": "keyboardButtonBuy", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonBuy={_='keyboardButtonBuy', text=string, } +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 27bc68b8..0e6663f7 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md @@ -22,13 +22,13 @@ description: keyboardButtonCallback attributes, type and example ### Example: ``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +{"_": "keyboardButtonCallback", "text": "string", "data": "bytes"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonCallback={_='keyboardButtonCallback', text=string, data=bytes, } +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 a8569aed..0c5c99ab 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonGame.md @@ -21,13 +21,13 @@ description: keyboardButtonGame attributes, type and example ### Example: ``` -$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; +$keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonGame","text":"string"} +{"_": "keyboardButtonGame", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonGame={_='keyboardButtonGame', text=string, } +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 38cdc756..eb15b244 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ### Example: ``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestGeoLocation","text":"string"} +{"_": "keyboardButtonRequestGeoLocation", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text=string, } +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 9c76c330..744b2de6 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md @@ -21,13 +21,13 @@ description: keyboardButtonRequestPhone attributes, type and example ### Example: ``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRequestPhone","text":"string"} +{"_": "keyboardButtonRequestPhone", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text=string, } +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 cc887b1b..a124c678 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRow.md @@ -21,13 +21,13 @@ description: keyboardButtonRow attributes, type and example ### Example: ``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +{"_": "keyboardButtonRow", "buttons": [KeyboardButton]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}, } +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 76688727..97722a90 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md @@ -23,13 +23,13 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } +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 bf60dc2a..204e85e6 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md @@ -22,13 +22,13 @@ description: keyboardButtonUrl attributes, type and example ### Example: ``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"keyboardButtonUrl","text":"string","url":"string"} +{"_": "keyboardButtonUrl", "text": "string", "url": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -keyboardButtonUrl={_='keyboardButtonUrl', text=string, url=string, } +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 0849bba2..d3859921 100644 --- a/old_docs/API_docs_v66/constructors/labeledPrice.md +++ b/old_docs/API_docs_v66/constructors/labeledPrice.md @@ -22,13 +22,13 @@ description: labeledPrice attributes, type and example ### Example: ``` -$labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; +$labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"labeledPrice","label":"string","amount":"long"} +{"_": "labeledPrice", "label": "string", "amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -labeledPrice={_='labeledPrice', label=string, amount=long, } +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 72c25c0e..0a6190f5 100644 --- a/old_docs/API_docs_v66/constructors/maskCoords.md +++ b/old_docs/API_docs_v66/constructors/maskCoords.md @@ -24,13 +24,13 @@ description: maskCoords attributes, type and example ### Example: ``` -$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +$maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +{"_": "maskCoords", "n": int, "x": double, "y": double, "zoom": double} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double, } +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 cce1fc65..dfbeba59 100644 --- a/old_docs/API_docs_v66/constructors/message.md +++ b/old_docs/API_docs_v66/constructors/message.md @@ -38,13 +38,13 @@ description: message attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -52,7 +52,7 @@ Or, if you're into 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, } +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 444be550..8fc80694 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md @@ -21,13 +21,13 @@ description: messageActionChannelCreate attributes, type and example ### Example: ``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelCreate","title":"string"} +{"_": "messageActionChannelCreate", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChannelCreate={_='messageActionChannelCreate', title=string, } +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 b63de131..f0d363ce 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md @@ -22,13 +22,13 @@ description: messageActionChannelMigrateFrom attributes, type and example ### Example: ``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +{"_": "messageActionChannelMigrateFrom", "title": "string", "chat_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title=string, chat_id=int, } +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 5edc7d3b..6df22673 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md @@ -21,13 +21,13 @@ description: messageActionChatAddUser attributes, type and example ### Example: ``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatAddUser","users":["int"]} +{"_": "messageActionChatAddUser", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatAddUser={_='messageActionChatAddUser', users={int}, } +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 ff161bb5..e98d2cf8 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatCreate.md @@ -22,13 +22,13 @@ description: messageActionChatCreate attributes, type and example ### Example: ``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatCreate","title":"string","users":["int"]} +{"_": "messageActionChatCreate", "title": "string", "users": [int]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionChatCreate={_='messageActionChatCreate', title=string, users={int}, } +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 f02942ea..a28d9cdb 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md @@ -16,13 +16,13 @@ description: messageActionChatDeletePhoto attributes, type and example ### Example: ``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeletePhoto"} +{"_": "messageActionChatDeletePhoto"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionChatDeletePhoto={_='messageActionChatDeletePhoto', } +messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md index 752f9a1d..db8503a7 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md @@ -21,13 +21,13 @@ description: messageActionChatDeleteUser attributes, type and example ### Example: ``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatDeleteUser","user_id":"int"} +{"_": "messageActionChatDeleteUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int, } +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 f69ef02a..9975dedf 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md @@ -21,13 +21,13 @@ description: messageActionChatEditPhoto attributes, type and example ### Example: ``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditPhoto","photo":"Photo"} +{"_": "messageActionChatEditPhoto", "photo": Photo} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo, } +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 3b955363..4c9ca799 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md @@ -21,13 +21,13 @@ description: messageActionChatEditTitle attributes, type and example ### Example: ``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatEditTitle","title":"string"} +{"_": "messageActionChatEditTitle", "title": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatEditTitle={_='messageActionChatEditTitle', title=string, } +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 92ac7146..43b0460e 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md @@ -21,13 +21,13 @@ description: messageActionChatJoinedByLink attributes, type and example ### Example: ``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +{"_": "messageActionChatJoinedByLink", "inviter_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int, } +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 7214d295..fcceb531 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md @@ -21,13 +21,13 @@ description: messageActionChatMigrateTo attributes, type and example ### Example: ``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionChatMigrateTo","channel_id":"int"} +{"_": "messageActionChatMigrateTo", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int, } +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 63d377cf..29aaf5c8 100644 --- a/old_docs/API_docs_v66/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageActionEmpty.md @@ -16,13 +16,13 @@ description: messageActionEmpty attributes, type and example ### Example: ``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +$messageActionEmpty = ['_' => 'messageActionEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionEmpty"} +{"_": "messageActionEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionEmpty={_='messageActionEmpty', } +messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionGameScore.md b/old_docs/API_docs_v66/constructors/messageActionGameScore.md index 0f498dab..acb0208f 100644 --- a/old_docs/API_docs_v66/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v66/constructors/messageActionGameScore.md @@ -22,13 +22,13 @@ description: messageActionGameScore attributes, type and example ### Example: ``` -$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; +$messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionGameScore","game_id":"long","score":"int"} +{"_": "messageActionGameScore", "game_id": long, "score": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionGameScore={_='messageActionGameScore', game_id=long, score=int, } +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 d576d087..78a1e098 100644 --- a/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md @@ -16,13 +16,13 @@ description: messageActionHistoryClear attributes, type and example ### Example: ``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionHistoryClear"} +{"_": "messageActionHistoryClear"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionHistoryClear={_='messageActionHistoryClear', } +messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md index d926846a..54b2d6fb 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md @@ -22,13 +22,13 @@ description: messageActionPaymentSent attributes, type and example ### Example: ``` -$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; +$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +{"_": "messageActionPaymentSent", "currency": "string", "total_amount": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSent={_='messageActionPaymentSent', currency=string, total_amount=long, } +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 32e5b4ae..b2a7d2a5 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md @@ -26,13 +26,13 @@ description: messageActionPaymentSentMe attributes, type and example ### Example: ``` -$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; +$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +{"_": "messageActionPaymentSentMe", "currency": "string", "total_amount": long, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "charge": PaymentCharge} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency=string, total_amount=long, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, charge=PaymentCharge, } +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 6eed4cd3..399cd91b 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md @@ -23,13 +23,13 @@ description: messageActionPhoneCall attributes, type and example ### Example: ``` -$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "messageActionPhoneCall", "call_id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int, } +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 c8595522..3887229f 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v66/constructors/messageActionPinMessage.md @@ -16,13 +16,13 @@ description: messageActionPinMessage attributes, type and example ### Example: ``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +$messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageActionPinMessage"} +{"_": "messageActionPinMessage"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageActionPinMessage={_='messageActionPinMessage', } +messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEmpty.md b/old_docs/API_docs_v66/constructors/messageEmpty.md index d6510f3f..5cfc0754 100644 --- a/old_docs/API_docs_v66/constructors/messageEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageEmpty.md @@ -21,13 +21,13 @@ description: messageEmpty attributes, type and example ### Example: ``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +$messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEmpty","id":"int"} +{"_": "messageEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageEmpty={_='messageEmpty', id=int, } +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 589b142e..7d017429 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBold.md @@ -22,13 +22,13 @@ description: messageEntityBold attributes, type and example ### Example: ``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBold","offset":"int","length":"int"} +{"_": "messageEntityBold", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBold={_='messageEntityBold', offset=int, length=int, } +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 0cfb8264..3cb3bd18 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md @@ -22,13 +22,13 @@ description: messageEntityBotCommand attributes, type and example ### Example: ``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityBotCommand","offset":"int","length":"int"} +{"_": "messageEntityBotCommand", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, } +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 511b5e17..e8431f17 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v66/constructors/messageEntityCode.md @@ -22,13 +22,13 @@ description: messageEntityCode attributes, type and example ### Example: ``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityCode","offset":"int","length":"int"} +{"_": "messageEntityCode", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityCode={_='messageEntityCode', offset=int, length=int, } +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 31a63b9c..ac8d6a12 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v66/constructors/messageEntityEmail.md @@ -22,13 +22,13 @@ description: messageEntityEmail attributes, type and example ### Example: ``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityEmail","offset":"int","length":"int"} +{"_": "messageEntityEmail", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityEmail={_='messageEntityEmail', offset=int, length=int, } +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 fad76a9e..8ff7aa89 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v66/constructors/messageEntityHashtag.md @@ -22,13 +22,13 @@ description: messageEntityHashtag attributes, type and example ### Example: ``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityHashtag","offset":"int","length":"int"} +{"_": "messageEntityHashtag", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int, } +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 e0d6ef45..408e209f 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v66/constructors/messageEntityItalic.md @@ -22,13 +22,13 @@ description: messageEntityItalic attributes, type and example ### Example: ``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityItalic","offset":"int","length":"int"} +{"_": "messageEntityItalic", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityItalic={_='messageEntityItalic', offset=int, length=int, } +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 16482de1..1ec88ba5 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMention.md @@ -22,13 +22,13 @@ description: messageEntityMention attributes, type and example ### Example: ``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMention","offset":"int","length":"int"} +{"_": "messageEntityMention", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityMention={_='messageEntityMention', offset=int, length=int, } +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 2eb6439b..7c45557c 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMentionName.md @@ -23,13 +23,13 @@ description: messageEntityMentionName attributes, type and example ### Example: ``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +{"_": "messageEntityMentionName", "offset": int, "length": int, "user_id": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int, } +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 18181198..0f910cb3 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v66/constructors/messageEntityPre.md @@ -23,13 +23,13 @@ description: messageEntityPre attributes, type and example ### Example: ``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +{"_": "messageEntityPre", "offset": int, "length": int, "language": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityPre={_='messageEntityPre', offset=int, length=int, language=string, } +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 9b27cc54..4234782d 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md @@ -23,13 +23,13 @@ description: messageEntityTextUrl attributes, type and example ### Example: ``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url=string, } +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 b922c567..1b7642fd 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUnknown.md @@ -22,13 +22,13 @@ description: messageEntityUnknown attributes, type and example ### Example: ``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUnknown","offset":"int","length":"int"} +{"_": "messageEntityUnknown", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int, } +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 93adb08c..f7e0a9ac 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUrl.md @@ -22,13 +22,13 @@ description: messageEntityUrl attributes, type and example ### Example: ``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageEntityUrl","offset":"int","length":"int"} +{"_": "messageEntityUrl", "offset": int, "length": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageEntityUrl={_='messageEntityUrl', offset=int, length=int, } +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 15b5b5f3..79bc318d 100644 --- a/old_docs/API_docs_v66/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v66/constructors/messageFwdHeader.md @@ -24,13 +24,13 @@ description: messageFwdHeader attributes, type and example ### Example: ``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, } +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 6b13355a..3866c420 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/messageMediaContact.md @@ -24,13 +24,13 @@ description: messageMediaContact attributes, type and example ### Example: ``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messageMediaContact={_='messageMediaContact', phone_number=string, first_name=string, last_name=string, user_id=int, } +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 0fc6558b..613c0a3e 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/messageMediaDocument.md @@ -22,13 +22,13 @@ description: messageMediaDocument attributes, type and example ### Example: ``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaDocument","document":"Document","caption":"string"} +{"_": "messageMediaDocument", "document": Document, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaDocument={_='messageMediaDocument', document=Document, caption=string, } +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 d07e9680..aef3a07c 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageMediaEmpty.md @@ -16,13 +16,13 @@ description: messageMediaEmpty attributes, type and example ### Example: ``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +$messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaEmpty"} +{"_": "messageMediaEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaEmpty={_='messageMediaEmpty', } +messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaGame.md b/old_docs/API_docs_v66/constructors/messageMediaGame.md index 349b9023..59f29080 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGame.md @@ -21,13 +21,13 @@ description: messageMediaGame attributes, type and example ### Example: ``` -$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; +$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGame","game":"Game"} +{"_": "messageMediaGame", "game": Game} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGame={_='messageMediaGame', game=Game, } +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 7be5e382..201b267a 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGeo.md @@ -21,13 +21,13 @@ description: messageMediaGeo attributes, type and example ### Example: ``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaGeo","geo":"GeoPoint"} +{"_": "messageMediaGeo", "geo": GeoPoint} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaGeo={_='messageMediaGeo', geo=GeoPoint, } +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 cfbcd280..7a59fb4b 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/messageMediaInvoice.md @@ -29,13 +29,13 @@ description: messageMediaInvoice attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -43,7 +43,7 @@ Or, if you're into 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, } +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 3a915cff..c64d3a83 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageMediaPhoto.md @@ -22,13 +22,13 @@ description: messageMediaPhoto attributes, type and example ### Example: ``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +{"_": "messageMediaPhoto", "photo": Photo, "caption": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption=string, } +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 3c37bacf..3d35399b 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md @@ -16,13 +16,13 @@ description: messageMediaUnsupported attributes, type and example ### Example: ``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaUnsupported"} +{"_": "messageMediaUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messageMediaUnsupported={_='messageMediaUnsupported', } +messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaVenue.md b/old_docs/API_docs_v66/constructors/messageMediaVenue.md index 40d106ed..9e0a9017 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/messageMediaVenue.md @@ -25,13 +25,13 @@ description: messageMediaVenue attributes, type and example ### Example: ``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, } +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 34c05a2c..a9773c42 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v66/constructors/messageMediaWebPage.md @@ -21,13 +21,13 @@ description: messageMediaWebPage attributes, type and example ### Example: ``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageMediaWebPage","webpage":"WebPage"} +{"_": "messageMediaWebPage", "webpage": WebPage} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage, } +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 dcf07b0c..16325e20 100644 --- a/old_docs/API_docs_v66/constructors/messageRange.md +++ b/old_docs/API_docs_v66/constructors/messageRange.md @@ -22,13 +22,13 @@ description: messageRange attributes, type and example ### Example: ``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messageRange","min_id":"int","max_id":"int"} +{"_": "messageRange", "min_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messageRange={_='messageRange', min_id=int, max_id=int, } +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 558cc6c9..c17efaf2 100644 --- a/old_docs/API_docs_v66/constructors/messageService.md +++ b/old_docs/API_docs_v66/constructors/messageService.md @@ -31,13 +31,13 @@ description: messageService attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 0b645e7b..c7477f2c 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md @@ -23,13 +23,13 @@ description: messages_affectedHistory attributes, type and example ### Example: ``` -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +{"_": "messages.affectedHistory", "pts": int, "pts_count": int, "offset": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int, } +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 91544463..e03ea91c 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md @@ -22,13 +22,13 @@ description: messages_affectedMessages attributes, type and example ### Example: ``` -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; +$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +{"_": "messages.affectedMessages", "pts": int, "pts_count": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int, } +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 a16f30e8..f2208f7e 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickers.md @@ -22,13 +22,13 @@ description: messages_allStickers attributes, type and example ### Example: ``` -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; +$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +{"_": "messages.allStickers", "hash": int, "sets": [StickerSet]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}, } +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 f4db1c99..bd1abc1b 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_allStickersNotModified attributes, type and example ### Example: ``` -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; +$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.allStickersNotModified"} +{"_": "messages.allStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_allStickersNotModified={_='messages.allStickersNotModified', } +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 7cc54d64..561d9c4e 100644 --- a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md @@ -22,13 +22,13 @@ description: messages_archivedStickers attributes, type and example ### Example: ``` -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; +$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +{"_": "messages.archivedStickers", "count": int, "sets": [StickerSetCovered]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}, } +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 d60a5957..50e5cc0c 100644 --- a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md @@ -25,13 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, cache_time=int, } +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 8b1a8efc..b99605e6 100644 --- a/old_docs/API_docs_v66/constructors/messages_botResults.md +++ b/old_docs/API_docs_v66/constructors/messages_botResults.md @@ -26,13 +26,13 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } +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 4c5e4839..ab6c600c 100644 --- a/old_docs/API_docs_v66/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_channelMessages.md @@ -25,13 +25,13 @@ description: messages_channelMessages attributes, type and example ### Example: ``` -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.channelMessages", "pts": int, "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}, } +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 7260dbf9..2665e23c 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v66/constructors/messages_chatFull.md @@ -23,13 +23,13 @@ description: messages_chatFull attributes, type and example ### Example: ``` -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +{"_": "messages.chatFull", "full_chat": ChatFull, "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}, } +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 98844af9..9b43206f 100644 --- a/old_docs/API_docs_v66/constructors/messages_chats.md +++ b/old_docs/API_docs_v66/constructors/messages_chats.md @@ -21,13 +21,13 @@ description: messages_chats attributes, type and example ### Example: ``` -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; +$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chats","chats":["Chat"]} +{"_": "messages.chats", "chats": [Chat]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_chats={_='messages.chats', chats={Chat}, } +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 ddd00630..f0af5f47 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md @@ -22,13 +22,13 @@ description: messages_chatsSlice attributes, type and example ### Example: ``` -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; +$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +{"_": "messages.chatsSlice", "count": int, "chats": [Chat]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}, } +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 1aa7c8df..8f6862b6 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfig.md @@ -24,13 +24,13 @@ description: messages_dhConfig attributes, type and example ### Example: ``` -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +{"_": "messages.dhConfig", "g": int, "p": "bytes", "version": int, "random": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dhConfig={_='messages.dhConfig', g=int, p=bytes, version=int, random=bytes, } +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 6efc19fd..ff84170c 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md @@ -21,13 +21,13 @@ description: messages_dhConfigNotModified attributes, type and example ### Example: ``` -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; +$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dhConfigNotModified","random":"bytes"} +{"_": "messages.dhConfigNotModified", "random": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random=bytes, } +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 27228755..3e13f61e 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogs.md @@ -24,13 +24,13 @@ description: messages_dialogs attributes, type and example ### Example: ``` -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 2e43f07e..f8c14cfa 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md @@ -25,13 +25,13 @@ description: messages_dialogsSlice attributes, type and example ### Example: ``` -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.dialogsSlice", "count": int, "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, } +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 beae5c36..1f23efe5 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md @@ -23,13 +23,13 @@ description: messages_featuredStickers attributes, type and example ### Example: ``` -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}, } +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 033dd647..ace62eb9 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_featuredStickersNotModified attributes, type and example ### Example: ``` -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; +$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.featuredStickersNotModified"} +{"_": "messages.featuredStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified', } +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 7cf2eaac..2190e65d 100644 --- a/old_docs/API_docs_v66/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_foundGifs.md @@ -22,13 +22,13 @@ description: messages_foundGifs attributes, type and example ### Example: ``` -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; +$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +{"_": "messages.foundGifs", "next_offset": int, "results": [FoundGif]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}, } +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 6fdb3222..5897923e 100644 --- a/old_docs/API_docs_v66/constructors/messages_highScores.md +++ b/old_docs/API_docs_v66/constructors/messages_highScores.md @@ -22,13 +22,13 @@ description: messages_highScores attributes, type and example ### Example: ``` -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; +$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +{"_": "messages.highScores", "scores": [HighScore], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, } +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 f04529f4..5266ce3f 100644 --- a/old_docs/API_docs_v66/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v66/constructors/messages_messageEditData.md @@ -21,13 +21,13 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messageEditData","caption":"Bool"} +{"_": "messages.messageEditData", "caption": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=Bool, } +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 212c9564..bd3da102 100644 --- a/old_docs/API_docs_v66/constructors/messages_messages.md +++ b/old_docs/API_docs_v66/constructors/messages_messages.md @@ -23,13 +23,13 @@ description: messages_messages attributes, type and example ### Example: ``` -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messages", "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}, } +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 cc15c4cc..e35cd734 100644 --- a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md @@ -24,13 +24,13 @@ description: messages_messagesSlice attributes, type and example ### Example: ``` -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +{"_": "messages.messagesSlice", "count": int, "messages": [Message], "chats": [Chat], "users": [User]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}, } +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 ba596c19..35403bfa 100644 --- a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md @@ -25,13 +25,13 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "messages.peerDialogs", "dialogs": [Dialog], "messages": [Message], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } +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 89cc7c7b..76b69b57 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickers.md @@ -22,13 +22,13 @@ description: messages_recentStickers attributes, type and example ### Example: ``` -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; +$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +{"_": "messages.recentStickers", "hash": int, "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}, } +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 d4c2f39a..c7cf1ea0 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md @@ -16,13 +16,13 @@ description: messages_recentStickersNotModified attributes, type and example ### Example: ``` -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; +$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.recentStickersNotModified"} +{"_": "messages.recentStickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_recentStickersNotModified={_='messages.recentStickersNotModified', } +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 6077da46..58584f39 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifs.md @@ -22,13 +22,13 @@ description: messages_savedGifs attributes, type and example ### Example: ``` -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; +$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +{"_": "messages.savedGifs", "hash": int, "gifs": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}, } +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 6f35f43d..cbf523b7 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md @@ -16,13 +16,13 @@ description: messages_savedGifsNotModified attributes, type and example ### Example: ``` -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; +$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.savedGifsNotModified"} +{"_": "messages.savedGifsNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_savedGifsNotModified={_='messages.savedGifsNotModified', } +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 c6bfb8eb..758937cf 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md @@ -22,13 +22,13 @@ description: messages_sentEncryptedFile attributes, type and example ### Example: ``` -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +{"_": "messages.sentEncryptedFile", "date": int, "file": EncryptedFile} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile, } +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 969b8eb2..4dc8a08e 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md @@ -21,13 +21,13 @@ description: messages_sentEncryptedMessage attributes, type and example ### Example: ``` -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; +$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.sentEncryptedMessage","date":"int"} +{"_": "messages.sentEncryptedMessage", "date": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int, } +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 d94b2969..638e7297 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSet.md @@ -23,13 +23,13 @@ description: messages_stickerSet attributes, type and example ### Example: ``` -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +{"_": "messages.stickerSet", "set": StickerSet, "packs": [StickerPack], "documents": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}, } +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 a56dbf2b..387ce35a 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md @@ -21,13 +21,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; +$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +{"_": "messages.stickerSetInstallResultArchive", "sets": [StickerSetCovered]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}, } +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 269af099..82023e47 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,13 +16,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ### Example: ``` -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; +$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickerSetInstallResultSuccess"} +{"_": "messages.stickerSetInstallResultSuccess"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess', } +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 de93a6ad..0d968c5a 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickers.md +++ b/old_docs/API_docs_v66/constructors/messages_stickers.md @@ -22,13 +22,13 @@ description: messages_stickers attributes, type and example ### Example: ``` -$messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; +$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickers","hash":"string","stickers":["Document"]} +{"_": "messages.stickers", "hash": "string", "stickers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -messages_stickers={_='messages.stickers', hash=string, stickers={Document}, } +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 854e2d6c..74f940e8 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md @@ -16,13 +16,13 @@ description: messages_stickersNotModified attributes, type and example ### Example: ``` -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; +$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"messages.stickersNotModified"} +{"_": "messages.stickersNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -messages_stickersNotModified={_='messages.stickersNotModified', } +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 f92347b0..46559ea5 100644 --- a/old_docs/API_docs_v66/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v66/constructors/msg_detailed_info.md @@ -24,13 +24,13 @@ description: msg_detailed_info attributes, type and example ### Example: ``` -$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_detailed_info", "msg_id": long, "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int, } +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 b2a3db96..9cd1a8fd 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,13 +23,13 @@ description: msg_new_detailed_info attributes, type and example ### Example: ``` -$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; +$msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +{"_": "msg_new_detailed_info", "answer_msg_id": long, "bytes": int, "status": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int, } +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 2abb95c1..e1a7a48c 100644 --- a/old_docs/API_docs_v66/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v66/constructors/msg_resend_req.md @@ -21,13 +21,13 @@ description: msg_resend_req attributes, type and example ### Example: ``` -$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; +$msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msg_resend_req","msg_ids":["long"]} +{"_": "msg_resend_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msg_resend_req={_='msg_resend_req', msg_ids={long}, } +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 8b1b2f9f..d680c16b 100644 --- a/old_docs/API_docs_v66/constructors/msgs_ack.md +++ b/old_docs/API_docs_v66/constructors/msgs_ack.md @@ -21,13 +21,13 @@ description: msgs_ack attributes, type and example ### Example: ``` -$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; +$msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_ack","msg_ids":["long"]} +{"_": "msgs_ack", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_ack={_='msgs_ack', msg_ids={long}, } +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 50a539bc..9a4ef23a 100644 --- a/old_docs/API_docs_v66/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_all_info.md @@ -22,13 +22,13 @@ description: msgs_all_info attributes, type and example ### Example: ``` -$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; +$msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +{"_": "msgs_all_info", "msg_ids": [long], "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_all_info={_='msgs_all_info', msg_ids={long}, info=string, } +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 d5819d23..2fe45bfa 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_info.md @@ -22,13 +22,13 @@ description: msgs_state_info attributes, type and example ### Example: ``` -$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; +$msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +{"_": "msgs_state_info", "req_msg_id": long, "info": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -msgs_state_info={_='msgs_state_info', req_msg_id=long, info=string, } +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 8247b8c1..10a64750 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_req.md @@ -21,13 +21,13 @@ description: msgs_state_req attributes, type and example ### Example: ``` -$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; +$msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"msgs_state_req","msg_ids":["long"]} +{"_": "msgs_state_req", "msg_ids": [long]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -msgs_state_req={_='msgs_state_req', msg_ids={long}, } +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 ef49a6bd..fd8bb548 100644 --- a/old_docs/API_docs_v66/constructors/nearestDc.md +++ b/old_docs/API_docs_v66/constructors/nearestDc.md @@ -23,13 +23,13 @@ description: nearestDc attributes, type and example ### Example: ``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -nearestDc={_='nearestDc', country=string, this_dc=int, nearest_dc=int, } +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 5eac0fac..d3432a4a 100644 --- a/old_docs/API_docs_v66/constructors/new_session_created.md +++ b/old_docs/API_docs_v66/constructors/new_session_created.md @@ -23,13 +23,13 @@ description: new_session_created attributes, type and example ### Example: ``` -$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; +$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +{"_": "new_session_created", "first_msg_id": long, "unique_id": long, "server_salt": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long, } +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 4762cd63..9e8d1bec 100644 --- a/old_docs/API_docs_v66/constructors/notifyAll.md +++ b/old_docs/API_docs_v66/constructors/notifyAll.md @@ -16,13 +16,13 @@ description: notifyAll attributes, type and example ### Example: ``` -$notifyAll = ['_' => 'notifyAll', ]; +$notifyAll = ['_' => 'notifyAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyAll"} +{"_": "notifyAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyAll={_='notifyAll', } +notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyChats.md b/old_docs/API_docs_v66/constructors/notifyChats.md index 142ea4fd..36943913 100644 --- a/old_docs/API_docs_v66/constructors/notifyChats.md +++ b/old_docs/API_docs_v66/constructors/notifyChats.md @@ -16,13 +16,13 @@ description: notifyChats attributes, type and example ### Example: ``` -$notifyChats = ['_' => 'notifyChats', ]; +$notifyChats = ['_' => 'notifyChats']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyChats"} +{"_": "notifyChats"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyChats={_='notifyChats', } +notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyPeer.md b/old_docs/API_docs_v66/constructors/notifyPeer.md index df51c56b..952e9b03 100644 --- a/old_docs/API_docs_v66/constructors/notifyPeer.md +++ b/old_docs/API_docs_v66/constructors/notifyPeer.md @@ -21,13 +21,13 @@ description: notifyPeer attributes, type and example ### Example: ``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyPeer","peer":"Peer"} +{"_": "notifyPeer", "peer": Peer} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -notifyPeer={_='notifyPeer', peer=Peer, } +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 d849e785..86449f17 100644 --- a/old_docs/API_docs_v66/constructors/notifyUsers.md +++ b/old_docs/API_docs_v66/constructors/notifyUsers.md @@ -16,13 +16,13 @@ description: notifyUsers attributes, type and example ### Example: ``` -$notifyUsers = ['_' => 'notifyUsers', ]; +$notifyUsers = ['_' => 'notifyUsers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"notifyUsers"} +{"_": "notifyUsers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -notifyUsers={_='notifyUsers', } +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 b956ca92..b2c31669 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 @@ -26,13 +26,13 @@ description: p_q_inner_data attributes, type and example ### Example: ``` -$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; +$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +{"_": "p_q_inner_data", "pq": "string", "p": "string", "q": "string", "nonce": int128, "server_nonce": int128, "new_nonce": int256} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -p_q_inner_data={_='p_q_inner_data', pq=string, p=string, q=string, nonce=int128, server_nonce=int128, new_nonce=int256, } +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 7e7e3582..381641d8 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAnchor.md @@ -21,13 +21,13 @@ description: pageBlockAnchor attributes, type and example ### Example: ``` -$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; +$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAnchor","name":"string"} +{"_": "pageBlockAnchor", "name": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockAnchor={_='pageBlockAnchor', name=string, } +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 b30337e1..83a9830d 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md @@ -22,13 +22,13 @@ description: pageBlockAuthorDate attributes, type and example ### Example: ``` -$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; +$pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +{"_": "pageBlockAuthorDate", "author": RichText, "published_date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int, } +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 03b93ab7..c7da7f93 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md @@ -22,13 +22,13 @@ description: pageBlockBlockquote attributes, type and example ### Example: ``` -$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockBlockquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText, } +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 bc43c4f8..9cadbb17 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v66/constructors/pageBlockChannel.md @@ -21,13 +21,13 @@ description: pageBlockChannel attributes, type and example ### Example: ``` -$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat, ]; +$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockChannel","channel":"Chat"} +{"_": "pageBlockChannel", "channel": Chat} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockChannel={_='pageBlockChannel', channel=Chat, } +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 7ae744f5..dc608ca7 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCollage.md @@ -22,13 +22,13 @@ description: pageBlockCollage attributes, type and example ### Example: ``` -$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockCollage", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText, } +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 5c91d850..ed4b125c 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCover.md @@ -21,13 +21,13 @@ description: pageBlockCover attributes, type and example ### Example: ``` -$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; +$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockCover","cover":"PageBlock"} +{"_": "pageBlockCover", "cover": PageBlock} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockCover={_='pageBlockCover', cover=PageBlock, } +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 03b6b756..05080a18 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v66/constructors/pageBlockDivider.md @@ -16,13 +16,13 @@ description: pageBlockDivider attributes, type and example ### Example: ``` -$pageBlockDivider = ['_' => 'pageBlockDivider', ]; +$pageBlockDivider = ['_' => 'pageBlockDivider']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockDivider"} +{"_": "pageBlockDivider"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockDivider={_='pageBlockDivider', } +pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md index acc257b8..469ea6da 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md @@ -28,13 +28,13 @@ description: pageBlockEmbed attributes, type and example ### Example: ``` -$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; +$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +{"_": "pageBlockEmbed", "full_width": Bool, "allow_scrolling": Bool, "url": "string", "html": "string", "poster_photo_id": long, "w": int, "h": int, "caption": RichText} ``` @@ -42,7 +42,7 @@ Or, if you're into Lua: ``` -pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } +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 7bd9a9cf..353ecc16 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md @@ -27,13 +27,13 @@ description: pageBlockEmbedPost attributes, type and example ### Example: ``` -$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; +$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockEmbedPost", "url": "string", "webpage_id": long, "author_photo_id": long, "author": "string", "date": int, "blocks": [PageBlock], "caption": RichText} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -pageBlockEmbedPost={_='pageBlockEmbedPost', url=string, webpage_id=long, author_photo_id=long, author=string, date=int, blocks={PageBlock}, caption=RichText, } +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 b35e731e..f9ca45a0 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v66/constructors/pageBlockFooter.md @@ -21,13 +21,13 @@ description: pageBlockFooter attributes, type and example ### Example: ``` -$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; +$pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockFooter","text":"RichText"} +{"_": "pageBlockFooter", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockFooter={_='pageBlockFooter', text=RichText, } +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 69fb595d..d689cce7 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockHeader.md @@ -21,13 +21,13 @@ description: pageBlockHeader attributes, type and example ### Example: ``` -$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; +$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockHeader","text":"RichText"} +{"_": "pageBlockHeader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockHeader={_='pageBlockHeader', text=RichText, } +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 e3608efe..3f6b4a84 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockList.md +++ b/old_docs/API_docs_v66/constructors/pageBlockList.md @@ -22,13 +22,13 @@ description: pageBlockList attributes, type and example ### Example: ``` -$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; +$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +{"_": "pageBlockList", "ordered": Bool, "items": [RichText]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}, } +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 c3cae789..be2bb42e 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v66/constructors/pageBlockParagraph.md @@ -21,13 +21,13 @@ description: pageBlockParagraph attributes, type and example ### Example: ``` -$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; +$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockParagraph","text":"RichText"} +{"_": "pageBlockParagraph", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockParagraph={_='pageBlockParagraph', text=RichText, } +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 cd89acb3..ab11b247 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPhoto.md @@ -22,13 +22,13 @@ description: pageBlockPhoto attributes, type and example ### Example: ``` -$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; +$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +{"_": "pageBlockPhoto", "photo_id": long, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText, } +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 7fb3de67..b8e8d4e4 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md @@ -22,13 +22,13 @@ description: pageBlockPreformatted attributes, type and example ### Example: ``` -$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; +$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +{"_": "pageBlockPreformatted", "text": RichText, "language": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language=string, } +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 12c9fc4c..431942c1 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPullquote.md @@ -22,13 +22,13 @@ description: pageBlockPullquote attributes, type and example ### Example: ``` -$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; +$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +{"_": "pageBlockPullquote", "text": RichText, "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText, } +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 de0d384c..d9e6526f 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md @@ -22,13 +22,13 @@ description: pageBlockSlideshow attributes, type and example ### Example: ``` -$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; +$pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +{"_": "pageBlockSlideshow", "items": [PageBlock], "caption": RichText} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText, } +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 7efc0a7c..b77c29ca 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubheader.md @@ -21,13 +21,13 @@ description: pageBlockSubheader attributes, type and example ### Example: ``` -$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; +$pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubheader","text":"RichText"} +{"_": "pageBlockSubheader", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubheader={_='pageBlockSubheader', text=RichText, } +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 6551b737..0c288b01 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md @@ -21,13 +21,13 @@ description: pageBlockSubtitle attributes, type and example ### Example: ``` -$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; +$pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockSubtitle","text":"RichText"} +{"_": "pageBlockSubtitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockSubtitle={_='pageBlockSubtitle', text=RichText, } +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 75f47508..bd9d9d32 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockTitle.md @@ -21,13 +21,13 @@ description: pageBlockTitle attributes, type and example ### Example: ``` -$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; +$pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockTitle","text":"RichText"} +{"_": "pageBlockTitle", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -pageBlockTitle={_='pageBlockTitle', text=RichText, } +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 5b7d881f..ec2c4508 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md @@ -16,13 +16,13 @@ description: pageBlockUnsupported attributes, type and example ### Example: ``` -$pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; +$pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockUnsupported"} +{"_": "pageBlockUnsupported"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -pageBlockUnsupported={_='pageBlockUnsupported', } +pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockVideo.md b/old_docs/API_docs_v66/constructors/pageBlockVideo.md index 59a824c1..ac0197a5 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v66/constructors/pageBlockVideo.md @@ -24,13 +24,13 @@ description: pageBlockVideo attributes, type and example ### Example: ``` -$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; +$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +{"_": "pageBlockVideo", "autoplay": Bool, "loop": Bool, "video_id": long, "caption": RichText} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText, } +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 3cbba529..9017313c 100644 --- a/old_docs/API_docs_v66/constructors/pageFull.md +++ b/old_docs/API_docs_v66/constructors/pageFull.md @@ -23,13 +23,13 @@ description: pageFull attributes, type and example ### Example: ``` -$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pageFull", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 638dc934..4a6a177d 100644 --- a/old_docs/API_docs_v66/constructors/pagePart.md +++ b/old_docs/API_docs_v66/constructors/pagePart.md @@ -23,13 +23,13 @@ description: pagePart attributes, type and example ### Example: ``` -$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; +$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +{"_": "pagePart", "blocks": [PageBlock], "photos": [Photo], "videos": [Document]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}, } +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 2f9c6127..d9a29ddd 100644 --- a/old_docs/API_docs_v66/constructors/paymentCharge.md +++ b/old_docs/API_docs_v66/constructors/paymentCharge.md @@ -22,13 +22,13 @@ description: paymentCharge attributes, type and example ### Example: ``` -$paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; +$paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +{"_": "paymentCharge", "id": "string", "provider_charge_id": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentCharge={_='paymentCharge', id=string, provider_charge_id=string, } +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 a4e8612d..298906fb 100644 --- a/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md @@ -24,13 +24,13 @@ description: paymentRequestedInfo attributes, type and example ### Example: ``` -$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; +$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +{"_": "paymentRequestedInfo", "name": "string", "phone": "string", "email": "string", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -paymentRequestedInfo={_='paymentRequestedInfo', name=string, phone=string, email=string, shipping_address=PostAddress, } +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 fd97903a..892c6abb 100644 --- a/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md @@ -22,13 +22,13 @@ description: paymentSavedCredentialsCard attributes, type and example ### Example: ``` -$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; +$paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +{"_": "paymentSavedCredentialsCard", "id": "string", "title": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id=string, title=string, } +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 dff13e64..bb1d4ad5 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentForm.md @@ -31,13 +31,13 @@ description: payments_paymentForm attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -45,7 +45,7 @@ Or, if you're into 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}, } +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 90000f42..2b44e46d 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md @@ -30,13 +30,13 @@ description: payments_paymentReceipt attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 aad37320..a4b6bf33 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentResult.md @@ -21,13 +21,13 @@ description: payments_paymentResult attributes, type and example ### Example: ``` -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; +$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentResult","updates":"Updates"} +{"_": "payments.paymentResult", "updates": Updates} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentResult={_='payments.paymentResult', updates=Updates, } +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 0b2f4224..7cae0027 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md @@ -21,13 +21,13 @@ description: payments_paymentVerficationNeeded attributes, type and example ### Example: ``` -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; +$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.paymentVerficationNeeded","url":"string"} +{"_": "payments.paymentVerficationNeeded", "url": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url=string, } +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 57e9b3ad..5f83e8ee 100644 --- a/old_docs/API_docs_v66/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_savedInfo.md @@ -22,13 +22,13 @@ description: payments_savedInfo attributes, type and example ### Example: ``` -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; +$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +{"_": "payments.savedInfo", "has_saved_credentials": Bool, "saved_info": PaymentRequestedInfo} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo, } +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 7140482a..4782a899 100644 --- a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md @@ -22,13 +22,13 @@ description: payments_validatedRequestedInfo attributes, type and example ### Example: ``` -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; +$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +{"_": "payments.validatedRequestedInfo", "id": "string", "shipping_options": [ShippingOption]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id=string, shipping_options={ShippingOption}, } +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 56e15b2e..f022f632 100644 --- a/old_docs/API_docs_v66/constructors/peerChannel.md +++ b/old_docs/API_docs_v66/constructors/peerChannel.md @@ -21,13 +21,13 @@ description: peerChannel attributes, type and example ### Example: ``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChannel","channel_id":"int"} +{"_": "peerChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChannel={_='peerChannel', channel_id=int, } +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 a601094b..f5e92aec 100644 --- a/old_docs/API_docs_v66/constructors/peerChat.md +++ b/old_docs/API_docs_v66/constructors/peerChat.md @@ -21,13 +21,13 @@ description: peerChat attributes, type and example ### Example: ``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +$peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerChat","chat_id":"int"} +{"_": "peerChat", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerChat={_='peerChat', chat_id=int, } +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 815cc7dd..ec81cedf 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md @@ -16,13 +16,13 @@ description: peerNotifyEventsAll attributes, type and example ### Example: ``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsAll"} +{"_": "peerNotifyEventsAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsAll={_='peerNotifyEventsAll', } +peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md index cdda0ae6..ea04b551 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifyEventsEmpty attributes, type and example ### Example: ``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifyEventsEmpty"} +{"_": "peerNotifyEventsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifyEventsEmpty={_='peerNotifyEventsEmpty', } +peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifySettings.md b/old_docs/API_docs_v66/constructors/peerNotifySettings.md index fb5f90ac..d2bbfa0b 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettings.md @@ -24,13 +24,13 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +{"_": "peerNotifySettings", "show_previews": Bool, "silent": Bool, "mute_until": int, "sound": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } +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 7aada33c..8e7c4c57 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md @@ -16,13 +16,13 @@ description: peerNotifySettingsEmpty attributes, type and example ### Example: ``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerNotifySettingsEmpty"} +{"_": "peerNotifySettingsEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -peerNotifySettingsEmpty={_='peerNotifySettingsEmpty', } +peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerSettings.md b/old_docs/API_docs_v66/constructors/peerSettings.md index 1c888af9..7bdfbddd 100644 --- a/old_docs/API_docs_v66/constructors/peerSettings.md +++ b/old_docs/API_docs_v66/constructors/peerSettings.md @@ -21,13 +21,13 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerSettings","report_spam":"Bool"} +{"_": "peerSettings", "report_spam": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=Bool, } +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 88efd682..1d3a1719 100644 --- a/old_docs/API_docs_v66/constructors/peerUser.md +++ b/old_docs/API_docs_v66/constructors/peerUser.md @@ -21,13 +21,13 @@ description: peerUser attributes, type and example ### Example: ``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +$peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"peerUser","user_id":"int"} +{"_": "peerUser", "user_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -peerUser={_='peerUser', user_id=int, } +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 6414af6f..0d4778d6 100644 --- a/old_docs/API_docs_v66/constructors/phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phoneCall.md @@ -31,13 +31,13 @@ description: phoneCall attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -45,7 +45,7 @@ Or, if you're into 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, } +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 2065f97c..1914baa2 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v66/constructors/phoneCallAccepted.md @@ -27,13 +27,13 @@ description: phoneCallAccepted attributes, type and example ### Example: ``` -$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallAccepted", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_b": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b=bytes, protocol=PhoneCallProtocol, } +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 a8041928..3b355a4b 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example ### Example: ``` -$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; +$phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonBusy"} +{"_": "phoneCallDiscardReasonBusy"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy', } +phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md index c0567700..1c631e88 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example ### Example: ``` -$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; +$phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonDisconnect"} +{"_": "phoneCallDiscardReasonDisconnect"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect', } +phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md index 7c108ec3..42bf1157 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example ### Example: ``` -$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; +$phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonHangup"} +{"_": "phoneCallDiscardReasonHangup"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup', } +phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md index f6aa306c..3b4045b5 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md @@ -16,13 +16,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example ### Example: ``` -$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; +$phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscardReasonMissed"} +{"_": "phoneCallDiscardReasonMissed"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed', } +phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md index 50f8bbaa..9a20badd 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md @@ -25,13 +25,13 @@ description: phoneCallDiscarded attributes, type and example ### Example: ``` -$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; +$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +{"_": "phoneCallDiscarded", "need_rating": Bool, "need_debug": Bool, "id": long, "reason": PhoneCallDiscardReason, "duration": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int, } +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 ad8dec73..dfc9c860 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v66/constructors/phoneCallEmpty.md @@ -21,13 +21,13 @@ description: phoneCallEmpty attributes, type and example ### Example: ``` -$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; +$phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallEmpty","id":"long"} +{"_": "phoneCallEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -phoneCallEmpty={_='phoneCallEmpty', id=long, } +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 b4f6dffb..ec8bfca7 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v66/constructors/phoneCallProtocol.md @@ -24,13 +24,13 @@ description: phoneCallProtocol attributes, type and example ### Example: ``` -$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; +$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +{"_": "phoneCallProtocol", "udp_p2p": Bool, "udp_reflector": Bool, "min_layer": int, "max_layer": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, } +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 64d3a65c..f989d3f2 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v66/constructors/phoneCallRequested.md @@ -27,13 +27,13 @@ description: phoneCallRequested attributes, type and example ### Example: ``` -$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; +$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +{"_": "phoneCallRequested", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_hash": "bytes", "protocol": PhoneCallProtocol} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash=bytes, protocol=PhoneCallProtocol, } +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 702a868f..5cb5dd71 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v66/constructors/phoneCallWaiting.md @@ -27,13 +27,13 @@ description: phoneCallWaiting attributes, type and example ### Example: ``` -$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; +$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +{"_": "phoneCallWaiting", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "protocol": PhoneCallProtocol, "receive_date": int} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int, } +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 9c2c6a58..87ec67aa 100644 --- a/old_docs/API_docs_v66/constructors/phoneConnection.md +++ b/old_docs/API_docs_v66/constructors/phoneConnection.md @@ -25,13 +25,13 @@ description: phoneConnection attributes, type and example ### Example: ``` -$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; +$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +{"_": "phoneConnection", "id": long, "ip": "string", "ipv6": "string", "port": int, "peer_tag": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -phoneConnection={_='phoneConnection', id=long, ip=string, ipv6=string, port=int, peer_tag=bytes, } +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 af0106eb..06bf1592 100644 --- a/old_docs/API_docs_v66/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phone_phoneCall.md @@ -22,13 +22,13 @@ description: phone_phoneCall attributes, type and example ### Example: ``` -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; +$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +{"_": "phone.phoneCall", "phone_call": PhoneCall, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}, } +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 eeb39d1f..4c3434e0 100644 --- a/old_docs/API_docs_v66/constructors/photo.md +++ b/old_docs/API_docs_v66/constructors/photo.md @@ -25,13 +25,13 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +{"_": "photo", "has_stickers": Bool, "id": long, "access_hash": long, "date": int, "sizes": [PhotoSize]} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +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 8e85b420..97e6d4f1 100644 --- a/old_docs/API_docs_v66/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v66/constructors/photoCachedSize.md @@ -25,13 +25,13 @@ description: photoCachedSize attributes, type and example ### Example: ``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoCachedSize={_='photoCachedSize', type=string, location=FileLocation, w=int, h=int, bytes=bytes, } +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 32fda27e..3fbeaade 100644 --- a/old_docs/API_docs_v66/constructors/photoEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoEmpty.md @@ -21,13 +21,13 @@ description: photoEmpty attributes, type and example ### Example: ``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +$photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoEmpty","id":"long"} +{"_": "photoEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoEmpty={_='photoEmpty', id=long, } +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 596b577c..857af470 100644 --- a/old_docs/API_docs_v66/constructors/photoSize.md +++ b/old_docs/API_docs_v66/constructors/photoSize.md @@ -25,13 +25,13 @@ description: photoSize attributes, type and example ### Example: ``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +$photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, } +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 1f8a5af2..d7edd81c 100644 --- a/old_docs/API_docs_v66/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoSizeEmpty.md @@ -21,13 +21,13 @@ description: photoSizeEmpty attributes, type and example ### Example: ``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photoSizeEmpty","type":"string"} +{"_": "photoSizeEmpty", "type": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -photoSizeEmpty={_='photoSizeEmpty', type=string, } +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 39b48b0b..f6b3376d 100644 --- a/old_docs/API_docs_v66/constructors/photos_photo.md +++ b/old_docs/API_docs_v66/constructors/photos_photo.md @@ -22,13 +22,13 @@ description: photos_photo attributes, type and example ### Example: ``` -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; +$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photo","photo":"Photo","users":["User"]} +{"_": "photos.photo", "photo": Photo, "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photo={_='photos.photo', photo=Photo, users={User}, } +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 e4958e29..37a25eb8 100644 --- a/old_docs/API_docs_v66/constructors/photos_photos.md +++ b/old_docs/API_docs_v66/constructors/photos_photos.md @@ -22,13 +22,13 @@ description: photos_photos attributes, type and example ### Example: ``` -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; +$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photos","photos":["Photo"],"users":["User"]} +{"_": "photos.photos", "photos": [Photo], "users": [User]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -photos_photos={_='photos.photos', photos={Photo}, users={User}, } +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 d36d0c1e..40cac2c1 100644 --- a/old_docs/API_docs_v66/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v66/constructors/photos_photosSlice.md @@ -23,13 +23,13 @@ description: photos_photosSlice attributes, type and example ### Example: ``` -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; +$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}, } +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 5c03bb9b..e44a1ade 100644 --- a/old_docs/API_docs_v66/constructors/pong.md +++ b/old_docs/API_docs_v66/constructors/pong.md @@ -22,13 +22,13 @@ description: pong attributes, type and example ### Example: ``` -$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; +$pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"pong","msg_id":"long","ping_id":"long"} +{"_": "pong", "msg_id": long, "ping_id": long} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -pong={_='pong', msg_id=long, ping_id=long, } +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 5b656fd9..4af6eb79 100644 --- a/old_docs/API_docs_v66/constructors/postAddress.md +++ b/old_docs/API_docs_v66/constructors/postAddress.md @@ -26,13 +26,13 @@ description: postAddress attributes, type and example ### Example: ``` -$postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; +$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +{"_": "postAddress", "street_line1": "string", "street_line2": "string", "city": "string", "state": "string", "country_iso2": "string", "post_code": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -postAddress={_='postAddress', street_line1=string, street_line2=string, city=string, state=string, country_iso2=string, post_code=string, } +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 88fbe9a6..8ae5e135 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md @@ -16,13 +16,13 @@ description: privacyKeyChatInvite attributes, type and example ### Example: ``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyChatInvite"} +{"_": "privacyKeyChatInvite"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyChatInvite={_='privacyKeyChatInvite', } +privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md index 894dccb5..bcb57658 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md @@ -16,13 +16,13 @@ description: privacyKeyPhoneCall attributes, type and example ### Example: ``` -$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; +$privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyPhoneCall"} +{"_": "privacyKeyPhoneCall"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyPhoneCall={_='privacyKeyPhoneCall', } +privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md index 5f46dbbe..b0871179 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md @@ -16,13 +16,13 @@ description: privacyKeyStatusTimestamp attributes, type and example ### Example: ``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyKeyStatusTimestamp"} +{"_": "privacyKeyStatusTimestamp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp', } +privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md index 1556175d..459e2ce3 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md @@ -16,13 +16,13 @@ description: privacyValueAllowAll attributes, type and example ### Example: ``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowAll"} +{"_": "privacyValueAllowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowAll={_='privacyValueAllowAll', } +privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md index f99837e8..2f1f549f 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md @@ -16,13 +16,13 @@ description: privacyValueAllowContacts attributes, type and example ### Example: ``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowContacts"} +{"_": "privacyValueAllowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueAllowContacts={_='privacyValueAllowContacts', } +privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md index 81b696f4..3cdaa3fc 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md @@ -21,13 +21,13 @@ description: privacyValueAllowUsers attributes, type and example ### Example: ``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueAllowUsers","users":["int"]} +{"_": "privacyValueAllowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}, } +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 b1b39244..3d1d5c9e 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md @@ -16,13 +16,13 @@ description: privacyValueDisallowAll attributes, type and example ### Example: ``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowAll"} +{"_": "privacyValueDisallowAll"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowAll={_='privacyValueDisallowAll', } +privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md index dcbdb8fc..8a577aed 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md @@ -16,13 +16,13 @@ description: privacyValueDisallowContacts attributes, type and example ### Example: ``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowContacts"} +{"_": "privacyValueDisallowContacts"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowContacts={_='privacyValueDisallowContacts', } +privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md index 08f0537a..17233390 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md @@ -21,13 +21,13 @@ description: privacyValueDisallowUsers attributes, type and example ### Example: ``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"privacyValueDisallowUsers","users":["int"]} +{"_": "privacyValueDisallowUsers", "users": [int]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}, } +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 e78cfdd1..1473cfec 100644 --- a/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md @@ -21,13 +21,13 @@ description: receivedNotifyMessage attributes, type and example ### Example: ``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"receivedNotifyMessage","id":"int"} +{"_": "receivedNotifyMessage", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -receivedNotifyMessage={_='receivedNotifyMessage', id=int, } +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 76e87dc2..6884e2f7 100644 --- a/old_docs/API_docs_v66/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyInlineMarkup.md @@ -21,13 +21,13 @@ description: replyInlineMarkup attributes, type and example ### Example: ``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +{"_": "replyInlineMarkup", "rows": [KeyboardButtonRow]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}, } +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 02a0779a..9012740e 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md @@ -22,13 +22,13 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +{"_": "replyKeyboardForceReply", "single_use": Bool, "selective": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } +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 8b210933..c709c32a 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardHide.md @@ -21,13 +21,13 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardHide","selective":"Bool"} +{"_": "replyKeyboardHide", "selective": Bool} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } +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 4269aeb9..fbba271e 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md @@ -24,13 +24,13 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +{"_": "replyKeyboardMarkup", "resize": Bool, "single_use": Bool, "selective": Bool, "rows": [KeyboardButtonRow]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } +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 67f30009..273bd3fc 100644 --- a/old_docs/API_docs_v66/constructors/resPQ.md +++ b/old_docs/API_docs_v66/constructors/resPQ.md @@ -24,13 +24,13 @@ description: resPQ attributes, type and example ### Example: ``` -$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; +$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": "string", "server_public_key_fingerprints": [long]} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq=string, server_public_key_fingerprints={long}, } +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 9ea5479b..88a3506c 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md @@ -23,13 +23,13 @@ description: rpc_answer_dropped attributes, type and example ### Example: ``` -$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; +$rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +{"_": "rpc_answer_dropped", "msg_id": long, "seq_no": int, "bytes": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int, } +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 c3723abd..5b34fc87 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,13 +16,13 @@ description: rpc_answer_dropped_running attributes, type and example ### Example: ``` -$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; +$rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_dropped_running"} +{"_": "rpc_answer_dropped_running"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_dropped_running={_='rpc_answer_dropped_running', } +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 58132b7a..51d22746 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md @@ -16,13 +16,13 @@ description: rpc_answer_unknown attributes, type and example ### Example: ``` -$rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; +$rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_answer_unknown"} +{"_": "rpc_answer_unknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -rpc_answer_unknown={_='rpc_answer_unknown', } +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 fe821e55..885ef35e 100644 --- a/old_docs/API_docs_v66/constructors/rpc_error.md +++ b/old_docs/API_docs_v66/constructors/rpc_error.md @@ -22,13 +22,13 @@ description: rpc_error attributes, type and example ### Example: ``` -$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; +$rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"rpc_error","error_code":"int","error_message":"string"} +{"_": "rpc_error", "error_code": int, "error_message": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -rpc_error={_='rpc_error', error_code=int, error_message=string, } +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 ff9df714..e0912b17 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md @@ -16,13 +16,13 @@ description: sendMessageCancelAction attributes, type and example ### Example: ``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageCancelAction"} +{"_": "sendMessageCancelAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageCancelAction={_='sendMessageCancelAction', } +sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md index f8533cb4..b26c05a2 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md @@ -16,13 +16,13 @@ description: sendMessageChooseContactAction attributes, type and example ### Example: ``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageChooseContactAction"} +{"_": "sendMessageChooseContactAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageChooseContactAction={_='sendMessageChooseContactAction', } +sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md index 3fa832ac..8549a255 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md @@ -16,13 +16,13 @@ description: sendMessageGamePlayAction attributes, type and example ### Example: ``` -$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; +$sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGamePlayAction"} +{"_": "sendMessageGamePlayAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGamePlayAction={_='sendMessageGamePlayAction', } +sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md index de18844a..71d2cee0 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md @@ -16,13 +16,13 @@ description: sendMessageGeoLocationAction attributes, type and example ### Example: ``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageGeoLocationAction"} +{"_": "sendMessageGeoLocationAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageGeoLocationAction={_='sendMessageGeoLocationAction', } +sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md index fd8d5ec7..3507c021 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordAudioAction attributes, type and example ### Example: ``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordAudioAction"} +{"_": "sendMessageRecordAudioAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordAudioAction={_='sendMessageRecordAudioAction', } +sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md index 254558be..6b6cbcb1 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordRoundAction attributes, type and example ### Example: ``` -$sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction', ]; +$sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordRoundAction"} +{"_": "sendMessageRecordRoundAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordRoundAction={_='sendMessageRecordRoundAction', } +sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md index 2d2cc0ad..5a08f180 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md @@ -16,13 +16,13 @@ description: sendMessageRecordVideoAction attributes, type and example ### Example: ``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageRecordVideoAction"} +{"_": "sendMessageRecordVideoAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageRecordVideoAction={_='sendMessageRecordVideoAction', } +sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md index e7db54b2..fc698a95 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md @@ -16,13 +16,13 @@ description: sendMessageTypingAction attributes, type and example ### Example: ``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageTypingAction"} +{"_": "sendMessageTypingAction"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -sendMessageTypingAction={_='sendMessageTypingAction', } +sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md index 4d9be79b..d99e0f7c 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadAudioAction attributes, type and example ### Example: ``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadAudioAction","progress":"int"} +{"_": "sendMessageUploadAudioAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int, } +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 882c232c..c4890fd4 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadDocumentAction attributes, type and example ### Example: ``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadDocumentAction","progress":"int"} +{"_": "sendMessageUploadDocumentAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int, } +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 e4dd0024..b236e0e3 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadPhotoAction attributes, type and example ### Example: ``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadPhotoAction","progress":"int"} +{"_": "sendMessageUploadPhotoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, } +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 2cfcfc17..c2490620 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadRoundAction attributes, type and example ### Example: ``` -$sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int, ]; +$sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadRoundAction","progress":"int"} +{"_": "sendMessageUploadRoundAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int, } +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 1762b2be..7a9dade2 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md @@ -21,13 +21,13 @@ description: sendMessageUploadVideoAction attributes, type and example ### Example: ``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"sendMessageUploadVideoAction","progress":"int"} +{"_": "sendMessageUploadVideoAction", "progress": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int, } +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 48ee3b47..573530f1 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,13 +26,13 @@ description: server_DH_inner_data attributes, type and example ### Example: ``` -$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => string, 'g_a' => string, 'server_time' => int, ]; +$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": "string", "g_a": "string", "server_time": int} ``` @@ -40,7 +40,7 @@ Or, if you're into 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, } +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 69df7594..b6f94870 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,13 +23,13 @@ description: server_DH_params_fail attributes, type and example ### Example: ``` -$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128, ]; +$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +{"_": "server_DH_params_fail", "nonce": int128, "server_nonce": int128, "new_nonce_hash": int128} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128, } +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 724e78f0..d6f5a4b5 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,13 +23,13 @@ description: server_DH_params_ok attributes, type and example ### Example: ``` -$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; +$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": "string"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer=string, } +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 cc20da56..246c919d 100644 --- a/old_docs/API_docs_v66/constructors/shippingOption.md +++ b/old_docs/API_docs_v66/constructors/shippingOption.md @@ -23,13 +23,13 @@ description: shippingOption attributes, type and example ### Example: ``` -$shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; +$shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +{"_": "shippingOption", "id": "string", "title": "string", "prices": [LabeledPrice]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -shippingOption={_='shippingOption', id=string, title=string, prices={LabeledPrice}, } +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 454c26ac..196ef102 100644 --- a/old_docs/API_docs_v66/constructors/stickerPack.md +++ b/old_docs/API_docs_v66/constructors/stickerPack.md @@ -22,13 +22,13 @@ description: stickerPack attributes, type and example ### Example: ``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; +$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerPack","emoticon":"string","documents":["long"]} +{"_": "stickerPack", "emoticon": "string", "documents": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerPack={_='stickerPack', emoticon=string, documents={long}, } +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 20964d59..41fd5b23 100644 --- a/old_docs/API_docs_v66/constructors/stickerSet.md +++ b/old_docs/API_docs_v66/constructors/stickerSet.md @@ -30,13 +30,13 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int} ``` @@ -44,7 +44,7 @@ Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', 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 3421f170..1c6eed5a 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetCovered.md @@ -22,13 +22,13 @@ description: stickerSetCovered attributes, type and example ### Example: ``` -$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; +$stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +{"_": "stickerSetCovered", "set": StickerSet, "cover": Document} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document, } +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 c71c0503..41502aa6 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md @@ -22,13 +22,13 @@ description: stickerSetMultiCovered attributes, type and example ### Example: ``` -$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; +$stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +{"_": "stickerSetMultiCovered", "set": StickerSet, "covers": [Document]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}, } +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 3ed39100..74007fbd 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v66/constructors/storage_fileGif.md @@ -16,13 +16,13 @@ description: storage_fileGif attributes, type and example ### Example: ``` -$storage_fileGif = ['_' => 'storage.fileGif', ]; +$storage_fileGif = ['_' => 'storage.fileGif']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileGif"} +{"_": "storage.fileGif"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileGif={_='storage.fileGif', } +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 201d5827..a39da6bb 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md @@ -16,13 +16,13 @@ description: storage_fileJpeg attributes, type and example ### Example: ``` -$storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; +$storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileJpeg"} +{"_": "storage.fileJpeg"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileJpeg={_='storage.fileJpeg', } +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 875499c9..17db57e0 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMov.md @@ -16,13 +16,13 @@ description: storage_fileMov attributes, type and example ### Example: ``` -$storage_fileMov = ['_' => 'storage.fileMov', ]; +$storage_fileMov = ['_' => 'storage.fileMov']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMov"} +{"_": "storage.fileMov"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMov={_='storage.fileMov', } +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 6aa9ff3a..ac5b25ca 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp3.md @@ -16,13 +16,13 @@ description: storage_fileMp3 attributes, type and example ### Example: ``` -$storage_fileMp3 = ['_' => 'storage.fileMp3', ]; +$storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp3"} +{"_": "storage.fileMp3"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp3={_='storage.fileMp3', } +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 3b1a46ee..6dd5e689 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp4.md @@ -16,13 +16,13 @@ description: storage_fileMp4 attributes, type and example ### Example: ``` -$storage_fileMp4 = ['_' => 'storage.fileMp4', ]; +$storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileMp4"} +{"_": "storage.fileMp4"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileMp4={_='storage.fileMp4', } +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 b21ebe5a..312430dd 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v66/constructors/storage_filePartial.md @@ -16,13 +16,13 @@ description: storage_filePartial attributes, type and example ### Example: ``` -$storage_filePartial = ['_' => 'storage.filePartial', ]; +$storage_filePartial = ['_' => 'storage.filePartial']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePartial"} +{"_": "storage.filePartial"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePartial={_='storage.filePartial', } +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 81ec6747..be9d121e 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v66/constructors/storage_filePdf.md @@ -16,13 +16,13 @@ description: storage_filePdf attributes, type and example ### Example: ``` -$storage_filePdf = ['_' => 'storage.filePdf', ]; +$storage_filePdf = ['_' => 'storage.filePdf']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePdf"} +{"_": "storage.filePdf"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePdf={_='storage.filePdf', } +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 456bfc2c..64e9cb75 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePng.md +++ b/old_docs/API_docs_v66/constructors/storage_filePng.md @@ -16,13 +16,13 @@ description: storage_filePng attributes, type and example ### Example: ``` -$storage_filePng = ['_' => 'storage.filePng', ]; +$storage_filePng = ['_' => 'storage.filePng']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.filePng"} +{"_": "storage.filePng"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_filePng={_='storage.filePng', } +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 6ee1a0af..7a9820a0 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md @@ -16,13 +16,13 @@ description: storage_fileUnknown attributes, type and example ### Example: ``` -$storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; +$storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileUnknown"} +{"_": "storage.fileUnknown"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileUnknown={_='storage.fileUnknown', } +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 f034d8cf..3b5d69aa 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v66/constructors/storage_fileWebp.md @@ -16,13 +16,13 @@ description: storage_fileWebp attributes, type and example ### Example: ``` -$storage_fileWebp = ['_' => 'storage.fileWebp', ]; +$storage_fileWebp = ['_' => 'storage.fileWebp']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"storage.fileWebp"} +{"_": "storage.fileWebp"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -storage_fileWebp={_='storage.fileWebp', } +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 e701f64a..f7ea1391 100644 --- a/old_docs/API_docs_v66/constructors/textBold.md +++ b/old_docs/API_docs_v66/constructors/textBold.md @@ -21,13 +21,13 @@ description: textBold attributes, type and example ### Example: ``` -$textBold = ['_' => 'textBold', 'text' => RichText, ]; +$textBold = ['_' => 'textBold', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textBold","text":"RichText"} +{"_": "textBold", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textBold={_='textBold', text=RichText, } +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 4cb1d8b4..f3641ab0 100644 --- a/old_docs/API_docs_v66/constructors/textConcat.md +++ b/old_docs/API_docs_v66/constructors/textConcat.md @@ -21,13 +21,13 @@ description: textConcat attributes, type and example ### Example: ``` -$textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; +$textConcat = ['_' => 'textConcat', 'texts' => [RichText]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textConcat","texts":["RichText"]} +{"_": "textConcat", "texts": [RichText]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textConcat={_='textConcat', texts={RichText}, } +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 269829ac..c5eacd00 100644 --- a/old_docs/API_docs_v66/constructors/textEmail.md +++ b/old_docs/API_docs_v66/constructors/textEmail.md @@ -22,13 +22,13 @@ description: textEmail attributes, type and example ### Example: ``` -$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; +$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmail","text":"RichText","email":"string"} +{"_": "textEmail", "text": RichText, "email": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -textEmail={_='textEmail', text=RichText, email=string, } +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 9e0b229a..176c1327 100644 --- a/old_docs/API_docs_v66/constructors/textEmpty.md +++ b/old_docs/API_docs_v66/constructors/textEmpty.md @@ -16,13 +16,13 @@ description: textEmpty attributes, type and example ### Example: ``` -$textEmpty = ['_' => 'textEmpty', ]; +$textEmpty = ['_' => 'textEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textEmpty"} +{"_": "textEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -textEmpty={_='textEmpty', } +textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/textFixed.md b/old_docs/API_docs_v66/constructors/textFixed.md index 892359ad..1dc33a4e 100644 --- a/old_docs/API_docs_v66/constructors/textFixed.md +++ b/old_docs/API_docs_v66/constructors/textFixed.md @@ -21,13 +21,13 @@ description: textFixed attributes, type and example ### Example: ``` -$textFixed = ['_' => 'textFixed', 'text' => RichText, ]; +$textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textFixed","text":"RichText"} +{"_": "textFixed", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textFixed={_='textFixed', text=RichText, } +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 d8911436..86e6d933 100644 --- a/old_docs/API_docs_v66/constructors/textItalic.md +++ b/old_docs/API_docs_v66/constructors/textItalic.md @@ -21,13 +21,13 @@ description: textItalic attributes, type and example ### Example: ``` -$textItalic = ['_' => 'textItalic', 'text' => RichText, ]; +$textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textItalic","text":"RichText"} +{"_": "textItalic", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textItalic={_='textItalic', text=RichText, } +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 9a4a04f2..d5084056 100644 --- a/old_docs/API_docs_v66/constructors/textPlain.md +++ b/old_docs/API_docs_v66/constructors/textPlain.md @@ -21,13 +21,13 @@ description: textPlain attributes, type and example ### Example: ``` -$textPlain = ['_' => 'textPlain', 'text' => string, ]; +$textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textPlain","text":"string"} +{"_": "textPlain", "text": "string"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textPlain={_='textPlain', text=string, } +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 5fcf7345..897de12c 100644 --- a/old_docs/API_docs_v66/constructors/textStrike.md +++ b/old_docs/API_docs_v66/constructors/textStrike.md @@ -21,13 +21,13 @@ description: textStrike attributes, type and example ### Example: ``` -$textStrike = ['_' => 'textStrike', 'text' => RichText, ]; +$textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textStrike","text":"RichText"} +{"_": "textStrike", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textStrike={_='textStrike', text=RichText, } +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 6c9e19d1..74a18001 100644 --- a/old_docs/API_docs_v66/constructors/textUnderline.md +++ b/old_docs/API_docs_v66/constructors/textUnderline.md @@ -21,13 +21,13 @@ description: textUnderline attributes, type and example ### Example: ``` -$textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; +$textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUnderline","text":"RichText"} +{"_": "textUnderline", "text": RichText} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -textUnderline={_='textUnderline', text=RichText, } +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 f8df8e96..7c8027b4 100644 --- a/old_docs/API_docs_v66/constructors/textUrl.md +++ b/old_docs/API_docs_v66/constructors/textUrl.md @@ -23,13 +23,13 @@ description: textUrl attributes, type and example ### Example: ``` -$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; +$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +{"_": "textUrl", "text": RichText, "url": "string", "webpage_id": long} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -textUrl={_='textUrl', text=RichText, url=string, webpage_id=long, } +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 25b4c2c3..9e941404 100644 --- a/old_docs/API_docs_v66/constructors/topPeer.md +++ b/old_docs/API_docs_v66/constructors/topPeer.md @@ -22,13 +22,13 @@ description: topPeer attributes, type and example ### Example: ``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeer","peer":"Peer","rating":"double"} +{"_": "topPeer", "peer": Peer, "rating": double} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -topPeer={_='topPeer', peer=Peer, rating=double, } +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 e6dc94bf..00bb3221 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsInline attributes, type and example ### Example: ``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsInline"} +{"_": "topPeerCategoryBotsInline"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsInline={_='topPeerCategoryBotsInline', } +topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md index 07fc07da..35eae6b0 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md @@ -16,13 +16,13 @@ description: topPeerCategoryBotsPM attributes, type and example ### Example: ``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryBotsPM"} +{"_": "topPeerCategoryBotsPM"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryBotsPM={_='topPeerCategoryBotsPM', } +topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md index 61f1750a..e09eaeee 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md @@ -16,13 +16,13 @@ description: topPeerCategoryChannels attributes, type and example ### Example: ``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryChannels"} +{"_": "topPeerCategoryChannels"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryChannels={_='topPeerCategoryChannels', } +topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md index 735ff49e..dd47cd95 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md @@ -16,13 +16,13 @@ description: topPeerCategoryCorrespondents attributes, type and example ### Example: ``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryCorrespondents"} +{"_": "topPeerCategoryCorrespondents"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents', } +topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md index 4ae25a25..846da1f7 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md @@ -16,13 +16,13 @@ description: topPeerCategoryGroups attributes, type and example ### Example: ``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryGroups"} +{"_": "topPeerCategoryGroups"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -topPeerCategoryGroups={_='topPeerCategoryGroups', } +topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md index 655db3fb..fb443adc 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md @@ -23,13 +23,13 @@ description: topPeerCategoryPeers attributes, type and example ### Example: ``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}, } +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 ceac169d..d20cb9a0 100644 --- a/old_docs/API_docs_v66/constructors/true.md +++ b/old_docs/API_docs_v66/constructors/true.md @@ -16,13 +16,13 @@ description: true attributes, type and example ### Example: ``` -$true = ['_' => 'true', ]; +$true = ['_' => 'true']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"true"} +{"_": "true"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -true={_='true', } +true={_='true'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md index 8275bafc..c5fa96e7 100644 --- a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md @@ -27,13 +27,13 @@ description: updateBotCallbackQuery attributes, type and example ### Example: ``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data=bytes, game_short_name=string, } +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 9002aa9b..80424cfa 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md @@ -25,13 +25,13 @@ description: updateBotInlineQuery attributes, type and example ### Example: ``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query=string, geo=GeoPoint, offset=string, } +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 816f950f..45536b00 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineSend.md @@ -25,13 +25,13 @@ description: updateBotInlineSend attributes, type and example ### Example: ``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +{"_": "updateBotInlineSend", "user_id": int, "query": "string", "geo": GeoPoint, "id": "string", "msg_id": InputBotInlineMessageID} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateBotInlineSend={_='updateBotInlineSend', user_id=int, query=string, geo=GeoPoint, id=string, msg_id=InputBotInlineMessageID, } +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 39c5ac38..359ca0b3 100644 --- a/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md @@ -27,13 +27,13 @@ description: updateBotPrecheckoutQuery attributes, type and example ### Example: ``` -$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; +$updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +{"_": "updateBotPrecheckoutQuery", "query_id": long, "user_id": int, "payload": "bytes", "info": PaymentRequestedInfo, "shipping_option_id": "string", "currency": "string", "total_amount": long} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload=bytes, info=PaymentRequestedInfo, shipping_option_id=string, currency=string, total_amount=long, } +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 070149e1..dbaa044a 100644 --- a/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md @@ -24,13 +24,13 @@ description: updateBotShippingQuery attributes, type and example ### Example: ``` -$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; +$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +{"_": "updateBotShippingQuery", "query_id": long, "user_id": int, "payload": "bytes", "shipping_address": PostAddress} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload=bytes, shipping_address=PostAddress, } +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 d5785cac..c3e7bd31 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md @@ -21,13 +21,13 @@ description: updateBotWebhookJSON attributes, type and example ### Example: ``` -$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; +$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSON","data":"DataJSON"} +{"_": "updateBotWebhookJSON", "data": DataJSON} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON, } +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 ffcaaa4b..9b194a6f 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md @@ -23,13 +23,13 @@ description: updateBotWebhookJSONQuery attributes, type and example ### Example: ``` -$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; +$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +{"_": "updateBotWebhookJSONQuery", "query_id": long, "data": DataJSON, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int, } +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 a10bf4c2..c3165077 100644 --- a/old_docs/API_docs_v66/constructors/updateChannel.md +++ b/old_docs/API_docs_v66/constructors/updateChannel.md @@ -21,13 +21,13 @@ description: updateChannel attributes, type and example ### Example: ``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannel","channel_id":"int"} +{"_": "updateChannel", "channel_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChannel={_='updateChannel', channel_id=int, } +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 13ae518f..95c61313 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md @@ -23,13 +23,13 @@ description: updateChannelMessageViews attributes, type and example ### Example: ``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +{"_": "updateChannelMessageViews", "channel_id": int, "id": int, "views": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int, } +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 cbdc70c7..88724c87 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md @@ -22,13 +22,13 @@ description: updateChannelPinnedMessage attributes, type and example ### Example: ``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +{"_": "updateChannelPinnedMessage", "channel_id": int, "id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int, } +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 f0a327af..287dce39 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v66/constructors/updateChannelTooLong.md @@ -22,13 +22,13 @@ description: updateChannelTooLong attributes, type and example ### Example: ``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +{"_": "updateChannelTooLong", "channel_id": int, "pts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int, } +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 e587d33e..11e97344 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelWebPage.md @@ -24,13 +24,13 @@ description: updateChannelWebPage attributes, type and example ### Example: ``` -$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateChannelWebPage", "channel_id": int, "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int, } +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 bf391961..d61acc4c 100644 --- a/old_docs/API_docs_v66/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v66/constructors/updateChatAdmins.md @@ -23,13 +23,13 @@ description: updateChatAdmins attributes, type and example ### Example: ``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int, } +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 6fa9338d..199a95dd 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md @@ -25,13 +25,13 @@ description: updateChatParticipantAdd attributes, type and example ### Example: ``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "date": int, "version": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int, } +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 ba5bbc95..a124064c 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md @@ -24,13 +24,13 @@ description: updateChatParticipantAdmin attributes, type and example ### Example: ``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +{"_": "updateChatParticipantAdmin", "chat_id": int, "user_id": int, "is_admin": Bool, "version": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int, } +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 5575f116..a8b6438a 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md @@ -23,13 +23,13 @@ description: updateChatParticipantDelete attributes, type and example ### Example: ``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +{"_": "updateChatParticipantDelete", "chat_id": int, "user_id": int, "version": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int, } +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 fc0825fe..0e3d995e 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipants.md @@ -21,13 +21,13 @@ description: updateChatParticipants attributes, type and example ### Example: ``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatParticipants","participants":"ChatParticipants"} +{"_": "updateChatParticipants", "participants": ChatParticipants} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants, } +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 777d70ac..d3797e2e 100644 --- a/old_docs/API_docs_v66/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateChatUserTyping.md @@ -23,13 +23,13 @@ description: updateChatUserTyping attributes, type and example ### Example: ``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +{"_": "updateChatUserTyping", "chat_id": int, "user_id": int, "action": SendMessageAction} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction, } +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 ed455bd6..3bf8ae50 100644 --- a/old_docs/API_docs_v66/constructors/updateConfig.md +++ b/old_docs/API_docs_v66/constructors/updateConfig.md @@ -16,13 +16,13 @@ description: updateConfig attributes, type and example ### Example: ``` -$updateConfig = ['_' => 'updateConfig', ]; +$updateConfig = ['_' => 'updateConfig']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateConfig"} +{"_": "updateConfig"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateConfig={_='updateConfig', } +updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateContactLink.md b/old_docs/API_docs_v66/constructors/updateContactLink.md index 31dfb463..9f38f26b 100644 --- a/old_docs/API_docs_v66/constructors/updateContactLink.md +++ b/old_docs/API_docs_v66/constructors/updateContactLink.md @@ -23,13 +23,13 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink, } +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 5f859e81..968cd48d 100644 --- a/old_docs/API_docs_v66/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v66/constructors/updateContactRegistered.md @@ -22,13 +22,13 @@ description: updateContactRegistered attributes, type and example ### Example: ``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateContactRegistered","user_id":"int","date":"int"} +{"_": "updateContactRegistered", "user_id": int, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateContactRegistered={_='updateContactRegistered', user_id=int, date=int, } +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 6d7f0767..0e9c7cda 100644 --- a/old_docs/API_docs_v66/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v66/constructors/updateDcOptions.md @@ -21,13 +21,13 @@ description: updateDcOptions attributes, type and example ### Example: ``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDcOptions","dc_options":["DcOption"]} +{"_": "updateDcOptions", "dc_options": [DcOption]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateDcOptions={_='updateDcOptions', dc_options={DcOption}, } +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 a078a880..8510ac72 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md @@ -24,13 +24,13 @@ description: updateDeleteChannelMessages attributes, type and example ### Example: ``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteChannelMessages", "channel_id": int, "messages": [int], "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int, } +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 dd96c5a9..6bcb5b63 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteMessages.md @@ -23,13 +23,13 @@ description: updateDeleteMessages attributes, type and example ### Example: ``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int, } +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 38eb9c2d..e1362c0a 100644 --- a/old_docs/API_docs_v66/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v66/constructors/updateDialogPinned.md @@ -22,13 +22,13 @@ description: updateDialogPinned attributes, type and example ### Example: ``` -$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; +$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +{"_": "updateDialogPinned", "pinned": Bool, "peer": Peer} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer, } +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 5dedfd93..9a1ddab7 100644 --- a/old_docs/API_docs_v66/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v66/constructors/updateDraftMessage.md @@ -22,13 +22,13 @@ description: updateDraftMessage attributes, type and example ### Example: ``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +{"_": "updateDraftMessage", "peer": Peer, "draft": DraftMessage} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage, } +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 f2d2b288..b0898ef6 100644 --- a/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md @@ -23,13 +23,13 @@ description: updateEditChannelMessage attributes, type and example ### Example: ``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int, } +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 3e2f86a3..0abdb342 100644 --- a/old_docs/API_docs_v66/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditMessage.md @@ -23,13 +23,13 @@ description: updateEditMessage attributes, type and example ### Example: ``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateEditMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int, } +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 73129046..45716c85 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md @@ -21,13 +21,13 @@ description: updateEncryptedChatTyping attributes, type and example ### Example: ``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedChatTyping","chat_id":"int"} +{"_": "updateEncryptedChatTyping", "chat_id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int, } +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 c56eea40..7e034e65 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md @@ -23,13 +23,13 @@ description: updateEncryptedMessagesRead attributes, type and example ### Example: ``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +{"_": "updateEncryptedMessagesRead", "chat_id": int, "max_date": int, "date": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int, } +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 e84a644c..d1256eff 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryption.md +++ b/old_docs/API_docs_v66/constructors/updateEncryption.md @@ -22,13 +22,13 @@ description: updateEncryption attributes, type and example ### Example: ``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +{"_": "updateEncryption", "chat": EncryptedChat, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int, } +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 a0fbf330..6b71357e 100644 --- a/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md @@ -26,13 +26,13 @@ description: updateInlineBotCallbackQuery attributes, type and example ### Example: ``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": "bytes", "game_short_name": "string"} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data=bytes, game_short_name=string, } +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 c6c04821..291cd3a9 100644 --- a/old_docs/API_docs_v66/constructors/updateMessageID.md +++ b/old_docs/API_docs_v66/constructors/updateMessageID.md @@ -21,13 +21,13 @@ description: updateMessageID attributes, type and example ### Example: ``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +$updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateMessageID","id":"int"} +{"_": "updateMessageID", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateMessageID={_='updateMessageID', id=int, } +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 93e7d15b..b4f01a36 100644 --- a/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md @@ -23,13 +23,13 @@ description: updateNewChannelMessage attributes, type and example ### Example: ``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewChannelMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int, } +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 225b65c3..9fe1c2be 100644 --- a/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md @@ -22,13 +22,13 @@ description: updateNewEncryptedMessage attributes, type and example ### Example: ``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int, } +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 2e5e1ae4..794b8ed4 100644 --- a/old_docs/API_docs_v66/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewMessage.md @@ -23,13 +23,13 @@ description: updateNewMessage attributes, type and example ### Example: ``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +{"_": "updateNewMessage", "message": Message, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int, } +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 919c3ad8..5b3ba5c8 100644 --- a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md @@ -21,13 +21,13 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +{"_": "updateNewStickerSet", "stickerset": messages_StickerSet} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } +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 91374404..81415b8c 100644 --- a/old_docs/API_docs_v66/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/updateNotifySettings.md @@ -22,13 +22,13 @@ description: updateNotifySettings attributes, type and example ### Example: ``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +{"_": "updateNotifySettings", "peer": NotifyPeer, "notify_settings": PeerNotifySettings} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings, } +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 f124d856..a11caa8f 100644 --- a/old_docs/API_docs_v66/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v66/constructors/updatePhoneCall.md @@ -21,13 +21,13 @@ description: updatePhoneCall attributes, type and example ### Example: ``` -$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; +$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePhoneCall","phone_call":"PhoneCall"} +{"_": "updatePhoneCall", "phone_call": PhoneCall} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall, } +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 cca37904..ef7a6ca5 100644 --- a/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md @@ -21,13 +21,13 @@ description: updatePinnedDialogs attributes, type and example ### Example: ``` -$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; +$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePinnedDialogs","order":["Peer"]} +{"_": "updatePinnedDialogs", "order": [Peer]} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}, } +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 c355fece..cec49a55 100644 --- a/old_docs/API_docs_v66/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v66/constructors/updatePrivacy.md @@ -22,13 +22,13 @@ description: updatePrivacy attributes, type and example ### Example: ``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +{"_": "updatePrivacy", "key": PrivacyKey, "rules": [PrivacyRule]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}, } +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 bc4c62dd..a8e3d53d 100644 --- a/old_docs/API_docs_v66/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v66/constructors/updatePtsChanged.md @@ -16,13 +16,13 @@ description: updatePtsChanged attributes, type and example ### Example: ``` -$updatePtsChanged = ['_' => 'updatePtsChanged', ]; +$updatePtsChanged = ['_' => 'updatePtsChanged']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatePtsChanged"} +{"_": "updatePtsChanged"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatePtsChanged={_='updatePtsChanged', } +updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md index b5aea850..b566d250 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md @@ -22,13 +22,13 @@ description: updateReadChannelInbox attributes, type and example ### Example: ``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelInbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int, } +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 5e1ce23d..b78af53d 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md @@ -22,13 +22,13 @@ description: updateReadChannelOutbox attributes, type and example ### Example: ``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +{"_": "updateReadChannelOutbox", "channel_id": int, "max_id": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int, } +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 7b10baa4..375d16e6 100644 --- a/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md @@ -16,13 +16,13 @@ description: updateReadFeaturedStickers attributes, type and example ### Example: ``` -$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; +$updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadFeaturedStickers"} +{"_": "updateReadFeaturedStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateReadFeaturedStickers={_='updateReadFeaturedStickers', } +updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md index d0268bd8..f08c114c 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryInbox attributes, type and example ### Example: ``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryInbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 1698fa53..a8cedc87 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md @@ -24,13 +24,13 @@ description: updateReadHistoryOutbox attributes, type and example ### Example: ``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +{"_": "updateReadHistoryOutbox", "peer": Peer, "max_id": int, "pts": int, "pts_count": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int, } +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 13605d11..090d96c1 100644 --- a/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md @@ -23,13 +23,13 @@ description: updateReadMessagesContents attributes, type and example ### Example: ``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int, } +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 4ac9a838..ff889573 100644 --- a/old_docs/API_docs_v66/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v66/constructors/updateRecentStickers.md @@ -16,13 +16,13 @@ description: updateRecentStickers attributes, type and example ### Example: ``` -$updateRecentStickers = ['_' => 'updateRecentStickers', ]; +$updateRecentStickers = ['_' => 'updateRecentStickers']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateRecentStickers"} +{"_": "updateRecentStickers"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateRecentStickers={_='updateRecentStickers', } +updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateSavedGifs.md b/old_docs/API_docs_v66/constructors/updateSavedGifs.md index 46dfb8a6..65428836 100644 --- a/old_docs/API_docs_v66/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v66/constructors/updateSavedGifs.md @@ -16,13 +16,13 @@ description: updateSavedGifs attributes, type and example ### Example: ``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +$updateSavedGifs = ['_' => 'updateSavedGifs']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateSavedGifs"} +{"_": "updateSavedGifs"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateSavedGifs={_='updateSavedGifs', } +updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateServiceNotification.md b/old_docs/API_docs_v66/constructors/updateServiceNotification.md index b8b75dcf..5a7daa72 100644 --- a/old_docs/API_docs_v66/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v66/constructors/updateServiceNotification.md @@ -26,13 +26,13 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateServiceNotification", "popup": Bool, "inbox_date": int, "type": "string", "message": "string", "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } +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 1095540f..8bf89b61 100644 --- a/old_docs/API_docs_v66/constructors/updateShort.md +++ b/old_docs/API_docs_v66/constructors/updateShort.md @@ -22,13 +22,13 @@ description: updateShort attributes, type and example ### Example: ``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShort","update":"Update","date":"int"} +{"_": "updateShort", "update": Update, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateShort={_='updateShort', update=Update, date=int, } +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 ea43359c..b9127f34 100644 --- a/old_docs/API_docs_v66/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortChatMessage.md @@ -35,13 +35,13 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -49,7 +49,7 @@ Or, if you're into 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}, } +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 1a9f106f..1f375a0a 100644 --- a/old_docs/API_docs_v66/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortMessage.md @@ -34,13 +34,13 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -48,7 +48,7 @@ Or, if you're into 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}, } +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 d67179f2..61ef608d 100644 --- a/old_docs/API_docs_v66/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortSentMessage.md @@ -27,13 +27,13 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +{"_": "updateShortSentMessage", "out": Bool, "id": int, "pts": int, "pts_count": int, "date": int, "media": MessageMedia, "entities": [MessageEntity]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +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 69c53b51..2446565b 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSets.md @@ -16,13 +16,13 @@ description: updateStickerSets attributes, type and example ### Example: ``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; +$updateStickerSets = ['_' => 'updateStickerSets']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSets"} +{"_": "updateStickerSets"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updateStickerSets={_='updateStickerSets', } +updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md index 809b82d6..1f1f0943 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md @@ -22,13 +22,13 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +{"_": "updateStickerSetsOrder", "masks": Bool, "order": [long]} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } +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 f46e8ab5..8733befe 100644 --- a/old_docs/API_docs_v66/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v66/constructors/updateUserBlocked.md @@ -22,13 +22,13 @@ description: updateUserBlocked attributes, type and example ### Example: ``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +{"_": "updateUserBlocked", "user_id": int, "blocked": Bool} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, } +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 7aecb2c7..3d94f772 100644 --- a/old_docs/API_docs_v66/constructors/updateUserName.md +++ b/old_docs/API_docs_v66/constructors/updateUserName.md @@ -24,13 +24,13 @@ description: updateUserName attributes, type and example ### Example: ``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserName={_='updateUserName', user_id=int, first_name=string, last_name=string, username=string, } +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 755f5585..caadcd32 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhone.md @@ -22,13 +22,13 @@ description: updateUserPhone attributes, type and example ### Example: ``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhone","user_id":"int","phone":"string"} +{"_": "updateUserPhone", "user_id": int, "phone": "string"} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserPhone={_='updateUserPhone', user_id=int, phone=string, } +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 05939895..5b896def 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhoto.md @@ -24,13 +24,13 @@ description: updateUserPhoto attributes, type and example ### Example: ``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +{"_": "updateUserPhoto", "user_id": int, "date": int, "photo": UserProfilePhoto, "previous": Bool} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool, } +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 16acaddd..d17de9d4 100644 --- a/old_docs/API_docs_v66/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v66/constructors/updateUserStatus.md @@ -22,13 +22,13 @@ description: updateUserStatus attributes, type and example ### Example: ``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +{"_": "updateUserStatus", "user_id": int, "status": UserStatus} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, } +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 abcb0a59..f8e62ed4 100644 --- a/old_docs/API_docs_v66/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateUserTyping.md @@ -22,13 +22,13 @@ description: updateUserTyping attributes, type and example ### Example: ``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction, } +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 05ec2c4f..8727ae6f 100644 --- a/old_docs/API_docs_v66/constructors/updateWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateWebPage.md @@ -23,13 +23,13 @@ description: updateWebPage attributes, type and example ### Example: ``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +{"_": "updateWebPage", "webpage": WebPage, "pts": int, "pts_count": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int, } +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 add1675e..38ec3ba9 100644 --- a/old_docs/API_docs_v66/constructors/updates.md +++ b/old_docs/API_docs_v66/constructors/updates.md @@ -25,13 +25,13 @@ description: updates attributes, type and example ### Example: ``` -$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +{"_": "updates", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, } +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 9efbf170..96123dd7 100644 --- a/old_docs/API_docs_v66/constructors/updatesCombined.md +++ b/old_docs/API_docs_v66/constructors/updatesCombined.md @@ -26,13 +26,13 @@ description: updatesCombined attributes, type and example ### Example: ``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int, } +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 a824e65c..1675e31c 100644 --- a/old_docs/API_docs_v66/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v66/constructors/updatesTooLong.md @@ -16,13 +16,13 @@ description: updatesTooLong attributes, type and example ### Example: ``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; +$updatesTooLong = ['_' => 'updatesTooLong']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updatesTooLong"} +{"_": "updatesTooLong"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -updatesTooLong={_='updatesTooLong', } +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 876e8d13..f4d08403 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifference.md @@ -27,13 +27,13 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]} ``` @@ -41,7 +41,7 @@ Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +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 c596d24a..7d8ce636 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md @@ -23,13 +23,13 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +{"_": "updates.channelDifferenceEmpty", "final": Bool, "pts": int, "timeout": int} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } +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 464117f9..ffe4818e 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md @@ -30,13 +30,13 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$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], ]; +$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]]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"]} +{"_": "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]} ``` @@ -44,7 +44,7 @@ Or, if you're into 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}, } +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 4623d746..02e23406 100644 --- a/old_docs/API_docs_v66/constructors/updates_difference.md +++ b/old_docs/API_docs_v66/constructors/updates_difference.md @@ -26,13 +26,13 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +{"_": "updates.difference", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } +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 138994c9..a0dc4f5a 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md @@ -22,13 +22,13 @@ description: updates_differenceEmpty attributes, type and example ### Example: ``` -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; +$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceEmpty","date":"int","seq":"int"} +{"_": "updates.differenceEmpty", "date": int, "seq": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int, } +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 d6941f2d..cd22e0d6 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md @@ -26,13 +26,13 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +{"_": "updates.differenceSlice", "new_messages": [Message], "new_encrypted_messages": [EncryptedMessage], "other_updates": [Update], "chats": [Chat], "users": [User], "intermediate_state": updates_State} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } +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 8530a319..eff86075 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md @@ -21,13 +21,13 @@ description: updates_differenceTooLong attributes, type and example ### Example: ``` -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; +$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.differenceTooLong","pts":"int"} +{"_": "updates.differenceTooLong", "pts": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -updates_differenceTooLong={_='updates.differenceTooLong', pts=int, } +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 fe7d3697..24f5c429 100644 --- a/old_docs/API_docs_v66/constructors/updates_state.md +++ b/old_docs/API_docs_v66/constructors/updates_state.md @@ -25,13 +25,13 @@ description: updates_state attributes, type and example ### Example: ``` -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +{"_": "updates.state", "pts": int, "qts": int, "date": int, "seq": int, "unread_count": int} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int, } +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 56f32f29..574b4b71 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFile.md @@ -21,13 +21,13 @@ description: upload_cdnFile attributes, type and example ### Example: ``` -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => bytes, ]; +$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.cdnFile","bytes":"bytes"} +{"_": "upload.cdnFile", "bytes": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -upload_cdnFile={_='upload.cdnFile', bytes=bytes, } +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 f52a8231..1cdefa5f 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md @@ -21,13 +21,13 @@ description: upload_cdnFileReuploadNeeded attributes, type and example ### Example: ``` -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => bytes, ]; +$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.cdnFileReuploadNeeded","request_token":"bytes"} +{"_": "upload.cdnFileReuploadNeeded", "request_token": "bytes"} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token=bytes, } +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 951d11be..1a05a54a 100644 --- a/old_docs/API_docs_v66/constructors/upload_file.md +++ b/old_docs/API_docs_v66/constructors/upload_file.md @@ -23,13 +23,13 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.file", "type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } +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 7ff6fd34..e348ea80 100644 --- a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md @@ -24,13 +24,13 @@ description: upload_fileCdnRedirect attributes, type and example ### Example: ``` -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => bytes, 'encryption_key' => bytes, 'encryption_iv' => bytes, ]; +$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.fileCdnRedirect","dc_id":"int","file_token":"bytes","encryption_key":"bytes","encryption_iv":"bytes"} +{"_": "upload.fileCdnRedirect", "dc_id": int, "file_token": "bytes", "encryption_key": "bytes", "encryption_iv": "bytes"} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token=bytes, encryption_key=bytes, encryption_iv=bytes, } +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 f1cbb377..3e2c151c 100644 --- a/old_docs/API_docs_v66/constructors/upload_webFile.md +++ b/old_docs/API_docs_v66/constructors/upload_webFile.md @@ -25,13 +25,13 @@ description: upload_webFile attributes, type and example ### Example: ``` -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +{"_": "upload.webFile", "size": int, "mime_type": "string", "file_type": storage_FileType, "mtime": int, "bytes": "bytes"} ``` @@ -39,7 +39,7 @@ Or, if you're into Lua: ``` -upload_webFile={_='upload.webFile', size=int, mime_type=string, file_type=storage_FileType, mtime=int, bytes=bytes, } +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 1267168a..c2ad8ec6 100644 --- a/old_docs/API_docs_v66/constructors/user.md +++ b/old_docs/API_docs_v66/constructors/user.md @@ -43,13 +43,13 @@ description: user attributes, type and example ### Example: ``` -$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, ]; +$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']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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"} ``` @@ -57,7 +57,7 @@ Or, if you're into 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, } +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 4d52a60d..f1af3d2a 100644 --- a/old_docs/API_docs_v66/constructors/userEmpty.md +++ b/old_docs/API_docs_v66/constructors/userEmpty.md @@ -21,13 +21,13 @@ description: userEmpty attributes, type and example ### Example: ``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +$userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userEmpty","id":"int"} +{"_": "userEmpty", "id": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userEmpty={_='userEmpty', id=int, } +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 06988eb2..2a0743c4 100644 --- a/old_docs/API_docs_v66/constructors/userFull.md +++ b/old_docs/API_docs_v66/constructors/userFull.md @@ -30,13 +30,13 @@ description: userFull attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -44,7 +44,7 @@ Or, if you're into 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, } +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 46935f91..db467a01 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhoto.md @@ -23,13 +23,13 @@ description: userProfilePhoto attributes, type and example ### Example: ``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +{"_": "userProfilePhoto", "photo_id": long, "photo_small": FileLocation, "photo_big": FileLocation} ``` @@ -37,7 +37,7 @@ Or, if you're into Lua: ``` -userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, } +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 a777d56f..2a8c21e1 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md @@ -16,13 +16,13 @@ description: userProfilePhotoEmpty attributes, type and example ### Example: ``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userProfilePhotoEmpty"} +{"_": "userProfilePhotoEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userProfilePhotoEmpty={_='userProfilePhotoEmpty', } +userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusEmpty.md b/old_docs/API_docs_v66/constructors/userStatusEmpty.md index 2a5626ee..b3193de7 100644 --- a/old_docs/API_docs_v66/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v66/constructors/userStatusEmpty.md @@ -16,13 +16,13 @@ description: userStatusEmpty attributes, type and example ### Example: ``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +$userStatusEmpty = ['_' => 'userStatusEmpty']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusEmpty"} +{"_": "userStatusEmpty"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusEmpty={_='userStatusEmpty', } +userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md index e8780c66..684d82b6 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md @@ -16,13 +16,13 @@ description: userStatusLastMonth attributes, type and example ### Example: ``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +$userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastMonth"} +{"_": "userStatusLastMonth"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastMonth={_='userStatusLastMonth', } +userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md index ead0f7ca..17ebdc75 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md @@ -16,13 +16,13 @@ description: userStatusLastWeek attributes, type and example ### Example: ``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +$userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusLastWeek"} +{"_": "userStatusLastWeek"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusLastWeek={_='userStatusLastWeek', } +userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusOffline.md b/old_docs/API_docs_v66/constructors/userStatusOffline.md index d9b6a585..2703bcd2 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOffline.md @@ -21,13 +21,13 @@ description: userStatusOffline attributes, type and example ### Example: ``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOffline","was_online":"int"} +{"_": "userStatusOffline", "was_online": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOffline={_='userStatusOffline', was_online=int, } +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 19b605dc..e56a2a45 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOnline.md @@ -21,13 +21,13 @@ description: userStatusOnline attributes, type and example ### Example: ``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusOnline","expires":"int"} +{"_": "userStatusOnline", "expires": int} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -userStatusOnline={_='userStatusOnline', expires=int, } +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 312f7918..6495b980 100644 --- a/old_docs/API_docs_v66/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v66/constructors/userStatusRecently.md @@ -16,13 +16,13 @@ description: userStatusRecently attributes, type and example ### Example: ``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; +$userStatusRecently = ['_' => 'userStatusRecently']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"userStatusRecently"} +{"_": "userStatusRecently"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -userStatusRecently={_='userStatusRecently', } +userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v66/constructors/wallPaper.md b/old_docs/API_docs_v66/constructors/wallPaper.md index 551dcb46..9598a215 100644 --- a/old_docs/API_docs_v66/constructors/wallPaper.md +++ b/old_docs/API_docs_v66/constructors/wallPaper.md @@ -24,13 +24,13 @@ description: wallPaper attributes, type and example ### Example: ``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize], 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +{"_": "wallPaper", "id": int, "title": "string", "sizes": [PhotoSize], "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaper={_='wallPaper', id=int, title=string, sizes={PhotoSize}, color=int, } +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 49949506..8c2c8ab5 100644 --- a/old_docs/API_docs_v66/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v66/constructors/wallPaperSolid.md @@ -24,13 +24,13 @@ description: wallPaperSolid attributes, type and example ### Example: ``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +{"_": "wallPaperSolid", "id": int, "title": "string", "bg_color": int, "color": int} ``` @@ -38,7 +38,7 @@ Or, if you're into Lua: ``` -wallPaperSolid={_='wallPaperSolid', id=int, title=string, bg_color=int, color=int, } +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 fb6d743d..2e631576 100644 --- a/old_docs/API_docs_v66/constructors/webDocument.md +++ b/old_docs/API_docs_v66/constructors/webDocument.md @@ -26,13 +26,13 @@ description: webDocument attributes, type and example ### Example: ``` -$webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; +$webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'dc_id' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +{"_": "webDocument", "url": "string", "access_hash": long, "size": int, "mime_type": "string", "attributes": [DocumentAttribute], "dc_id": int} ``` @@ -40,7 +40,7 @@ Or, if you're into Lua: ``` -webDocument={_='webDocument', url=string, access_hash=long, size=int, mime_type=string, attributes={DocumentAttribute}, dc_id=int, } +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 f73f1d50..6ec1965a 100644 --- a/old_docs/API_docs_v66/constructors/webPage.md +++ b/old_docs/API_docs_v66/constructors/webPage.md @@ -37,13 +37,13 @@ description: webPage attributes, type and example ### Example: ``` -$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, ]; +$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]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"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"} +{"_": "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} ``` @@ -51,7 +51,7 @@ Or, if you're into 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, } +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 88efab1d..bab7c6ad 100644 --- a/old_docs/API_docs_v66/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v66/constructors/webPageEmpty.md @@ -21,13 +21,13 @@ description: webPageEmpty attributes, type and example ### Example: ``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageEmpty","id":"long"} +{"_": "webPageEmpty", "id": long} ``` @@ -35,7 +35,7 @@ Or, if you're into Lua: ``` -webPageEmpty={_='webPageEmpty', id=long, } +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 1d9f9b84..d4424ad6 100644 --- a/old_docs/API_docs_v66/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v66/constructors/webPageNotModified.md @@ -16,13 +16,13 @@ description: webPageNotModified attributes, type and example ### Example: ``` -$webPageNotModified = ['_' => 'webPageNotModified', ]; +$webPageNotModified = ['_' => 'webPageNotModified']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPageNotModified"} +{"_": "webPageNotModified"} ``` @@ -30,7 +30,7 @@ Or, if you're into Lua: ``` -webPageNotModified={_='webPageNotModified', } +webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/webPagePending.md b/old_docs/API_docs_v66/constructors/webPagePending.md index 8fff4944..d20c649f 100644 --- a/old_docs/API_docs_v66/constructors/webPagePending.md +++ b/old_docs/API_docs_v66/constructors/webPagePending.md @@ -22,13 +22,13 @@ description: webPagePending attributes, type and example ### Example: ``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -{"_":"webPagePending","id":"long","date":"int"} +{"_": "webPagePending", "id": long, "date": int} ``` @@ -36,7 +36,7 @@ Or, if you're into Lua: ``` -webPagePending={_='webPagePending', id=long, date=int, } +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 036d0776..fd0e719d 100644 --- a/old_docs/API_docs_v66/methods/account_changePhone.md +++ b/old_docs/API_docs_v66/methods/account_changePhone.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.changePhone -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -User = account.changePhone({phone_number=string, phone_code_hash=string, phone_code=string, }) +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 f10464bb..59c51e1c 100644 --- a/old_docs/API_docs_v66/methods/account_checkUsername.md +++ b/old_docs/API_docs_v66/methods/account_checkUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.checkUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = account.checkUsername({username=string, }) +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 6ce6e811..aa7c10a6 100644 --- a/old_docs/API_docs_v66/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v66/methods/account_confirmPhone.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.confirmPhone -* params - {"phone_code_hash":"string","phone_code":"string"} +* params - {"phone_code_hash": "string", "phone_code": "string", } ``` @@ -65,6 +65,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -Bool = account.confirmPhone({phone_code_hash=string, phone_code=string, }) +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 52c2b85f..877855e1 100644 --- a/old_docs/API_docs_v66/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v66/methods/account_deleteAccount.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.deleteAccount -* params - {"reason":"string"} +* params - {"reason": "string", } ``` @@ -63,6 +63,6 @@ reason - Json encoded string Or, if you're into Lua: ``` -Bool = account.deleteAccount({reason=string, }) +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 ecf8927d..bf98335e 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAccountTTL -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index 87cd4f8d..a3f13269 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md index 965f8056..e24df64d 100644 --- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getNotifySettings -* params - {"peer":"InputNotifyPeer"} +* params - {"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 58ddd52e..b2734d14 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPassword -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md index 67d17e03..845cb4d9 100644 --- a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPasswordSettings -* params - {"current_password_hash":"bytes"} +* params - {"current_password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: ``` -account_PasswordSettings = account.getPasswordSettings({current_password_hash=bytes, }) +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 4f23fc09..6e16102f 100644 --- a/old_docs/API_docs_v66/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_getPrivacy.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getPrivacy -* params - {"key":"InputPrivacyKey"} +* params - {"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 96aa50b2..e138a97c 100644 --- a/old_docs/API_docs_v66/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account_getTmpPassword.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); +$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getTmpPassword -* params - {"password_hash":"bytes","period":"int"} +* params - {"password_hash": "bytes", "period": int, } ``` @@ -65,6 +65,6 @@ period - Json encoded int Or, if you're into Lua: ``` -account_TmpPassword = account.getTmpPassword({password_hash=bytes, period=int, }) +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 eadf8439..0872ad03 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.getWallPapers -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/account_registerDevice.md b/old_docs/API_docs_v66/methods/account_registerDevice.md index fa4aae85..d1182b89 100644 --- a/old_docs/API_docs_v66/methods/account_registerDevice.md +++ b/old_docs/API_docs_v66/methods/account_registerDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.registerDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.registerDevice({token_type=int, token=string, }) +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 08c8d0d5..d8c73d58 100644 --- a/old_docs/API_docs_v66/methods/account_reportPeer.md +++ b/old_docs/API_docs_v66/methods/account_reportPeer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.reportPeer -* params - {"peer":"InputPeer","reason":"ReportReason"} +* params - {"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 554f9ebd..8bf65dc7 100644 --- a/old_docs/API_docs_v66/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v66/methods/account_resetAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetAuthorization -* params - {"hash":"long"} +* params - {"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 7fd39d0f..8c3c200b 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.resetNotifySettings -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md index 1c4c0ca7..b0c2d4e3 100644 --- a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendChangePhoneCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, }) +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 4b4b6655..d8fd656b 100644 --- a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.sendConfirmPhoneCode -* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} +* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, } ``` @@ -67,6 +67,6 @@ current_number - Json encoded Bool Or, if you're into Lua: ``` -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash=string, current_number=Bool, }) +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 22bc69e3..fdf99d1d 100644 --- a/old_docs/API_docs_v66/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_setAccountTTL.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setAccountTTL -* params - {"ttl":"AccountDaysTTL"} +* params - {"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 dfda5ba4..3e46450d 100644 --- a/old_docs/API_docs_v66/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_setPrivacy.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.setPrivacy -* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} +* params - {"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 d922b321..b2ba9b7a 100644 --- a/old_docs/API_docs_v66/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v66/methods/account_unregisterDevice.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.unregisterDevice -* params - {"token_type":"int","token":"string"} +* params - {"token_type": int, "token": "string", } ``` @@ -65,6 +65,6 @@ token - Json encoded string Or, if you're into Lua: ``` -Bool = account.unregisterDevice({token_type=int, token=string, }) +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 79e3368b..f813be39 100644 --- a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateDeviceLocked -* params - {"period":"int"} +* params - {"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 fe2b6086..ce776bee 100644 --- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateNotifySettings -* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} +* params - {"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 1ab32697..e0cbc452 100644 --- a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updatePasswordSettings -* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} +* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, } ``` @@ -65,6 +65,6 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: ``` -Bool = account.updatePasswordSettings({current_password_hash=bytes, new_settings=account_PasswordInputSettings, }) +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 10ab8f0c..55748b23 100644 --- a/old_docs/API_docs_v66/methods/account_updateProfile.md +++ b/old_docs/API_docs_v66/methods/account_updateProfile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateProfile -* params - {"first_name":"string","last_name":"string","about":"string"} +* params - {"first_name": "string", "last_name": "string", "about": "string", } ``` @@ -67,6 +67,6 @@ about - Json encoded string Or, if you're into Lua: ``` -User = account.updateProfile({first_name=string, last_name=string, about=string, }) +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 1da42777..a302ae6e 100644 --- a/old_docs/API_docs_v66/methods/account_updateStatus.md +++ b/old_docs/API_docs_v66/methods/account_updateStatus.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateStatus -* params - {"offline":"Bool"} +* params - {"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 c0472ad4..0114d1c7 100644 --- a/old_docs/API_docs_v66/methods/account_updateUsername.md +++ b/old_docs/API_docs_v66/methods/account_updateUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account->updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - account.updateUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -User = account.updateUsername({username=string, }) +User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md index ec65f84e..ab5f1a1a 100644 --- a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.bindTempAuthKey -* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} +* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", } ``` @@ -69,6 +69,6 @@ encrypted_message - Json encoded bytes Or, if you're into Lua: ``` -Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message=bytes, }) +Bool = auth.bindTempAuthKey({perm_auth_key_id=long, nonce=long, expires_at=int, encrypted_message='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_cancelCode.md b/old_docs/API_docs_v66/methods/auth_cancelCode.md index 05aae0cf..6c85ca08 100644 --- a/old_docs/API_docs_v66/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v66/methods/auth_cancelCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.cancelCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -Bool = auth.cancelCode({phone_number=string, phone_code_hash=string, }) +Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_checkPassword.md b/old_docs/API_docs_v66/methods/auth_checkPassword.md index 247ea08c..7a8adfa9 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v66/methods/auth_checkPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPassword -* params - {"password_hash":"bytes"} +* params - {"password_hash": "bytes", } ``` @@ -63,6 +63,6 @@ password_hash - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.checkPassword({password_hash=bytes, }) +auth_Authorization = auth.checkPassword({password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_checkPhone.md b/old_docs/API_docs_v66/methods/auth_checkPhone.md index 9dac43bd..8c8118d7 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth_checkPhone.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.checkPhone -* params - {"phone_number":"string"} +* params - {"phone_number": "string", } ``` @@ -63,6 +63,6 @@ phone_number - Json encoded string Or, if you're into Lua: ``` -auth_CheckedPhone = auth.checkPhone({phone_number=string, }) +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 22e17d37..03b7d4f6 100644 --- a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.dropTempAuthKeys -* params - {"except_auth_keys":["long"]} +* params - {"except_auth_keys": [long], } ``` diff --git a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md index 19c94a4b..cd1b0efe 100644 --- a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.exportAuthorization -* params - {"dc_id":"int"} +* params - {"dc_id": int, } ``` diff --git a/old_docs/API_docs_v66/methods/auth_importAuthorization.md b/old_docs/API_docs_v66/methods/auth_importAuthorization.md index 9996dc2d..b7b209a2 100644 --- a/old_docs/API_docs_v66/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importAuthorization.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importAuthorization -* params - {"id":"int","bytes":"bytes"} +* params - {"id": int, "bytes": "bytes", } ``` @@ -65,6 +65,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -auth_Authorization = auth.importAuthorization({id=int, bytes=bytes, }) +auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md index 94ece05e..2ed79bbf 100644 --- a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.importBotAuthorization -* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} +* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", } ``` @@ -67,6 +67,6 @@ bot_auth_token - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash=string, bot_auth_token=string, }) +auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_logOut.md b/old_docs/API_docs_v66/methods/auth_logOut.md index 284318e8..8dc7c0c3 100644 --- a/old_docs/API_docs_v66/methods/auth_logOut.md +++ b/old_docs/API_docs_v66/methods/auth_logOut.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.logOut -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/auth_recoverPassword.md b/old_docs/API_docs_v66/methods/auth_recoverPassword.md index 18bdaf0b..90166aaf 100644 --- a/old_docs/API_docs_v66/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth_recoverPassword.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.recoverPassword -* params - {"code":"string"} +* params - {"code": "string", } ``` @@ -63,6 +63,6 @@ code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.recoverPassword({code=string, }) +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 73fa1963..9205b865 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.requestPasswordRecovery -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/auth_resendCode.md b/old_docs/API_docs_v66/methods/auth_resendCode.md index aaea73a0..11b20d5e 100644 --- a/old_docs/API_docs_v66/methods/auth_resendCode.md +++ b/old_docs/API_docs_v66/methods/auth_resendCode.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resendCode -* params - {"phone_number":"string","phone_code_hash":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", } ``` @@ -65,6 +65,6 @@ phone_code_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.resendCode({phone_number=string, phone_code_hash=string, }) +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 3686400a..2c5d842c 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.resetAuthorizations -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/auth_sendCode.md b/old_docs/API_docs_v66/methods/auth_sendCode.md index c6e4d8aa..967be75e 100644 --- a/old_docs/API_docs_v66/methods/auth_sendCode.md +++ b/old_docs/API_docs_v66/methods/auth_sendCode.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendCode -* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} +* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", } ``` @@ -71,6 +71,6 @@ api_hash - Json encoded string Or, if you're into Lua: ``` -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number=string, current_number=Bool, api_id=int, api_hash=string, }) +auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_sendInvites.md b/old_docs/API_docs_v66/methods/auth_sendInvites.md index 14c3e765..ddf43b79 100644 --- a/old_docs/API_docs_v66/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v66/methods/auth_sendInvites.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string'], 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.sendInvites -* params - {"phone_numbers":["string"],"message":"string"} +* params - {"phone_numbers": ["string"], "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = auth.sendInvites({phone_numbers={string}, message=string, }) +Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_signIn.md b/old_docs/API_docs_v66/methods/auth_signIn.md index 01e78730..6907aa95 100644 --- a/old_docs/API_docs_v66/methods/auth_signIn.md +++ b/old_docs/API_docs_v66/methods/auth_signIn.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signIn -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", } ``` @@ -67,6 +67,6 @@ phone_code - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signIn({phone_number=string, phone_code_hash=string, phone_code=string, }) +auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_signUp.md b/old_docs/API_docs_v66/methods/auth_signUp.md index bccad047..79236b65 100644 --- a/old_docs/API_docs_v66/methods/auth_signUp.md +++ b/old_docs/API_docs_v66/methods/auth_signUp.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - auth.signUp -* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} +* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", } ``` @@ -71,6 +71,6 @@ last_name - Json encoded string Or, if you're into Lua: ``` -auth_Authorization = auth.signUp({phone_number=string, phone_code_hash=string, phone_code=string, first_name=string, last_name=string, }) +auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md index 39582760..8a637304 100644 --- a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.answerWebhookJSONQuery -* params - {"query_id":"long","data":"DataJSON"} +* params - {"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 5ccab83b..cca66231 100644 --- a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); +$DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - bots.sendCustomRequest -* params - {"custom_method":"string","params":"DataJSON"} +* params - {"custom_method": "string", "params": DataJSON, } ``` @@ -65,6 +65,6 @@ params - Json encoded DataJSON Or, if you're into Lua: ``` -DataJSON = bots.sendCustomRequest({custom_method=string, params=DataJSON, }) +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 e36fdf70..9e27625d 100644 --- a/old_docs/API_docs_v66/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v66/methods/channels_checkUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.checkUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.checkUsername({channel=InputChannel, username=string, }) +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 853ca900..4d60d0d2 100644 --- a/old_docs/API_docs_v66/methods/channels_createChannel.md +++ b/old_docs/API_docs_v66/methods/channels_createChannel.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.createChannel -* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} +* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", } ``` @@ -69,6 +69,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title=string, about=string, }) +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 3a556d77..2c3995b5 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v66/methods/channels_deleteChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteChannel -* params - {"channel":"InputChannel"} +* params - {"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 5ee8c6d7..c8f1c3fe 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 60876564..7a0a412e 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.deleteUserHistory -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 2fad8dfb..eb76244f 100644 --- a/old_docs/API_docs_v66/methods/channels_editAbout.md +++ b/old_docs/API_docs_v66/methods/channels_editAbout.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAbout -* params - {"channel":"InputChannel","about":"string"} +* params - {"channel": InputChannel, "about": "string", } ``` @@ -65,6 +65,6 @@ about - Json encoded string Or, if you're into Lua: ``` -Bool = channels.editAbout({channel=InputChannel, about=string, }) +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 729d5e28..9d72d11b 100644 --- a/old_docs/API_docs_v66/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v66/methods/channels_editAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editAdmin -* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} +* params - {"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 996d90d2..a5d9d46c 100644 --- a/old_docs/API_docs_v66/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v66/methods/channels_editPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editPhoto -* params - {"channel":"InputChannel","photo":"InputChatPhoto"} +* params - {"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 b7b268de..35f1fa4f 100644 --- a/old_docs/API_docs_v66/methods/channels_editTitle.md +++ b/old_docs/API_docs_v66/methods/channels_editTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.editTitle -* params - {"channel":"InputChannel","title":"string"} +* params - {"channel": InputChannel, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = channels.editTitle({channel=InputChannel, title=string, }) +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 e5a10a66..11eca30a 100644 --- a/old_docs/API_docs_v66/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v66/methods/channels_exportInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportInvite -* params - {"channel":"InputChannel"} +* params - {"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 4d5ba2df..7b40dab1 100644 --- a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.exportMessageLink -* params - {"channel":"InputChannel","id":"int"} +* params - {"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 85093ef6..2bc64b38 100644 --- a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getAdminedPublicChannels -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/channels_getChannels.md b/old_docs/API_docs_v66/methods/channels_getChannels.md index 133c939b..b6ef4626 100644 --- a/old_docs/API_docs_v66/methods/channels_getChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getChannels.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getChannels -* params - {"id":["InputChannel"]} +* params - {"id": [InputChannel], } ``` diff --git a/old_docs/API_docs_v66/methods/channels_getFullChannel.md b/old_docs/API_docs_v66/methods/channels_getFullChannel.md index 06c6fd89..9e3eb90c 100644 --- a/old_docs/API_docs_v66/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v66/methods/channels_getFullChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getFullChannel -* params - {"channel":"InputChannel"} +* params - {"channel": InputChannel, } ``` diff --git a/old_docs/API_docs_v66/methods/channels_getMessages.md b/old_docs/API_docs_v66/methods/channels_getMessages.md index 5ba3372f..3f6d39fa 100644 --- a/old_docs/API_docs_v66/methods/channels_getMessages.md +++ b/old_docs/API_docs_v66/methods/channels_getMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getMessages -* params - {"channel":"InputChannel","id":["int"]} +* params - {"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 a7a7cde8..b1faeffa 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipant.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipant -* params - {"channel":"InputChannel","user_id":"InputUser"} +* params - {"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 37e75089..76b8a662 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.getParticipants -* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} +* params - {"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 54a87c09..d8557a89 100644 --- a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.inviteToChannel -* params - {"channel":"InputChannel","users":["InputUser"]} +* params - {"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 fbeb6d84..20dedbe7 100644 --- a/old_docs/API_docs_v66/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v66/methods/channels_joinChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.joinChannel -* params - {"channel":"InputChannel"} +* params - {"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 5e91bc24..c5a897c9 100644 --- a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.kickFromChannel -* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} +* params - {"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 cbf00162..ceae9574 100644 --- a/old_docs/API_docs_v66/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v66/methods/channels_leaveChannel.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.leaveChannel -* params - {"channel":"InputChannel"} +* params - {"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 819d4a13..83bf7fd4 100644 --- a/old_docs/API_docs_v66/methods/channels_readHistory.md +++ b/old_docs/API_docs_v66/methods/channels_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.readHistory -* params - {"channel":"InputChannel","max_id":"int"} +* params - {"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 f40065bd..2189ec3c 100644 --- a/old_docs/API_docs_v66/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v66/methods/channels_reportSpam.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.reportSpam -* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} +* params - {"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 86569f90..2d5b858b 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v66/methods/channels_toggleInvites.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleInvites -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 ea833e9a..98c6cb2f 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.toggleSignatures -* params - {"channel":"InputChannel","enabled":"Bool"} +* params - {"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 0fd2da72..208ed988 100644 --- a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updatePinnedMessage -* params - {"silent":"Bool","channel":"InputChannel","id":"int"} +* params - {"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 9d45a4b3..0e2afbdd 100644 --- a/old_docs/API_docs_v66/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v66/methods/channels_updateUsername.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - channels.updateUsername -* params - {"channel":"InputChannel","username":"string"} +* params - {"channel": InputChannel, "username": "string", } ``` @@ -65,6 +65,6 @@ username - Json encoded string Or, if you're into Lua: ``` -Bool = channels.updateUsername({channel=InputChannel, username=string, }) +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 74d5acd6..70261156 100644 --- a/old_docs/API_docs_v66/methods/contacts_block.md +++ b/old_docs/API_docs_v66/methods/contacts_block.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.block -* params - {"id":"InputUser"} +* params - {"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 26a74263..dbe1fbeb 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContact.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContact -* params - {"id":"InputUser"} +* params - {"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 c55f9ec8..1eec737a 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.deleteContacts -* params - {"id":["InputUser"]} +* params - {"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 35d1087f..2ce6abff 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.exportCard -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getBlocked.md b/old_docs/API_docs_v66/methods/contacts_getBlocked.md index cb0fb25e..9177ac7f 100644 --- a/old_docs/API_docs_v66/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts_getBlocked.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getBlocked -* params - {"offset":"int","limit":"int"} +* params - {"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 a33a87c5..94864a55 100644 --- a/old_docs/API_docs_v66/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_getContacts.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getContacts -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -contacts_Contacts = contacts.getContacts({hash=string, }) +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 1f39ea26..932763a8 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getStatuses -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md index 293a3541..58152bbe 100644 --- a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.getTopPeers -* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} +* params - {"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 bd127ba1..d19df490 100644 --- a/old_docs/API_docs_v66/methods/contacts_importCard.md +++ b/old_docs/API_docs_v66/methods/contacts_importCard.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importCard -* params - {"export_card":["int"]} +* params - {"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 30f9b4ac..97138cbd 100644 --- a/old_docs/API_docs_v66/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_importContacts.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.importContacts -* params - {"contacts":["InputContact"],"replace":"Bool"} +* params - {"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 adb3f83a..3313feac 100644 --- a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resetTopPeerRating -* params - {"category":"TopPeerCategory","peer":"InputPeer"} +* params - {"category": TopPeerCategory, "peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md index 16be75aa..c1f0520e 100644 --- a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.resolveUsername -* params - {"username":"string"} +* params - {"username": "string", } ``` @@ -63,6 +63,6 @@ username - Json encoded string Or, if you're into Lua: ``` -contacts_ResolvedPeer = contacts.resolveUsername({username=string, }) +contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_search.md b/old_docs/API_docs_v66/methods/contacts_search.md index e2180ab9..1bcf5f33 100644 --- a/old_docs/API_docs_v66/methods/contacts_search.md +++ b/old_docs/API_docs_v66/methods/contacts_search.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.search -* params - {"q":"string","limit":"int"} +* params - {"q": "string", "limit": int, } ``` @@ -65,6 +65,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -contacts_Found = contacts.search({q=string, limit=int, }) +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 f3ba78d4..a8404417 100644 --- a/old_docs/API_docs_v66/methods/contacts_unblock.md +++ b/old_docs/API_docs_v66/methods/contacts_unblock.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contacts.unblock -* params - {"id":"InputUser"} +* params - {"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 8efc1475..b4c9751c 100644 --- a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); +$Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - contest.saveDeveloperInfo -* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} +* params - {"vk_id": int, "name": "string", "phone_number": "string", "age": int, "city": "string", } ``` @@ -71,6 +71,6 @@ city - Json encoded string Or, if you're into Lua: ``` -Bool = contest.saveDeveloperInfo({vk_id=int, name=string, phone_number=string, age=int, city=string, }) +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 f7f98570..622bc83b 100644 --- a/old_docs/API_docs_v66/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v66/methods/destroy_auth_key.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_auth_key -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/destroy_session.md b/old_docs/API_docs_v66/methods/destroy_session.md index 6475b575..4f28f155 100644 --- a/old_docs/API_docs_v66/methods/destroy_session.md +++ b/old_docs/API_docs_v66/methods/destroy_session.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - destroy_session -* params - {"session_id":"long"} +* params - {"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 ffc11909..655b7497 100644 --- a/old_docs/API_docs_v66/methods/get_future_salts.md +++ b/old_docs/API_docs_v66/methods/get_future_salts.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - get_future_salts -* params - {"num":"int"} +* params - {"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 d1ef32c4..c03127b6 100644 --- a/old_docs/API_docs_v66/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v66/methods/help_getAppChangelog.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); +$Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppChangelog -* params - {"prev_app_version":"string"} +* params - {"prev_app_version": "string", } ``` @@ -63,6 +63,6 @@ prev_app_version - Json encoded string Or, if you're into Lua: ``` -Updates = help.getAppChangelog({prev_app_version=string, }) +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 851fc06e..18592c84 100644 --- a/old_docs/API_docs_v66/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help_getAppUpdate.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getAppUpdate -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getCdnConfig.md b/old_docs/API_docs_v66/methods/help_getCdnConfig.md index 76f98928..5251ba33 100644 --- a/old_docs/API_docs_v66/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v66/methods/help_getCdnConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getCdnConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getConfig.md b/old_docs/API_docs_v66/methods/help_getConfig.md index 5876e676..eb2ccdbd 100644 --- a/old_docs/API_docs_v66/methods/help_getConfig.md +++ b/old_docs/API_docs_v66/methods/help_getConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getInviteText.md b/old_docs/API_docs_v66/methods/help_getInviteText.md index 77e3acd1..3e35e76f 100644 --- a/old_docs/API_docs_v66/methods/help_getInviteText.md +++ b/old_docs/API_docs_v66/methods/help_getInviteText.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getInviteText -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getNearestDc.md b/old_docs/API_docs_v66/methods/help_getNearestDc.md index 2112c78d..f2a11f3d 100644 --- a/old_docs/API_docs_v66/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v66/methods/help_getNearestDc.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getNearestDc -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getSupport.md b/old_docs/API_docs_v66/methods/help_getSupport.md index 341949e0..8243c426 100644 --- a/old_docs/API_docs_v66/methods/help_getSupport.md +++ b/old_docs/API_docs_v66/methods/help_getSupport.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getSupport -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_getTermsOfService.md b/old_docs/API_docs_v66/methods/help_getTermsOfService.md index 14f1a976..b4bdd0fd 100644 --- a/old_docs/API_docs_v66/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help_getTermsOfService.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.getTermsOfService -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/help_saveAppLog.md b/old_docs/API_docs_v66/methods/help_saveAppLog.md index 9d114429..bc718e97 100644 --- a/old_docs/API_docs_v66/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v66/methods/help_saveAppLog.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.saveAppLog -* params - {"events":["InputAppEvent"]} +* params - {"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 e9e6279e..cad05c2e 100644 --- a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); +$Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - help.setBotUpdatesStatus -* params - {"pending_updates_count":"int","message":"string"} +* params - {"pending_updates_count": int, "message": "string", } ``` @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: ``` -Bool = help.setBotUpdatesStatus({pending_updates_count=int, message=string, }) +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 805f48d2..81159138 100644 --- a/old_docs/API_docs_v66/methods/initConnection.md +++ b/old_docs/API_docs_v66/methods/initConnection.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - initConnection -* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} +* params - {"api_id": int, "device_model": "string", "system_version": "string", "app_version": "string", "lang_code": "string", "query": !X, } ``` @@ -73,6 +73,6 @@ query - Json encoded !X Or, if you're into Lua: ``` -X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, }) +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 2516ff1d..c1bdeca4 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsg.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsg -* params - {"msg_id":"long","query":"!X"} +* params - {"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 548ca171..2519aee8 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeAfterMsgs -* params - {"msg_ids":["long"],"query":"!X"} +* params - {"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 53033697..9eec7e1b 100644 --- a/old_docs/API_docs_v66/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v66/methods/invokeWithLayer.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithLayer -* params - {"layer":"int","query":"!X"} +* params - {"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 dba78ed9..2283953f 100644 --- a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - invokeWithoutUpdates -* params - {"query":"!X"} +* params - {"query": !X, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md index f651a635..a1c459a1 100644 --- a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => 'bytes', 'key_fingerprint' => long, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.acceptEncryption -* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} +* params - {"peer": InputEncryptedChat, "g_b": "bytes", "key_fingerprint": long, } ``` @@ -67,6 +67,6 @@ key_fingerprint - Json encoded long Or, if you're into Lua: ``` -EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b=bytes, key_fingerprint=long, }) +EncryptedChat = messages.acceptEncryption({peer=InputEncryptedChat, g_b='bytes', key_fingerprint=long, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_addChatUser.md b/old_docs/API_docs_v66/methods/messages_addChatUser.md index 0773b180..4b3a4117 100644 --- a/old_docs/API_docs_v66/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_addChatUser.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.addChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} +* params - {"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 c6cc565f..737cd9ee 100644 --- a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.checkChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -ChatInvite = messages.checkChatInvite({hash=string, }) +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 9e8a99a1..a402f478 100644 --- a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.clearRecentStickers -* params - {"attached":"Bool"} +* params - {"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 081b07ad..24fdb148 100644 --- a/old_docs/API_docs_v66/methods/messages_createChat.md +++ b/old_docs/API_docs_v66/methods/messages_createChat.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.createChat -* params - {"users":["InputUser"],"title":"string"} +* params - {"users": [InputUser], "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.createChat({users={InputUser}, title=string, }) +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 611da2a7..69ae3c86 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteChatUser -* params - {"chat_id":"InputPeer","user_id":"InputUser"} +* params - {"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 4e5321c6..a7df1c35 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages_deleteHistory.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteHistory -* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} +* params - {"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 7e7b074a..f6eb9730 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages_deleteMessages.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.deleteMessages -* params - {"revoke":"Bool","id":["int"]} +* params - {"revoke": Bool, "id": [int], } ``` diff --git a/old_docs/API_docs_v66/methods/messages_discardEncryption.md b/old_docs/API_docs_v66/methods/messages_discardEncryption.md index 87cf3d3e..eac3b0a9 100644 --- a/old_docs/API_docs_v66/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_discardEncryption.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.discardEncryption -* params - {"chat_id":"int"} +* params - {"chat_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 2ad6d72c..8f9d4643 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatAdmin -* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} +* params - {"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 8e91fa23..4231b740 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatPhoto -* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} +* params - {"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 5dbf9da1..d0f4268d 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v66/methods/messages_editChatTitle.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editChatTitle -* params - {"chat_id":"InputPeer","title":"string"} +* params - {"chat_id": InputPeer, "title": "string", } ``` @@ -65,6 +65,6 @@ title - Json encoded string Or, if you're into Lua: ``` -Updates = messages.editChatTitle({chat_id=InputPeer, title=string, }) +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 4daa439f..6f487b9b 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editInlineBotMessage -* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "id": InputBotInlineMessageID, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 d405e718..1e7d29ac 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.editMessage -* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -69,7 +69,7 @@ parse_mode - string Or, if you're into Lua: ``` -Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message=string, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) +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 e01c4b0b..ae989ef2 100644 --- a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.exportChatInvite -* params - {"chat_id":"InputPeer"} +* params - {"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 9fdad7ae..1c8de423 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessage.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessage -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 f72fb809..b7ca8567 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.forwardMessages -* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} +* params - {"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 2f34348d..a7fcce1f 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages_getAllChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllChats -* params - {"except_ids":["int"]} +* params - {"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 6039321d..4707e1c2 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllDrafts -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllStickers.md b/old_docs/API_docs_v66/methods/messages_getAllStickers.md index b2f1eb71..a0335a6e 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAllStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAllStickers -* params - {"hash":"int"} +* params - {"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 a4abf13e..b1d812ad 100644 --- a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getArchivedStickers -* params - {"masks":"Bool","offset_id":"long","limit":"int"} +* params - {"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 0a2b8ff2..198085d0 100644 --- a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getAttachedStickers -* params - {"media":"InputStickeredMedia"} +* params - {"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 e61ca36e..b7927c14 100644 --- a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getBotCallbackAnswer -* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} +* params - {"game": Bool, "peer": InputPeer, "msg_id": int, "data": "bytes", } ``` @@ -69,6 +69,6 @@ data - Json encoded bytes Or, if you're into Lua: ``` -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data=bytes, }) +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 bbb8d17c..e0358500 100644 --- a/old_docs/API_docs_v66/methods/messages_getChats.md +++ b/old_docs/API_docs_v66/methods/messages_getChats.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getChats -* params - {"id":["int"]} +* params - {"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 122fbb8d..d8952d0a 100644 --- a/old_docs/API_docs_v66/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages_getCommonChats.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getCommonChats -* params - {"user_id":"InputUser","max_id":"int","limit":"int"} +* params - {"user_id": InputUser, "max_id": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDhConfig.md b/old_docs/API_docs_v66/methods/messages_getDhConfig.md index dcd89fa5..11b32fc7 100644 --- a/old_docs/API_docs_v66/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v66/methods/messages_getDhConfig.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDhConfig -* params - {"version":"int","random_length":"int"} +* params - {"version": int, "random_length": int, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index e86176a7..907398b2 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDialogs -* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} +* params - {"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 ca541c7e..852d3741 100644 --- a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getDocumentByHash -* params - {"sha256":"bytes","size":"int","mime_type":"string"} +* params - {"sha256": "bytes", "size": int, "mime_type": "string", } ``` @@ -67,6 +67,6 @@ mime_type - Json encoded string Or, if you're into Lua: ``` -Document = messages.getDocumentByHash({sha256=bytes, size=int, mime_type=string, }) +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 3bab2043..a5f3b355 100644 --- a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFeaturedStickers -* params - {"hash":"int"} +* params - {"hash": int, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_getFullChat.md b/old_docs/API_docs_v66/methods/messages_getFullChat.md index 0ed96b58..ef596859 100644 --- a/old_docs/API_docs_v66/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v66/methods/messages_getFullChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getFullChat -* params - {"chat_id":"InputPeer"} +* params - {"chat_id": InputPeer, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md index 07a25b7c..6440ad75 100644 --- a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getGameHighScores -* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} +* params - {"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 b976c6d5..17415b99 100644 --- a/old_docs/API_docs_v66/methods/messages_getHistory.md +++ b/old_docs/API_docs_v66/methods/messages_getHistory.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getHistory -* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} +* params - {"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 d3959eab..770f3ca9 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineBotResults -* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "geo_point": InputGeoPoint, "query": "string", "offset": "string", } ``` @@ -71,6 +71,6 @@ offset - Json encoded string Or, if you're into Lua: ``` -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query=string, offset=string, }) +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 218bbc33..725bdd9b 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getInlineGameHighScores -* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} +* params - {"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 8d740e32..2bf3e6d4 100644 --- a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMaskStickers -* params - {"hash":"int"} +* params - {"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 732fdff5..e5f4803e 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessageEditData -* params - {"peer":"InputPeer","id":"int"} +* params - {"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 5f2927f2..cb75c00d 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessages.md +++ b/old_docs/API_docs_v66/methods/messages_getMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessages -* params - {"id":["int"]} +* params - {"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 2f1d23c8..9af77002 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getMessagesViews -* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} +* params - {"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 bd191681..5be53954 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerDialogs -* params - {"peers":["InputPeer"]} +* params - {"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 b78406e9..fa232061 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPeerSettings -* params - {"peer":"InputPeer"} +* params - {"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 f3de7a28..f5094cf3 100644 --- a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getPinnedDialogs -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md index 1e07747d..8d56eb72 100644 --- a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getRecentStickers -* params - {"attached":"Bool","hash":"int"} +* params - {"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 a7a0cbd2..2a31af9a 100644 --- a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getSavedGifs -* params - {"hash":"int"} +* params - {"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 f03ff5fa..92c88b25 100644 --- a/old_docs/API_docs_v66/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_getStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 fd5ecd88..44ae4536 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPage.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); +$WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPage -* params - {"url":"string","hash":"int"} +* params - {"url": "string", "hash": int, } ``` @@ -65,6 +65,6 @@ hash - Json encoded int Or, if you're into Lua: ``` -WebPage = messages.getWebPage({url=string, hash=int, }) +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 021281f6..09d37461 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.getWebPagePreview -* params - {"message":"string"} +* params - {"message": "string", } ``` @@ -63,7 +63,7 @@ message - Json encoded string Or, if you're into Lua: ``` -MessageMedia = messages.getWebPagePreview({message=string, }) +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 9ddaa09c..4fa70288 100644 --- a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.hideReportSpam -* params - {"peer":"InputPeer"} +* params - {"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 7ae21250..85b17c79 100644 --- a/old_docs/API_docs_v66/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_importChatInvite.md @@ -33,7 +33,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.importChatInvite -* params - {"hash":"string"} +* params - {"hash": "string", } ``` @@ -63,6 +63,6 @@ hash - Json encoded string Or, if you're into Lua: ``` -Updates = messages.importChatInvite({hash=string, }) +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 6d1e701b..5d07e85c 100644 --- a/old_docs/API_docs_v66/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_installStickerSet.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.installStickerSet -* params - {"stickerset":"InputStickerSet","archived":"Bool"} +* params - {"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 1d8e1ca5..049ca265 100644 --- a/old_docs/API_docs_v66/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v66/methods/messages_migrateChat.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.migrateChat -* params - {"chat_id":"InputPeer"} +* params - {"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 b40fdadf..b17a83dc 100644 --- a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readEncryptedHistory -* params - {"peer":"InputEncryptedChat","max_date":"int"} +* params - {"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 5fc7a340..c0479c69 100644 --- a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readFeaturedStickers -* params - {"id":["long"]} +* params - {"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 99ce0e57..94de2e0b 100644 --- a/old_docs/API_docs_v66/methods/messages_readHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readHistory.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readHistory -* params - {"peer":"InputPeer","max_id":"int"} +* params - {"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 f5c41660..cd4bce52 100644 --- a/old_docs/API_docs_v66/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages_readMessageContents.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.readMessageContents -* params - {"id":["int"]} +* params - {"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 c411866f..6b07c32f 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v66/methods/messages_receivedMessages.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedMessages -* params - {"max_id":"int"} +* params - {"max_id": int, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_receivedQueue.md b/old_docs/API_docs_v66/methods/messages_receivedQueue.md index 04897f47..73bf2d1c 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v66/methods/messages_receivedQueue.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.receivedQueue -* params - {"max_qts":"int"} +* params - {"max_qts": int, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md index 151678b0..d1affd43 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderPinnedDialogs -* params - {"force":"Bool","order":["InputPeer"]} +* params - {"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 7ff0d995..484aea5b 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reorderStickerSets -* params - {"masks":"Bool","order":["long"]} +* params - {"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 d726392b..5a507859 100644 --- a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportEncryptedSpam -* params - {"peer":"InputEncryptedChat"} +* params - {"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 f3871cc6..47e85fa8 100644 --- a/old_docs/API_docs_v66/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportSpam.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.reportSpam -* params - {"peer":"InputPeer"} +* params - {"peer": InputPeer, } ``` diff --git a/old_docs/API_docs_v66/methods/messages_requestEncryption.md b/old_docs/API_docs_v66/methods/messages_requestEncryption.md index 457d2fc9..2a8dcdda 100644 --- a/old_docs/API_docs_v66/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_requestEncryption.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.requestEncryption -* params - {"user_id":"InputUser","g_a":"bytes"} +* params - {"user_id": InputUser, "g_a": "bytes", } ``` @@ -65,6 +65,6 @@ g_a - Json encoded bytes Or, if you're into Lua: ``` -EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a=bytes, }) +EncryptedChat = messages.requestEncryption({user_id=InputUser, g_a='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index f683ea04..21a28646 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveDraft -* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} +* params - {"no_webpage": Bool, "reply_to_msg_id": int, "peer": InputPeer, "message": "string", "entities": [MessageEntity], "parse_mode": "string"} ``` @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: ``` -Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message=string, entities={MessageEntity}, parse_mode='string', }) +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 c6a5e7ba..323d95cc 100644 --- a/old_docs/API_docs_v66/methods/messages_saveGif.md +++ b/old_docs/API_docs_v66/methods/messages_saveGif.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveGif -* params - {"id":"InputDocument","unsave":"Bool"} +* params - {"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 96f55049..7f4f1c58 100644 --- a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.saveRecentSticker -* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} +* params - {"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 a0485ebe..68558da7 100644 --- a/old_docs/API_docs_v66/methods/messages_search.md +++ b/old_docs/API_docs_v66/methods/messages_search.md @@ -40,7 +40,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -52,7 +52,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.search -* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} +* params - {"peer": InputPeer, "q": "string", "filter": MessagesFilter, "min_date": int, "max_date": int, "offset": int, "max_id": int, "limit": int, } ``` @@ -77,6 +77,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +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 24658214..73ab1db1 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages_searchGifs.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGifs -* params - {"q":"string","offset":"int"} +* params - {"q": "string", "offset": int, } ``` @@ -65,6 +65,6 @@ offset - Json encoded int Or, if you're into Lua: ``` -messages_FoundGifs = messages.searchGifs({q=string, offset=int, }) +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 0095015c..9d7f0a0c 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages_searchGlobal.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.searchGlobal -* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} +* params - {"q": "string", "offset_date": int, "offset_peer": InputPeer, "offset_id": int, "limit": int, } ``` @@ -71,6 +71,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -messages_Messages = messages.searchGlobal({q=string, offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +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 af612ccb..467cb587 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncrypted -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 db991de2..789fac97 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedFile -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} +* params - {"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 083577f2..c33449a2 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendEncryptedService -* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} +* params - {"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 c747e54b..243de55d 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendInlineBotResult -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} +* params - {"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "query_id": long, "id": "string", } ``` @@ -75,6 +75,6 @@ id - Json encoded string Or, if you're into Lua: ``` -Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id=string, }) +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 05464ad5..5cad51ce 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v66/methods/messages_sendMedia.md @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMedia -* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} +* params - {"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 6cc234c3..3a84aa54 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -42,7 +42,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->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', ]); +$Updates = $MadelineProto->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', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -54,7 +54,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.sendMessage -* params - {"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"} +* params - {"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"} ``` @@ -72,7 +72,7 @@ parse_mode - string Or, if you're into 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', }) +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 6356d86b..223137c2 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md @@ -37,7 +37,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotCallbackAnswer -* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} +* params - {"alert": Bool, "query_id": long, "message": "string", "url": "string", "cache_time": int, } ``` @@ -71,7 +71,7 @@ cache_time - Json encoded int Or, if you're into Lua: ``` -Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message=string, url=string, cache_time=int, }) +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 b9393981..6835be0c 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); +$Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotPrecheckoutResults -* params - {"success":"Bool","query_id":"long","error":"string"} +* params - {"success": Bool, "query_id": long, "error": "string", } ``` @@ -67,6 +67,6 @@ error - Json encoded string Or, if you're into Lua: ``` -Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error=string, }) +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 1ddd01b3..4c67e34d 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); +$Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption], ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setBotShippingResults -* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} +* params - {"query_id": long, "error": "string", "shipping_options": [ShippingOption], } ``` @@ -67,6 +67,6 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: ``` -Bool = messages.setBotShippingResults({query_id=long, error=string, shipping_options={ShippingOption}, }) +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 dc934d24..a309ee1f 100644 --- a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setEncryptedTyping -* params - {"peer":"InputEncryptedChat","typing":"Bool"} +* params - {"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 64a2feea..e67c85f8 100644 --- a/old_docs/API_docs_v66/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setGameScore.md @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setGameScore -* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} +* params - {"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 5a2b1da0..3aaff863 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md @@ -39,7 +39,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -51,7 +51,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineBotResults -* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} +* params - {"gallery": Bool, "private": Bool, "query_id": long, "results": [InputBotInlineResult], "cache_time": int, "next_offset": "string", "switch_pm": InlineBotSwitchPM, } ``` @@ -75,6 +75,6 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: ``` -Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset=string, switch_pm=InlineBotSwitchPM, }) +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 df93e25a..16173a31 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setInlineGameScore -* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} +* params - {"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 30e72281..e1eeb957 100644 --- a/old_docs/API_docs_v66/methods/messages_setTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setTyping.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.setTyping -* params - {"peer":"InputPeer","action":"SendMessageAction"} +* params - {"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 93229d34..c8f87b85 100644 --- a/old_docs/API_docs_v66/methods/messages_startBot.md +++ b/old_docs/API_docs_v66/methods/messages_startBot.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.startBot -* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} +* params - {"bot": InputUser, "peer": InputPeer, "start_param": "string", } ``` @@ -67,6 +67,6 @@ start_param - Json encoded string Or, if you're into Lua: ``` -Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param=string, }) +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 2edb160a..130ca406 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleChatAdmins -* params - {"chat_id":"InputPeer","enabled":"Bool"} +* params - {"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 d86a96ae..2b9d2716 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.toggleDialogPin -* params - {"pinned":"Bool","peer":"InputPeer"} +* params - {"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 b6037ba0..b737083e 100644 --- a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - messages.uninstallStickerSet -* params - {"stickerset":"InputStickerSet"} +* params - {"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 4da0da7c..ee0df78b 100644 --- a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.clearSavedInfo -* params - {"credentials":"Bool","info":"Bool"} +* params - {"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 8c495ca5..af6b58f2 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentForm -* params - {"msg_id":"int"} +* params - {"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 81b4e790..17f93c5e 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getPaymentReceipt -* params - {"msg_id":"int"} +* params - {"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 e53a85db..6d1e9f34 100644 --- a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.getSavedInfo -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md index f5e555ed..30e85605 100644 --- a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); +$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.sendPaymentForm -* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} +* params - {"msg_id": int, "requested_info_id": "string", "shipping_option_id": "string", "credentials": InputPaymentCredentials, } ``` @@ -69,6 +69,6 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: ``` -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id=string, shipping_option_id=string, credentials=InputPaymentCredentials, }) +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 96b7ec3a..b5ceec48 100644 --- a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - payments.validateRequestedInfo -* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} +* params - {"save": Bool, "msg_id": int, "info": PaymentRequestedInfo, } ``` diff --git a/old_docs/API_docs_v66/methods/phone_acceptCall.md b/old_docs/API_docs_v66/methods/phone_acceptCall.md index cad5c1d9..3ca0b4b1 100644 --- a/old_docs/API_docs_v66/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v66/methods/phone_acceptCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.acceptCall -* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_b": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_confirmCall.md b/old_docs/API_docs_v66/methods/phone_confirmCall.md index 64063a6f..d9c470c0 100644 --- a/old_docs/API_docs_v66/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v66/methods/phone_confirmCall.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.confirmCall -* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} +* params - {"peer": InputPhoneCall, "g_a": "bytes", "key_fingerprint": long, "protocol": PhoneCallProtocol, } ``` @@ -69,6 +69,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a=bytes, key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_discardCall.md b/old_docs/API_docs_v66/methods/phone_discardCall.md index 7c5b494c..4aac2cc7 100644 --- a/old_docs/API_docs_v66/methods/phone_discardCall.md +++ b/old_docs/API_docs_v66/methods/phone_discardCall.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.discardCall -* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} +* params - {"peer": InputPhoneCall, "duration": int, "reason": PhoneCallDiscardReason, "connection_id": long, } ``` diff --git a/old_docs/API_docs_v66/methods/phone_getCallConfig.md b/old_docs/API_docs_v66/methods/phone_getCallConfig.md index 36ba68f6..d66d52a5 100644 --- a/old_docs/API_docs_v66/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v66/methods/phone_getCallConfig.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.getCallConfig -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/phone_receivedCall.md b/old_docs/API_docs_v66/methods/phone_receivedCall.md index e4ba0536..c2e1cd51 100644 --- a/old_docs/API_docs_v66/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v66/methods/phone_receivedCall.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.receivedCall -* params - {"peer":"InputPhoneCall"} +* params - {"peer": InputPhoneCall, } ``` diff --git a/old_docs/API_docs_v66/methods/phone_requestCall.md b/old_docs/API_docs_v66/methods/phone_requestCall.md index c84084ca..f6bba65c 100644 --- a/old_docs/API_docs_v66/methods/phone_requestCall.md +++ b/old_docs/API_docs_v66/methods/phone_requestCall.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); +$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.requestCall -* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +* params - {"user_id": InputUser, "g_a_hash": "bytes", "protocol": PhoneCallProtocol, } ``` @@ -67,6 +67,6 @@ protocol - Json encoded PhoneCallProtocol Or, if you're into Lua: ``` -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash=bytes, protocol=PhoneCallProtocol, }) +phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md index b301968f..42b0d419 100644 --- a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.saveCallDebug -* params - {"peer":"InputPhoneCall","debug":"DataJSON"} +* params - {"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 82dd9d5e..bed3b703 100644 --- a/old_docs/API_docs_v66/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v66/methods/phone_setCallRating.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); +$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - phone.setCallRating -* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} +* params - {"peer": InputPhoneCall, "rating": int, "comment": "string", } ``` @@ -67,6 +67,6 @@ comment - Json encoded string Or, if you're into Lua: ``` -Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment=string, }) +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 261eaa4d..8a37b229 100644 --- a/old_docs/API_docs_v66/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v66/methods/photos_deletePhotos.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.deletePhotos -* params - {"id":["InputPhoto"]} +* params - {"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 e5dd2341..1531d3db 100644 --- a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.getUserPhotos -* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} +* params - {"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 63f2ae84..6b472abd 100644 --- a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.updateProfilePhoto -* params - {"id":"InputPhoto"} +* params - {"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 408a631f..a85311f1 100644 --- a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - photos.uploadProfilePhoto -* params - {"file":"InputFile"} +* params - {"file": InputFile, } ``` diff --git a/old_docs/API_docs_v66/methods/ping.md b/old_docs/API_docs_v66/methods/ping.md index 89f77caa..3d4bdf41 100644 --- a/old_docs/API_docs_v66/methods/ping.md +++ b/old_docs/API_docs_v66/methods/ping.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping -* params - {"ping_id":"long"} +* params - {"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 ede5fe98..939276f1 100644 --- a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - ping_delay_disconnect -* params - {"ping_id":"long","disconnect_delay":"int"} +* params - {"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 b2e16150..fc8718ad 100644 --- a/old_docs/API_docs_v66/methods/req_DH_params.md +++ b/old_docs/API_docs_v66/methods/req_DH_params.md @@ -38,7 +38,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); +$Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_DH_params -* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "p": "string", "q": "string", "public_key_fingerprint": long, "encrypted_data": "string", } ``` @@ -73,6 +73,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p=string, q=string, public_key_fingerprint=long, encrypted_data=string, }) +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 7a9b2f2c..a0bb7518 100644 --- a/old_docs/API_docs_v66/methods/req_pq.md +++ b/old_docs/API_docs_v66/methods/req_pq.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - req_pq -* params - {"nonce":"int128"} +* params - {"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 8fc7854d..30d13e3c 100644 --- a/old_docs/API_docs_v66/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v66/methods/rpc_drop_answer.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - rpc_drop_answer -* params - {"req_msg_id":"long"} +* params - {"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 26fb4dc2..b2852e6f 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 @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); +$Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - set_client_DH_params -* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} +* params - {"nonce": int128, "server_nonce": int128, "encrypted_data": "string", } ``` @@ -67,6 +67,6 @@ encrypted_data - Json encoded string Or, if you're into Lua: ``` -Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data=string, }) +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/updates_getChannelDifference.md b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md index 81a25d86..5ea1d5b8 100644 --- a/old_docs/API_docs_v66/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md @@ -49,7 +49,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getChannelDifference -* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} +* params - {"force": Bool, "channel": InputChannel, "filter": ChannelMessagesFilter, "pts": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v66/methods/updates_getDifference.md b/old_docs/API_docs_v66/methods/updates_getDifference.md index 7d23893b..c88bf3d9 100644 --- a/old_docs/API_docs_v66/methods/updates_getDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getDifference.md @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getDifference -* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} +* params - {"pts": int, "pts_total_limit": int, "date": int, "qts": int, } ``` diff --git a/old_docs/API_docs_v66/methods/updates_getState.md b/old_docs/API_docs_v66/methods/updates_getState.md index 213907f2..6647ad2b 100644 --- a/old_docs/API_docs_v66/methods/updates_getState.md +++ b/old_docs/API_docs_v66/methods/updates_getState.md @@ -40,7 +40,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - updates.getState -* params - +* params - {} ``` diff --git a/old_docs/API_docs_v66/methods/upload_getCdnFile.md b/old_docs/API_docs_v66/methods/upload_getCdnFile.md index f0286761..be47c7c2 100644 --- a/old_docs/API_docs_v66/methods/upload_getCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_getCdnFile.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => bytes, 'offset' => int, 'limit' => int, ]); +$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getCdnFile -* params - {"file_token":"bytes","offset":"int","limit":"int"} +* params - {"file_token": "bytes", "offset": int, "limit": int, } ``` @@ -67,6 +67,6 @@ limit - Json encoded int Or, if you're into Lua: ``` -upload_CdnFile = upload.getCdnFile({file_token=bytes, offset=int, limit=int, }) +upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/upload_getFile.md b/old_docs/API_docs_v66/methods/upload_getFile.md index 73f89e1a..f711d29f 100644 --- a/old_docs/API_docs_v66/methods/upload_getFile.md +++ b/old_docs/API_docs_v66/methods/upload_getFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getFile -* params - {"location":"InputFileLocation","offset":"int","limit":"int"} +* params - {"location": InputFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v66/methods/upload_getWebFile.md b/old_docs/API_docs_v66/methods/upload_getWebFile.md index 4206040a..35f15299 100644 --- a/old_docs/API_docs_v66/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload_getWebFile.md @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.getWebFile -* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} +* params - {"location": InputWebFileLocation, "offset": int, "limit": int, } ``` diff --git a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md index 82ba79fe..c64e7d51 100644 --- a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md @@ -34,7 +34,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => bytes, 'request_token' => bytes, ]); +$Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => 'bytes', 'request_token' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -46,7 +46,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.reuploadCdnFile -* params - {"file_token":"bytes","request_token":"bytes"} +* params - {"file_token": "bytes", "request_token": "bytes", } ``` @@ -65,6 +65,6 @@ request_token - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.reuploadCdnFile({file_token=bytes, request_token=bytes, }) +Bool = upload.reuploadCdnFile({file_token='bytes', request_token='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md index 8915d590..4a558745 100644 --- a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md @@ -36,7 +36,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -48,7 +48,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveBigFilePart -* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "file_total_parts": int, "bytes": "bytes", } ``` @@ -69,6 +69,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes=bytes, }) +Bool = upload.saveBigFilePart({file_id=long, file_part=int, file_total_parts=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/upload_saveFilePart.md b/old_docs/API_docs_v66/methods/upload_saveFilePart.md index c8dab377..ea00f2bd 100644 --- a/old_docs/API_docs_v66/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveFilePart.md @@ -35,7 +35,7 @@ if (isset($number)) { // Login as a user $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => 'bytes', ]); ``` Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): @@ -47,7 +47,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - upload.saveFilePart -* params - {"file_id":"long","file_part":"int","bytes":"bytes"} +* params - {"file_id": long, "file_part": int, "bytes": "bytes", } ``` @@ -67,6 +67,6 @@ bytes - Json encoded bytes Or, if you're into Lua: ``` -Bool = upload.saveFilePart({file_id=long, file_part=int, bytes=bytes, }) +Bool = upload.saveFilePart({file_id=long, file_part=int, bytes='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/users_getFullUser.md b/old_docs/API_docs_v66/methods/users_getFullUser.md index ea04da06..21fe637f 100644 --- a/old_docs/API_docs_v66/methods/users_getFullUser.md +++ b/old_docs/API_docs_v66/methods/users_getFullUser.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getFullUser -* params - {"id":"InputUser"} +* params - {"id": InputUser, } ``` diff --git a/old_docs/API_docs_v66/methods/users_getUsers.md b/old_docs/API_docs_v66/methods/users_getUsers.md index ba255062..cdadc12e 100644 --- a/old_docs/API_docs_v66/methods/users_getUsers.md +++ b/old_docs/API_docs_v66/methods/users_getUsers.md @@ -45,7 +45,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - users.getUsers -* params - {"id":["InputUser"]} +* params - {"id": [InputUser], } ``` diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 60f6d5e6..0a79c090 100644 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -128,7 +128,7 @@ description: '.$this->settings['description'].' $params = ''; $lua_params = ''; $pwr_params = ''; - $json_params = []; + $json_params = ''; $table = empty($this->methods->params[$key]) ? '' : '### Parameters: | Name | Type | Required | @@ -169,12 +169,15 @@ description: '.$this->settings['description'].' } $table .= PHP_EOL; + $pptype = in_array($ptype, ['string', 'bytes']) ? "'".$ptype."'" : $ptype; + $ppptype = in_array($ptype, ['string', 'bytes']) ? '"'.$ptype.'"' : $ptype; + $params .= "'".$param['name']."' => "; - $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; - $json_params[$param['name']] = isset($param['subtype']) ? [$ptype] : $ptype; + $params .= (isset($param['subtype']) ? '['.$pptype.']' : $pptype).', '; + $json_params .= '"'.$param['name'].'": '.(isset($param['subtype']) ? '['.$ppptype.']' : $ppptype).', '; $pwr_params .= $param['name'].' - Json encoded '.(isset($param['subtype']) ? ' array of '.$ptype : $ptype)."\n"; $lua_params .= $param['name'].'='; - $lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', '; + $lua_params .= (isset($param['subtype']) ? '{'.$pptype.'}' : $pptype).', '; if ($param['name'] === 'reply_markup') { $hasreplymarkup = true; } @@ -187,7 +190,7 @@ description: '.$this->settings['description'].' '; $params .= "'parse_mode' => 'string', "; $lua_params .= "parse_mode='string', "; - $json_params['parse_mode'] = 'string'; + $json_params .= '"parse_mode": "string"'; $pwr_params = "parse_mode - string\n"; } } @@ -244,7 +247,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` Parameters: * method - '.$rmethod.' -* params - '.json_encode($json_params).' +* params - {'.$json_params.'} ``` @@ -432,7 +435,7 @@ description: List of methods $params = ''; $lua_params = ''; - $pwr_params = ['_' => $rconstructor]; + $pwr_params = ''; $hasreplymarkup = false; foreach ($this->constructors->params[$key] as $param) { if (in_array($param['name'], ['flags', 'random_id', 'random_bytes'])) { @@ -464,17 +467,21 @@ description: List of methods } $table .= PHP_EOL; - $params .= "'".$param['name']."' => "; - $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; - $lua_params .= $param['name'].'='; - $lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', '; - $pwr_params[$param['name']] = isset($param['subtype']) ? [$ptype] : $ptype; + $pptype = in_array($ptype, ['string', 'bytes']) ? "'".$ptype."'" : $ptype; + $ppptype = in_array($ptype, ['string', 'bytes']) ? '"'.$ptype.'"' : $ptype; + + $params .= ", '".$param['name']."' => "; + $params .= (isset($param['subtype']) ? '['.$pptype.']' : $pptype); + $lua_params .= ', '.$param['name'].'='; + $lua_params .= (isset($param['subtype']) ? '{'.$pptype.'}' : $pptype); + $pwr_params .= ', "'.$param['name'].'": '.(isset($param['subtype']) ? '['.$ppptype.']' : $ppptype); if ($param['name'] === 'reply_markup') { $hasreplymarkup = true; } } - $params = "['_' => '".$rconstructor."', ".$params.']'; - $lua_params = "{_='".$rconstructor."', ".$lua_params.'}'; + $params = "['_' => '".$rconstructor."'".$params.']'; + $lua_params = "{_='".$rconstructor."'".$lua_params.'}'; + $pwr_params = '{"_": "'.$rconstructor.'"'.$pwr_params.'}'; $description = isset($this->td_descriptions['constructors'][$rconstructor]) ? $this->td_descriptions['constructors'][$rconstructor]['description'] : ($constructor.' attributes, type and example'); $header = '--- title: '.$rconstructor.' @@ -507,7 +514,7 @@ $'.$constructor.$layer.' = '.$params.'; [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` -'.json_encode($pwr_params).' +'.$pwr_params.' ```